Revoke key and unpublish everything dialogs report failures without the shared dialog error
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 72/100
- issue の種類
- リファクタリング
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- nextjs, react, typescript
調査の方向性
まず src/components/dialog-error.tsx(#323 でマージ済み)と、それがすでに移行したダイアログの 1 つを読み、assertive な live region とフォーカス移動のパターンを確認します。次に、RevokeConfirmation(src/app/w/[workspace]/settings/api-keys.tsx)での ErrorSummary の使用と、UnpublishEverythingConfirmation(src/components/public-metrics/publication-controls.tsx)での Failure の使用を DialogError に置き換え、ダイアログ以外の呼び出し元はそのままにします。完了の状態は、e2e/fixtures/dialogs.ts の expectFailureInDialog を介して検証する両方の e2e spec が通り、成功パスは変更されておらず、両方のダイアログでクリーンな axe スキャンとキーボード操作の確認が済んでいることです。
索引モデルが issue の本文から書いたものです。
説明
Summary
Two more confirmation dialogs report a failure inside the dialog, but each in its own way and neither meets the Accessibility rule for errors (assertive live region plus focus moved to the error):
- Revoke API key (
src/app/w/[workspace]/settings/api-keys.tsx,RevokeConfirmationusesErrorSummary): focuses the error but has no live region. - Unpublish everything (
src/components/public-metrics/publication-controls.tsx,UnpublishEverythingConfirmationusesFailure): assertive region, but focus stays on the confirm button.
#323 adds DialogError (src/components/dialog-error.tsx) as the one pattern for a failed confirmation inside a <dialog> and moves the Disconnect and Delete dialogs onto it. These two were left out of #323 because they are neither Disconnect nor Delete and their errors are not hidden behind the modal.
Scope
- Render the failure of both dialogs with
DialogError.ErrorSummaryandFailurestay for the non-dialog forms that use them.
Acceptance criteria
- A failed revoke and a failed unpublish everything show the error inside the open dialog, in the assertive region, with focus on it (e2e with the failure forced, using
expectFailureInDialogfrome2e/fixtures/dialogs.ts). - Success paths unchanged.
- axe scan and a keyboard pass on both dialogs.
Found while working on #323.
Model: anthropic/claude-opus-5-5 | Reasoning effort: low
- 主要言語
- TypeScript
- スター
- 1
- フォーク
- 1
- 平均マージ
- 6時間 56分
- マージ済み PR(30日)
- 136
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
eddiejaoude/StackDash のほかの issue
-
area: docs documentation priority: P3 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
eddiejaoude/StackDash#462 ·
メンテナーはふだん 1 日以内に返信
-
area: web bug priority: P3 size: XS
難易度 1/5 1〜3時間 初心者へのやさしさ 85/100
eddiejaoude/StackDash#432 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
area: database bug priority: P3 size: S
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
eddiejaoude/StackDash#419 ·
メンテナーはふだん 1 日以内に返信
-
area: docs bug priority: P2 size: XS
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
eddiejaoude/StackDash#418 ·
メンテナーはふだん 1 日以内に返信
-
accessibility area: timeline bug priority: P3 size: XS
難易度 2/5 1〜3時間 初心者へのやさしさ 80/100
eddiejaoude/StackDash#389 ·
メンテナーはふだん 1 日以内に返信
eddiejaoude/StackDash の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
open-webui/tether#52 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
voidzero-dev/void#835 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
AykutSarac/jsoncrack.com#616 ·
-
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
melgarafael/DeskcommCRM#4679 ·
メンテナーはふだん 1 日以内に返信