Repository navigation
バリデーショントーストの表示を制御できるようにする - #16
Merged
Merged
Conversation
kanchi-Matsumoto
marked this pull request as ready for review
August 8, 2026 15:41
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.
概要
利用側で独自のエラー表示を行う場合に、ライブラリ内蔵のバリデーショントーストを非表示にできるようにします。
SpreadSheetTableにshowValidationToastプロパティを追加し、falseを指定した場合は内蔵トーストだけを非表示にします。トーストを非表示にしても、
onRowChangeRejectedによる拒否理由の通知は継続します。確認用画面名/URL
確認用画面なし(公開APIとコンポーネントテストの変更)
デザイン、仕様等の資料
openspec/changes/add-validation-toast-control/動作/表示確認済み
確認用画面がないため、ブラウザでの手動確認は実施していません。
既定表示、トーストの非表示、拒否通知の継続、非表示中のエラーが再表示されないことをコンポーネントテストで確認しています。
実装内容についての補足
showValidationToastの既定値はtrueとし、既存の表示動作を維持します。showValidationToast={false}の場合は内蔵トーストを非表示にします。このブランチで対応しないこと
showValidationToast={false}の指定迷ったこと/相談したいこと
なし
その他の変更内容
Test plan
pnpm typecheckpnpm test(218 tests)pnpm lintpnpm buildPR作成後確認事項
mainになっている