Editor's Path Properties has 'Path Properties' but no 'Path reference' (URL, photo) — user wanting to attach a reference (e.g., a photo of the original sketch) to a path for documentation has no such affordance #372
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#372
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
grep -rn 'pathReference\|pathAttachment' src/components/editor/returns 0. The editor has no path reference.A user with a path:
The fix is a path attachment (photo, URL, note).
Where
src/components/editor/EditorRightPanel.tsxgrep -rn 'pathReference' src/components/editor/returns 0Suggested fix shape
Type: add
attachments: Array<{ id: string; type: 'image' | 'url' | 'note'; value: string; createdAt: number }>to the StitchPath type.UI: a small "..." button in the path list row that has an "Add reference" item:
Display: the path row has a paperclip icon if it has attachments. Hover shows the count.
Use cases:
Severity**
Low. The user can use the design's overall description. Power users with complex designs notice.
Discovered by
Gap analysis (2026-10-02) of editor path properties.
Related
Closed via commit
9a63776(feat(#372): per-path references (image / URL / note) in editor's Path Properties).Adds per-path attachments (image / URL / note) to the editor's Path Properties:
StitchPath.attachments?: PathAttachment[](optional, back-compat with persisted designs predating #372). Editor-only metadata —pathsToStitchObjectsstrips it on export.PathAttachmentModal— Type select (image/url/note) + per-type value control + optional Label. URL validation rejects non-http(s) schemes. Re-seeds draft on open.EditorRightPanel"References" subsection: count + "+ Add reference" button + per-attachment list with type icon, label/summary, and Remove button. URL / image attachments render as<a target=_blank rel=noopener>. Single-select only (multi-select hides it — bulk fan-out would mix content).Editor.tsxhandleAddPathAttachment/handleRemovePathAttachment— one setPaths + one pushHistory per action, no-op guards for missing path / attachment / duplicate id.29 new tests pass (16 modal + 13 panel integration).