-
-
Notifications
You must be signed in to change notification settings - Fork 89
Closed
Description
Hi! I pulled v0.5.0 and ran a stress test on the new Templates feature.
Overall, the implementation is excellent and handles most edge cases gracefully! However, I found one Critical Data Loss issue that needs immediate attention.
Critical Bug: Silent Overwrite (Data Loss)
The "New from Template" action creates the file immediately without checking if a note with that name already exists.
Steps to reproduce:
- Create a note named
Dataand add some unique text. - Click + New -> New from Template.
- Select any template.
- Enter the name
Data(same as step 1). - Click Create.
Result: The original Data.md is silently overwritten with the template content. The user's original text is lost permanently.
Expected: The system should alert "File already exists" or auto-rename to Data-1.md.
Evidence:
Metadata
Metadata
Assignees
Labels
No labels
