feat/sprint-i24za93y #23

Closed
janpeter wants to merge 7 commits from feat/sprint-i24za93y into main
Owner
No description provided.
Extends ideaUpdateSchema with optional status enum derived from
IDEA_STATUS_API_VALUES (single source of truth) via .extend() rather
than keeping it as a plain .partial() of ideaCreateSchema.
Map API→DB via ideaStatusFromApi, validate with canTransition before
prisma.idea.update, and return 422 on invalid or unknown transitions.
Adds Vitest coverage for happy path, invalid transition, and unknown status.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Borg happy + edge-paden: PLAN_FAILED→GRILLED, PLAN_READY→DRAFT (invalid),
unknown status string, en GRILL_FAILED→DRAFT (status-only update).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Popover component for failed idea states (grill_failed, plan_failed,
plan_review_failed) with recovery-transition options, pending indicator,
and demo mode guard.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Also fixes pending-label lookup: RECOVERY is keyed by failed status but
pendingStatus holds the recovery target; reverse lookup by target value
to display the correct label (e.g. pendingStatus='draft' → 'Terug naar
Concept (DRAFT)').

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Adds optional showStatusPicker, pendingStatus, and onPendingStatusChange
props; when showStatusPicker=true renders IdeaStatusPicker instead of
the ArrowRight navigation button.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
feat(ideas): lift pendingStatus state in IdeaDetailLayout + deferred save in IdeaFormSection
All checks were successful
CI / Lint, Typecheck, Test & Build (pull_request) Successful in 2m55s
CI / Deploy Manual (workflow_dispatch) (pull_request) Has been skipped
CI / Detect deploy-relevant changes (pull_request) Has been skipped
CI / Deploy Preview (PR) (pull_request) Has been skipped
CI / Deploy Production (main) (pull_request) Has been skipped
18b6fe5f1c
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
janpeter closed this pull request 2026-05-19 18:59:52 +02:00
All checks were successful
CI / Lint, Typecheck, Test & Build (pull_request) Successful in 2m55s
CI / Deploy Manual (workflow_dispatch) (pull_request) Has been skipped
CI / Detect deploy-relevant changes (pull_request) Has been skipped
CI / Deploy Preview (PR) (pull_request) Has been skipped
CI / Deploy Production (main) (pull_request) Has been skipped

Pull request closed

Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
janpeter/Scrum4Me!23
No description provided.