pervane
pervane copied to clipboard
Be able to rename notes
One implementation may be like:
- Add a button in tab view after opening the note with a name "Rename"
- Open a rename modal
- Take new name from that modal which has old name prepopulated.
- Add a new endpoint in server.py as /api/file_rename which takes path and new name.
- Returns success
- Sidebar refreshes
- Open tab path is modified with new path which contains new name
One of the items in the readme has a note that users are in control of filenames and that files are never auto named. Is this a set-in-stone feature? If not then naming the file based on the first line (as https://github.com/pbek/QOwnNotes and Tombo does) is another possible alternative.