zen
zen copied to clipboard
Backup and Restore Funtionality
Description
I currently have around 11 custom filters and would greatly appreciate an option to backup and restore these filter lists. Additionally, it would be great if this package were available on winget.
Otherwise, amazing app, keep up the great work :)
Glad you enjoy the app! Adding this to the backlog.
Hi I think I can do it
In my design I will
- Front Design In my design I may add a export and Import button at the right side of the Custom Filter Lists
- Export Feature export filter meta data as the file (Toml or Json)
- Import Feature Read the File to the filter and apply it
Hello @Noahnut! Sounds great; feel free to work on the issue. Here’s a beginner’s guide to the project that you can use to get started: https://github.com/anfragment/zen/blob/master/docs/internal/index.md#getting-started.
Regarding the format, I think JSON is a better fit since we’re already using it, and Go’s standard library provides a package for it.
Hello @anfragment The UI will like the photo. Is that ok ? I will export and import the custom filter only.
@Noahnut looks neat, love it! A few minor UX suggestions:
- I'd consider removing the "primary" intent on the "More Options" button to align its prominence with its significance on the page.
- The labels could be shortened, as the context makes their purpose clear: “More Options” could become “Options,” “Export Custom Filter Lists” could be “Export,” and “Import Custom Filter Lists” could be “Import.”
When implementing, could you please ensure the import button appends new lists rather than overwriting existing ones?
@anfragment Thank for your advise ! I will follow your advise. Yes, I will append the import filter list to the original list