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

質問の新規作成時にメッセージをヘッダでなく更新ボタンの下に表示する #6542

Conversation

ogawa-tomo
Copy link
Contributor

@ogawa-tomo ogawa-tomo commented May 21, 2023

Issue

概要

・質問の作成フローにおいては画面上部のフラッシュメッセージは使用せず、「内容変更」ボタン下部(Vueコンポーネント内)にメッセージを表示するよう統一
・変数名のリファクタ

変更確認方法

  1. bug/delete-flash-message-when-question-create-through-wipをローカルに取り込む

質問を新規作成してWIPとして保存しそのまま公開するとき

1. 質問作成ページ/questions/newで質問を適当に作成し、「WIP」をクリック

修正前: 「質問をWIPとして保存しました。」のメッセージが画面上部に表示される
image

修正後: 「質問をWIPとして保存しました。」のメッセージが「内容修正」ボタンの下部に表示される
image

2. そのまま「内容修正」→「質問を公開」をクリック

修正前: 「質問を更新しました。」のメッセージが「内容修正」ボタンの下部に表示されるが、「質問をWIPとして保存しました。」のメッセージが画面上部に表示されたままとなっている
image

修正後: 「質問を更新しました。」のメッセージが「内容修正」ボタンの下部に表示される
image

質問を新規作成してそのまま公開するとき

質問作成ページ/questions/newで質問を適当に作成し、「登録する」をクリック

修正前: 「質問を作成しました。」のメッセージが画面上部に表示される
image
修正後: 「質問を作成しました。」のメッセージが「内容修正」ボタンの下部に表示される
image

Screenshot

変更前

変更後

@ogawa-tomo ogawa-tomo force-pushed the bug/delete-flash-message-when-question-create-through-wip branch from 9db2505 to c76249c Compare May 21, 2023 11:10
@ogawa-tomo ogawa-tomo force-pushed the bug/delete-flash-message-when-question-create-through-wip branch from c76249c to af110e1 Compare May 21, 2023 11:24
@ogawa-tomo
Copy link
Contributor Author

方針を変更したのでクローズ
#6517 (comment)

@ogawa-tomo ogawa-tomo closed this May 30, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant