kriasoft/react-firebase-starter

Add sendMessage() mutation

オープン

#371 opened on 2019/09/12

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (773 件のフォーク)batch import
enhancementgood first issuehelp wanted

Repository metrics

Stars
 (4,475 個のスター)
PR merge metrics
 (PR metrics pending)

説明

Add a GraphQL mutation that will be used on the Contact Us page and Send Feedback modal dialog. For example:

mutation {
  sendMessage(input: { type: FEEDBACK, message: "Hello world!", email: "user@example.com" })
}

See

  • src/mutations/SendMessage.js
  • src/server/mutations/contact.js

Bonus points for making it work with Firebase reCaptcha.

コントリビューターガイド