refactor: navigation/offline handling

and other improvments
This commit is contained in:
edde746
2025-12-13 00:16:50 +01:00
parent f43fbd0951
commit 18c322f66a
42 changed files with 1891 additions and 1507 deletions
+20
View File
@@ -1,3 +1,23 @@
mixin Refreshable {
void refresh();
}
/// Mixin for screens that support full refresh (clearing all cached data)
mixin FullRefreshable {
void fullRefresh();
}
/// Mixin for screens with focusable tab content
mixin FocusableTab {
void focusActiveTabIfReady();
}
/// Mixin for screens with focusable search input
mixin SearchInputFocusable {
void focusSearchInput();
}
/// Mixin for screens that can load a specific library by key
mixin LibraryLoadable {
void loadLibraryByKey(String libraryGlobalKey);
}