Remove internal FileID stuff #1
Labels
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: massivebox/siyuan-jsdraw-plugin#1
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?
The current fileID system is unneeded, and prevents the easy extension of the plugin to all SVG files. It should therefore be dropped.
Initially addressed in
a2503d5def
The removal of fileID will happen in a while, after a system to update all blocks is created, so that the transaction can be seamless.
After much consideration following the discovery of file sync issues in #4 (comment), the FileID system is being reinstated and will remain indefinitely.
This change comes because:
./data/assets
directory, so supporting other directories is not needed./data/assets/FILE_ID+EDIT_ID.svg
, whereEDIT_ID
is an unique ID that changes every time the Save button is clicked.