Persist advanced options expand/collapse state per section

Each ExpanderRow now remembers its expanded state between sessions
using a per-section key stored in SessionState. Replaces the global
detailed_mode toggle with granular per-section persistence.
This commit is contained in:
2026-03-06 17:49:07 +02:00
parent d8bb1a726a
commit afabdf3548
7 changed files with 58 additions and 4 deletions

View File

@@ -189,6 +189,7 @@ pub struct SessionState {
pub watermark_enabled: Option<bool>,
pub rename_enabled: Option<bool>,
pub last_seen_version: Option<String>,
pub expanded_sections: std::collections::HashMap<String, bool>,
}
pub struct SessionStore {