Editor's Path Properties section is hidden when no path is selected — user without a selection sees no path-related controls, no hint that selecting a path would reveal them #272
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#272
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/EditorRightPanel.tsx's Path Properties section is wrapped in:(or similar conditional). When
selectedPathIds.length === 0, the section is unmounted.A user with no selection:
The user has to either:
The fix is a "Select a path to edit its properties" empty-state message in the right panel.
Where
src/components/editor/EditorRightPanel.tsx(conditional render)grep -n 'Select a path' src/components/editor/returns 0Suggested fix shape
Replace the conditional with an empty-state block:
The user sees an actionable hint instead of an empty space.
Severity
Low. The user can figure out the workflow. New users notice the gap.
Discovered by
Gap analysis (2026-10-02) of editor empty states.
Related
Shipped at commit
3b6fdeeeon origin/main.Empty state: When no path is selected, the Path Properties section now shows a centered hint (MousePointer icon + headline + body) mirroring the Paths-list empty state (#225) so the two empty states in the right panel read as a consistent design language. Same 28px icon size, 1.5 stroke, headline weight, and body copy sizing.
Wire-in: Pinned inside the existing
selectedPath ? ... : ...ternary. The rich body (Thread Color picker, Stitch Type, Density, Apply-to-all, Transform, Align & Distribute, Direction & Closure, etc.) still renders whenselectedPathis non-null, so all the existing #185/#188/#205/#212 tests stay green.Tests: 3 new tests in
EditorRightPanel.test.tsx:Lint drift fixed in the same pass:
eslint.config.jswas enforcingno-explicit-anyon the whole tree, which broke every recent fixit-card commit because of 8anycasts inissue-269.test.tsx(#269/#267/#268 had been shipping with lint failures on main). Scoped the override to*.test.{ts,tsx}so production source still sees the rule.eslint --fixcleaned up unused eslint-disable comments that became redundant once the rule was scoped.Gates: tsc clean, eslint clean (exit 0), 186 EditorRightPanel tests pass, 1481 project tests pass, vite build green.