2.2 KiB
2.2 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec | |
|---|---|---|---|---|---|---|---|
| 10-frontend-lifecycle-feedback | Frontend lifecycle feedback | done | 6 |
|
plan.md | ../../specs/ui/requirements/ci-pr-automation.md |
Task 10: Frontend lifecycle feedback
Acceptance
- The shared automation controls label the switch
Your review is requested, explain that new requests include both initial review and re-review, group the separate merged/closed switches under their shared value, and do not expose lifecycle prompt editing. - The selected linked PR's non-empty
last_errorrenders as a compact, accessible error row shared by the desktop popover and mobile drawer. - GitHub Review Watch cleanup copy explains that Auto retains tasks with user engagement or enabled lifecycle prompts and that Always delete overrides retention.
Verification
cd apps && pnpm --filter @kandev/web test -- pr-ci-popover.automation.test.tsx review-watch-dialog.test.tsx
cd apps/web && pnpm run typecheck
Files likely touched
apps/web/components/github/pr-ci-automation-controls.tsxapps/web/components/github/pr-ci-popover.automation.test.tsxapps/web/components/github/review-watch-dialog.tsxapps/web/components/github/review-watch-dialog.test.tsx- This task file
Dependencies
- Task 08 and the approved lifecycle requirements in the spec.
Inputs
- Spec: lifecycle UI behaviors, failure modes, scenarios, and out-of-scope prompt editors.
- Plan:
Lifecycle labels, errors, and cleanup copyplus the mobile design contract. - Existing patterns:
CIAutomationErrorRow,findCIAutomationStateForPR,PRStatusChipDrawer, andCLEANUP_POLICY_OPTIONS.
Constraints
- Use TDD and
@kandev/uiprimitives. - Reuse
PRCIAutomationControls; do not fork desktop/mobile business logic. - Do not add a lifecycle prompt editor, nested scroll owner, or new mobile overlay.
- Preserve the existing auto-fix prompt editor.
- Do not edit
plan.md; update only this task file's status.
Output contract
- Summary of behavior and mobile-parity result.
- Files changed.
- Tests/typecheck run with exact results.
- Blockers, divergence, and follow-up risks.
- Set this task file to
doneonly after acceptance and targeted verification pass.