[Feature Request]: Add import/export buttons to Data Settings for the missing databases
Guidelines
- [x] I have searched the issue tracker for open and closed issues that are similar to the feature request I want to file, without success.
- [x] I have searched the documentation for information that matches the description of the feature request I want to file, without success.
- [x] This issue contains only one feature request.
Problem Description
https://docs.freetubeapp.io/usage/data-location/#notable-files lists 6 database files. We only provide import/export for Subscriptions, Playlists and History. An user might want to import/export the other files.
[!NOTE] Maybe we should also allow to export ~~History and~~ Playlist to prevent being locked in
Proposed Solution
Provide import/export buttons for:
- [ ]
settings.db - [x]
search-history.db - [ ]
subscription-cache.db
Alternatives Considered
None.
Issue Labels
ease of use improvement
Additional Information
No response
Importing the settings.db will be problematic if we try to do it in a similar way to our existing imports, as we block writing certain settings from inside a window for security reasons, such as the default download and screenshots folders (we should probably do something similar for the external player settings at some point too).
wonder if it can be unified into single database file for import and export like
{
"settings" : ...,
"subscriptions": ...,
"history": ...
}
while still able to make it individually exported and imported
{
"settings" : ...,
}
{
"subscriptions": ...,
}
{
"history": ...
}