Skip to content

feat(web): add change request quick actions - #310

Merged
version-1 merged 3 commits into
mainfrom
feat/change-request-shortcuts
Aug 14, 2026
Merged

feat(web): add change request quick actions#310
version-1 merged 3 commits into
mainfrom
feat/change-request-shortcuts

Conversation

@version-1

Copy link
Copy Markdown
Owner

Web UI に change request ショートカットを追加

Summary

Continue with comment と Reject で定型の agent 指示を即時送信できるようにします。自由入力の既存フローは維持し、将来カスタムショートカットを追加できるよう表示名と送信本文を分離した定義にしています。

主な変更点:

  • Continue with comment メニューに Write a comment…Ok を追加
  • Reject を split button にし、Fix CI & Conflict を即時送信可能に変更
  • Continue に Retry、sidebar に status 別 Quick Action を追加
  • change request 作成後の status 更新失敗を、本文の二重送信なしで復旧

やったこと

  • 組み込みショートカットの型と定義を feature 層へ追加
  • Reject 用の split button、メニュー、loading/disabled 状態を実装
  • Reject を赤背景の白文字にし、Done と同じ control size に統一
  • Sidebar の Quick Action を backlog→Ready、ready→Draft、review→Done/Reject で表示
  • issue card、issue detail、layout の送信フローを接続
  • 部分失敗時に送信済み状態でダイアログを開く復旧処理を追加
  • Storybook、操作テスト、英語・日本語の UI 設計文書を更新

動作確認

  • npm test(24 files / 142 tests)
  • npm run typecheck
  • npm run build
  • git diff --check

レビュー & 動作確認 チェックリスト

  • Continue shortcut - Ok がダイアログなしで送信され、issue が ready へ移ること
  • Reject split button - 主ボタンが自由入力ダイアログ、chevron がショートカットメニューを開くこと
  • Partial failure recovery - change request 作成後の status 更新失敗で、再試行時に本文が二重作成されないこと

推奨テスト計画:

  1. blocked issue の最新 blocker comment から Ok を選択する
  2. review issue の Reject chevron から Fix CI & Conflict を選択する
  3. Reject 主ボタンと各メニューの Write a comment… で従来の自由入力を確認する

その他気になることや相談ごと

カスタムショートカットの永続化・設定 UI は今回のスコープ外です。

Add configurable built-in shortcuts for continue and reject actions. Use a split reject action, preserve free-text dialogs, and recover status-update failures without creating duplicate requests. Cover the new interactions with tests and document the UI pattern.
Add Retry and status-specific sidebar quick actions, align Reject styling with card actions, and prevent duplicate continue submissions. Separate refresh failures from status recovery and keep submitted request bodies read-only during retry.
Give card, sidebar, and Reject split-button actions the same fixed control height and horizontal-only padding so text and icon segments align consistently.
@version-1
version-1 merged commit 49f77d7 into main Aug 14, 2026
5 checks passed
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.

1 participant