NEC-286: Excalidraw embedded-file links in the folder-relative form, like canvas #298
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!298
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-286-excalidraw-embedded-file-links-in-the-fo"
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-286 — https://projectron.nerchure.com/tasks/299
Excalidraw drawings now hold an image link into the shared folder relative to that folder (:/rest), and each vault reads and writes it under its own folder name, on disk and in an open drawing (SAFE-A42, schema 2, like canvas's SAFE-A33). Rides along: NEC-289 (upgrade a structured document whose older client's fill arrives after this vault's first sync), NEC-290 (a schema upgrade runs only on a restamp, so it no longer retargets another vault's path outside its folder, for canvas and drawings), NEC-292 (a drawing's presence no longer outlives its closed tab), NEC-293 (an open drawing waits, live, for an image's file instead of reloading without it and warning 'could not find image file'; reconciled with NEC-291's let-go for a left-out link). Reviewed four times; local gate passed at
e9fdd3ee; Excalidraw hardness run passed on seeds 1181215902, 2058022655, 1625222086, 1235200138 and 2034143022. The hardness run keeps the folder under one name in both vaults, so the two-name case rests on the unit tests and markdown-links.test.ts. Tested by the user in their own vaults.Spec:
docs/changes/NEC-286-excalidraw-embedded-paths/spec.mdAlso fixes NEC-289: Upgrade a structured document's schema when an older client's fill arrives after this vault's first sync
Also fixes NEC-290: A schema upgrade rewrites another vault's path outside its shared folder when it begins with this vault's folder name
Also fixes NEC-292: A drawing's presence outlives its closed tab when the binding let go while attaching
Also fixes NEC-293: An open drawing reloads for an image before its attachment has arrived, and reports it not found
Changelog
Fixed an image in a synced Excalidraw drawing showing as an empty frame in a vault that keeps the shared folder under a different name.