chore(web): workspace-split cleanup — drop legacy keys, trim palette, prune handoff (#1122) #1130
No reviewers
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
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
charles/agent-hooks!1130
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "code-lead/1122"
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?
Summary
Final cleanup after the workspace ↔ specs split lands. No new behaviour, just dead-code removal so the wsplit bridge doesn't carry forward. Closes #1122.
nav_sections_item_workspaceparaglide key (en + fr) and refresh the obsoletenav-sections.tsxcomment that flagged it for deletion.command_palette_specsmessage +specsfrom the placeholder / search label (palette now searches sessions / agents / repos). Wire the placeholder through the i18n key instead of a hardcoded string. The palette stays — 3 facet groups remain, all non-spec.lib/use-workspace-keymap.ts→lib/use-chat-keymap.ts(the hook owns ⌘K only, and/workspaceis chat-only after #1121). Cross-refs inuse-specs-keymap+workspace.test.tsxcomments updated.SHORTCUTSregistry needs no change — ⌘K isn't a registered entry.screenconst inspecs.test.tsxflagged by Biome.docs/specs/workspace-split.md(surface boundaries, URL contracts, keymaps, wsplit-1..6 story trail);docs/workspace.md's planner-surface section now describes the chat-only/workspace, slash-command intercept, and dropped?spec=/?task=params, and links to the spec.taskwas already gone fromvalidateSearchin #1121. No orphanedSpecEditor/BreakdownPreviewimports outside/specs/$specNameand the workspace breakdown-drawer slash-command path.Acceptance criteria (from #1122)
nav_sections_item_workspaceparaglide key + generated message files if no longer referenced.WorkspaceCommandPalette: remove spec-creation entries that moved to/specs. Palette retained (3 facet groups: sessions / agents / repos); placeholder + l10n trimmed.tasksearch param from any remainingvalidateSearch(already gone in #1121).use-workspace-keymap.ts→use-chat-keymap.ts— every shortcut it owns is chat-scoped after the split.docs/workspace.mdplanner-surface section + referencedocs/specs/workspace-split.md.bun run test+just qaclean.SpecEditor/BreakdownPreviewoutside/specs/$specNameand/workspacechat slash-command path.Test plan
just qa— typecheck + biome lint + format + sql-layer-check + paraglide-check + i18n-string-check + flow-schema-check (all green).apps/webVitest browser-mode suite (1139 tests, includingworkspace.test.tsx29 / 29 andspecs.test.tsx).apps/serverBun test suite (3305 tests).nav_sections_item_workspace/command_palette_specsartefacts underapps/web/src/paraglide/messages/.useWorkspaceKeymapsymbol is gone from the source tree (only the historical doc-comment reference in the renamed file remains).🤖 Generated with Claude Code
All AC from #1122 satisfied, CI green (6/6), no behavioural changes.
Notable: the hardcoded placeholder in
WorkspaceCommandPaletteis now correctly wired throughm.command_palette_search_placeholder()— good latent-bug catch. Theuse-workspace-keymap→use-chat-keymaprename chain is complete (file, interface, function, all call sites, test comments, doc comments). Newdocs/specs/workspace-split.mdis a solid reference artefact.LGTM — squash-merging.