feat(web): breakdown toolbar + open-in-chat on /specs/$specName #1120
Labels
No labels
area:agents
area:dashboard
area:database
area:design
area:design-review
area:flows
area:infra
area:meta
area:security
area:sessions
area:webhook
area:workdir
security
type:bug
type:chore
type:meta
type:user-story
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Blocks
Depends on
#1121 refactor(web): /workspace chat-only — strip spec mode, drop ?spec/?task params
charles/claude-hooks
#1118 feat(web): /specs route — list + markdown editor (no AI drawer)
charles/claude-hooks
Reference
charles/claude-hooks#1120
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
As an operator,
I want to launch breakdown preview and jump into a fresh chat session about the open spec from the spec editor toolbar,
so that I do not have to switch routes mid-flow to act on the spec I just wrote.
Keeps the legacy in-chat
/breakdownslash command alive too — that path lives on /workspace and is unchanged by this story.Acceptance criteria
Breakdown toolbar
routes/specs.$specName.tsxtoolbar has "Breakdown" button (lucideListTodoor similar) that opens<BreakdownPreview>inside a right-side<Drawer>.BreakdownPreviewis invoked with the current spec body — even if dirty, uses the in-memory draft (warns operator if unsaved).Open-in-chat
MessageSquare) navigates to/workspace?session=new.@specs/<name>.mdmention in the composer's initial draft, passed through a transient Zustand key (e.g.useComposerHandoff) — not a URL param./workspacemount, if the handoff key holds a value, the composer draft is seeded and the key cleared.Tests
fetchBreakdownPreviewwith the spec body, renders preview rows.session=new; handoff store holds the expected mention.Out of scope
Dependencies
References
docs/specs/workspace-split.md§ Editor toolbar.