Editor has no way to add a new thread stop from the thread bar — workspace has ADD_THREAD_STOP but the editor's EditorThreadBar is read-only (select only) #217
Labels
No labels
blocked:commit-ready-failed
blocked:gate-fetch
blocked:gate-lint
blocked:gate-plan
blocked:gate-research
blocked:needs-attention
blocked:needs-decision
blocked:needs-human
blocked:no-changes
blocked:verify-failed
bug
deferred
feature-request
in-progress
needs-decompose
needs-triage
quickfix
security/medium
triage-approved
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/Kimi_Agent_Brother_10_Digitizing_App#217
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?
Finding
src/components/editor/EditorThreadBar.tsx(the file we saw earlier) renders thread stops as clickable buttons. TheonSelectThreadcallback fires on click and changescurrentThreadIndex. There's noonAddStopprop, no "+" button, no way to add a new color to the palette from the editor.src/components/workspace/BottomThreadBar.tsx(the workspace equivalent) hasonAddStopand a+ Addbutton (per the comment chain and the type definition at line 8-12).A user editing a design in the editor:
useThreadLibrarybut the new paths still use the old colorsThe workspace's right panel has the same gap (per the workspace's own button being tied to the
ADD_THREAD_STOPreducer action, which is only triggered from the right panel's color picker).Where
src/components/editor/EditorThreadBar.tsx(no add button)src/components/workspace/BottomThreadBar.tsx(has add button)src/components/workspace/RightPanel.tsx(perADD_THREAD_STOPdispatch)Suggested fix shape
Add a "+" button to the editor's thread bar:
onAddStopopens the workspace's color picker (the same picker used in the right panel). Picking a color dispatchesADD_THREAD_STOPto the workspace reducer, which is shared with the editor (viauseWorkspaceor a similar hook).The picker can be a small modal (reusing
ColorPickerDialogfrom the workspace) or a popover. The popover approach matches the existing "Thread Color" picker UX in the editor's right panel.Severity
Low. The user can add a stop via Settings → Thread Library; the in-bar picker is a polish improvement.
Discovered by
Gap analysis (2026-10-02) of editor thread bar affordances.
Related
Closed via
e77ef12onorigin/main. Editor thread bar now exposes a+ Addbutton matchingBottomThreadBar— click opens a 5-column catalog popover, picking a swatch setscurrentThreadIndexto that palette index so the next path uses that color (the editor equivalent of the workspaceADD_THREAD_STOP). All 1063 tests pass; tsc, vite build, and eslint clean.