Repository navigation
今後表示しない操作をチェックボックス化してダイアログの見切れを防止 - #6553
Merged
Merged
Conversation
Contributor
📝 WalkthroughWalkthroughダイアログにチェックボックス表示と状態管理を追加しました。チェック状態はリクエスト単位で保持します。終了アニメーション後にチェック操作と確定操作を実行します。既存の通知ダイアログをチェックボックス形式へ変更し、関連テストを追加しました。 Changesダイアログチェックボックス
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related PRs
Sequence Diagram(s)sequenceDiagram
participant User
participant CommonDialogPresenter
participant dialogPresentation
participant DialogModalLayout
User->>DialogModalLayout: チェックボックスを押す
DialogModalLayout->>CommonDialogPresenter: checked 値を通知する
User->>CommonDialogPresenter: OKを押す
CommonDialogPresenter->>dialogPresentation: checkedButtonIndex を渡して終了する
dialogPresentation->>dialogPresentation: 終了アニメーションを完了する
dialogPresentation->>dialogPresentation: チェック操作と確定操作を実行する
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
概要
共通ダイアログの「今後表示しない」をアクションボタンではなくチェックボックスとして表示し、狭い画面でボタンがモーダル外へ見切れる問題を修正します。あわせて左上アイコンとタイトルの間隔を詰めます。
変更の種類
変更内容
テスト
npm run lintが通ることnpm testが通ることnpm run typecheckが通ること全Jest: 207 suites / 2190 tests passed。
最新の余白調整後に関連3 suites / 5 tests、lint、typecheckを再実行済み。
関連Issue
なし
スクリーンショット(任意)
修正前の見切れはユーザー提供スクリーンショットで確認。修正後の実機スクリーンショットは未添付。