Commit graph

9 commits

Author SHA1 Message Date
Sofía Aritz fcdbfbc932 Implement "hide notes" and "show notes", retry on failed password and minor fixes
* implemented "hide notes"
* implemented "show notes" (internally "unhide")
* improved the title and metadata renderer to use enums and return values instead of callbacks
* added system to retry on password fails (adds `native-dialog` dep for convenience)
2023-03-02 22:40:36 +01:00
Sofía Aritz 19fe7a4ef5 Move App creation into its impl 2023-02-27 18:57:20 +01:00
Sofía Aritz e839770c9a Add ScrollArea to notes container 2023-02-27 17:19:09 +01:00
Sofía Aritz b599f628de Sort notes my newest, save note ID in the Note struct, add ID-based note removal
This adds a weird callback-based system to properly update the state once a note is removed.

This system isn't very nice, and it can be quite messy, but I'll improve it in the future
2023-02-27 16:57:00 +01:00
Sofía Aritz 88dd8f034f Add more spacing in the password prompt phase 2023-02-27 15:36:35 +01:00
Sofía Aritz d801350eb2 Use password TextEdit to hide the password 2023-02-27 15:35:44 +01:00
Sofía Aritz e1dc5f2d36 Remove terminal when executing 2023-02-27 15:31:17 +01:00
Sofía Aritz 159bf20447 Add readme 2023-02-27 15:28:19 +01:00
Sofía Aritz 4abecc7971 Initial release
This is an initial release, I'm aware that this doesn't have the best structure and that there's lots of copying, but performance isn't relevant right now
2023-02-27 15:22:30 +01:00