Workspace right panel's Object List has no per-object rename — user can't name a stitch object (e.g., 'flower' or 'border') so the Object List shows the generated default like 'Object 1' #218
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#218
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/workspace/RightPanel.tsx'sObjectList(per the#182comment) renders one row per stitch object. Each row has:obj.namefield)grep -n 'onRenameObject\|RENAME_OBJECT' src/returns 0 hits. There's no UI to rename an object and no reducer action for it.A user with 4 stitch objects after auto-digitize:
The
StitchObjecttype may have anamefield (let me check), but even if it does, there's no editor for it.Where
src/components/workspace/RightPanel.tsx(ObjectList subcomponent)grep -n 'onRenameObject\|RENAME_OBJECT' src/returns 0src/components/workspace/types.ts(need to check ifnamefield exists)StitchPathhas no name field; the workspace'sStitchObjectmay be the sameSuggested fix shape
Type check: confirm
StitchObjecthas aname?: stringfield. If not, add one (same as the editor'sStitchPathper #210).UI: in the Object List row, make the name editable inline (double-click to rename, like the gallery's DesignCard rename):
Auto-naming on auto-digitize: when
useWorkspaceproduces stitch objects from auto-digitize, name them by their position in the bounding box ("Top", "Bottom", "Center") or by the color ("Red region", "Blue region"). This gives the user meaningful defaults.Persistence: the name is part of the stitch object; saving a design includes the name; loading preserves it.
Severity
Low. The user can identify objects by color and position. Power users with many objects notice.
Discovered by
Gap analysis (2026-10-02) of workspace object identification.
Related
Shipped #218. Commit
46ab5f2on origin/main.What changed
src/components/workspace/RightPanel.tsx: each row's stitch-object name is now editable in place. Double-click the label or click the pencil icon to open an inline<input>. Enter or blur commits the new name via the existingUPDATE_OBJECTreducer action — same dispatch shape the visible/lock toggles already use, and the reducer already pushes history so undo/redo round-trip the rename.src/components/workspace/issue-218.test.tsx: 8 new regression tests covering name render, double-click input, Enter/blur commit, empty/unchanged/whitespace-only rejection, Escape revert, no-bubble to row SELECT, and colorRegion rows render plain text duringdigitizing.Scope
digitizedstate) get the rename affordance — this is what the issue is about.digitizingstate) keep a plain name span. There is noUPDATE_REGIONaction today and adding one is out of scope. The Object List rows during digitizing render colorRegions, where the rename is intentionally not wired (the affordance is hidden).Mirror parity with the editor's PathNameField (#210) and the gallery's DesignCard: empty / whitespace-only / unchanged commits are rejected so the object keeps its existing name. Escape reverts.
Tests / gates
tsc -bclean.eslintclean on changed files.