Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

放送作成機能(Desktop-22) #45

Closed
miyasan31 opened this issue Nov 7, 2021 · 1 comment · Fixed by #64
Closed

放送作成機能(Desktop-22) #45

miyasan31 opened this issue Nov 7, 2021 · 1 comment · Fixed by #64
Assignees
Labels
enhancement New feature or request

Comments

@miyasan31
Copy link
Contributor

なぜこの変更が必要なのか(必須)

  • 管理者が放送を作成できるようにするため

どうやって実装するのか(必須)

  • react-hook-formを使って入力のステート管理を行う
  • 送信はPOSTリクエスト

リクエストはswrで実行するかも? vercel/swr#93

作業が競合しそうな issue

@miyasan31 miyasan31 added the enhancement New feature or request label Nov 7, 2021
@miyasan31 miyasan31 added this to the スプリント3 milestone Nov 7, 2021
@aopontann
Copy link
Contributor

バックエンド側の仕様を変更するため、このタスクは一旦保留させてください。

@aopontann aopontann self-assigned this Nov 25, 2021
aopontann added a commit that referenced this issue Nov 25, 2021
放送を作成リスクエスト処理を実装。
リクエスト結果のステータスコードを返すようにした。
ステータスコードが400, 500番台の場合エラーを返すようにした。
aopontann added a commit that referenced this issue Nov 25, 2021
aopontann added a commit that referenced this issue Nov 25, 2021
そのままステータスコードを返すようにした
aopontann added a commit that referenced this issue Nov 25, 2021
リクエスト結果はReact-hot-toastを使って表示するようにした。
aopontann added a commit that referenced this issue Nov 25, 2021
aopontann added a commit that referenced this issue Dec 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants