Add foundational components and logic for migration, UI design, and input handling
- Introduced foundational UI components (`Badge`, `LockCard`, `SectionHeader`, `AvatarIcon`, etc.) for flexible layouts and consistent design. - Added migration support with the `MigrationModal` component and backend integration for exporting/importing data between Electron and Tauri. - Extended form components with `TextAreaInput`, `OrderInput`, `ToggleField`, and `ToolbarSelect` for improved input handling. - Updated `ScribeShell` with migration popup logic to prompt users for data migration. - Integrated `AlertStack` for better alert handling and notification management. - Enhanced Rust/Tauri services with migration command implementations. - Added translations and styles for new components.
This commit is contained in:
@@ -11,6 +11,7 @@ pub mod incident;
|
||||
pub mod offline;
|
||||
pub mod issue;
|
||||
pub mod location;
|
||||
pub mod migration;
|
||||
pub mod plotpoint;
|
||||
pub mod series;
|
||||
pub mod series_character;
|
||||
|
||||
@@ -167,10 +167,13 @@ pub fn run() {
|
||||
domains::series_sync::commands::series_sync_upload,
|
||||
// ─── Sync ──────────────────────────────────────
|
||||
domains::sync::commands::get_synced_series,
|
||||
// ─── Tombstone ─────────────────────────────────
|
||||
// ─── Tombstone ─────────────<EFBFBD><EFBFBD><EFBFBD>───────────────────
|
||||
domains::tombstone::commands::get_tombstones_since,
|
||||
domains::tombstone::commands::apply_book_tombstones,
|
||||
domains::tombstone::commands::apply_series_tombstones,
|
||||
// ─── Migration ────────────<E29480><E29480>───────────────────
|
||||
domains::migration::commands::check_electron_migration,
|
||||
domains::migration::commands::import_from_electron,
|
||||
])
|
||||
.run(tauri::generate_context!())
|
||||
.expect("error while running tauri application");
|
||||
|
||||
Reference in New Issue
Block a user