refactor(ui): Simplified the popup delegation so all future UI is easier to implement

This commit is contained in:
2024-12-11 15:08:52 -07:00
parent e9a30382a3
commit c09950d0af
59 changed files with 488 additions and 660 deletions
@@ -53,7 +53,7 @@ pub struct SonarrData<'a> {
pub indexers: StatefulTable<Indexer>,
pub indexer_settings: Option<IndexerSettings>,
pub indexer_test_all_results: Option<StatefulTable<IndexerTestResultModalItem>>,
pub indexer_test_error: Option<String>,
pub indexer_test_errors: Option<String>,
pub language_profiles_map: BiMap<i64, String>,
pub logs: StatefulList<HorizontallyScrollableText>,
pub log_details: StatefulList<HorizontallyScrollableText>,
@@ -106,7 +106,7 @@ impl<'a> Default for SonarrData<'a> {
history: StatefulTable::default(),
indexers: StatefulTable::default(),
indexer_settings: None,
indexer_test_error: None,
indexer_test_errors: None,
indexer_test_all_results: None,
language_profiles_map: BiMap::new(),
logs: StatefulList::default(),