feat: Added persistence on cluster filters and last tab selected

This commit is contained in:
2026-07-15 22:35:05 +02:00
parent 33a6342a07
commit f650183936
2 changed files with 46 additions and 10 deletions
+5
View File
@@ -26,6 +26,11 @@ const PORTABLE_KEYS = [
'opslog.lookupOnBlur', // run the callsign lookup on blur instead of while typing
'opslog.clusterShowFilters', // cluster filter sidebar shown (tab + Main pane)
'opslog.mapBasemap', // world map basemap (light / street / satellite)
// Cluster filter selections — restored on reopen.
'opslog.clusterFilterSource', 'opslog.clusterGroup', 'opslog.clusterBands',
'opslog.clusterLockBand', 'opslog.clusterLockMode', 'opslog.clusterStatusFilter',
'opslog.clusterModeFilter', 'opslog.clusterSearch', 'opslog.clusterHideWorked',
'opslog.activeTab', // last selected tab
];
// syncPortablePrefs reconciles the DB with the local cache at startup: