Submit page actions from the preview pane (U5) #56

Merged
weichen merged 1 commits from feature/generative-ui-u5 into main 2026-10-11 14:24:05 +00:00
Owner

Why: Close the U5 interactive loop - action clicks carry user drafts only at submit time, idempotent request build, in-flight guard, outcome toasts.

Evidence: tsc clean; vitest 95/95 incl. request-shape test; knip unchanged.

Impact: Frontend-only.

Refs: U5 action-scope r2; UI #46/#47; Dev task feature/generative-ui-u5

Why: Close the U5 interactive loop - action clicks carry user drafts only at submit time, idempotent request build, in-flight guard, outcome toasts. Evidence: tsc clean; vitest 95/95 incl. request-shape test; knip unchanged. Impact: Frontend-only. Refs: U5 action-scope r2; UI #46/#47; Dev task feature/generative-ui-u5
weichen added 1 commit 2026-10-11 14:24:02 +00:00
Why: U5 closes the interactive loop - the surface view's action click
carries the user's typed drafts (and nothing else - unsubmitted input
has no upload path), the store builds the idempotent request
(client-generated requestId, current revision), guards double-clicks
in flight, and maps server outcomes to toasts (awaiting-confirm card,
revision conflict refresh, disabled rejection).

Evidence: tsc clean; vitest 95/95 including the request-shape test
(explicit data only, unique requestId per submission); knip unchanged.

Impact: Frontend-only; backend endpoint from the U5 backend branch.

Refs: U5 action-scope r2 (approved); UI PRs #46/#47; Dev task
feature/generative-ui-u5
weichen merged commit 2c56054861 into main 2026-10-11 14:24:05 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: weichen/Agent-System-Frontend#56