NEC-288: Excalidraw image element's file id loses its Embedded Files line after an offline move #297
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!297
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-288-excalidraw-image-elements-file-id-loses"
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?
Task: NEC-288 — https://projectron.nerchure.com/tasks/301
Fixes three ways an image in a synced Excalidraw drawing lost its link under "## Embedded Files" and showed as an empty frame, all found by the Excalidraw hardness run.
Verified: unit tests for each rule, mutation-checked both ways; the local gate at
cb464b8e(unit, typecheck, lint, mirror check, 230 container e2e). Hardness: about 45 minutes since the last fix (the user's call). Failing seeds 1058836011, 87359779 and 1474780160 replay clean past where they failed. There's no e2e test for the original bug, since real Excalidraw wouldn't reproduce it on demand (see the spec). Two fresh-context reviews; everything they confirmed is fixed. Filed separately: NEC-294 (P1), an intermittent lost offline edit during a sync restart, not caused by this change.Spec:
docs/changes/NEC-288-excalidraw-image-file-id-link/spec.mdAlso fixes NEC-291: An image's Embedded Files link, saved while sync was stopped, never reaches the document
Changelog
Fixed images in synced Excalidraw drawings sometimes showing as empty frames after being moved, inserted while another vault had the drawing open, or edited offline.