feat: Cloud Sync (Dropbox + GDrive) - #3
Closed
danvitv wants to merge 11 commits into
Closed
Conversation
- New lib/core/utils/platform_paths.dart with async getAppDataDir() using path_provider for Android/iOS, env vars for desktop - Removed duplicate _getAppDataDir() from app_db.dart and image_storage_service.dart - ImageStorageService.create() now async (Future) - imageStorageProvider, characterImporterProvider, migrationServiceProvider converted to FutureProvider - Updated all consumers to use .future await pattern
…ed remaining phases
feat: lorebook import/settings/connections, regex editor, tokenizer, raw response viewer
fix: Android/iOS platform support
…, JannyAI, Chub) - Catalog models: CatalogItem, CatalogFilters, CatalogTag, CatalogProvider (freezed) - Shared classes: CatalogSearchResult, DownloadedCharacter, CharacterData - catalog_http: Dio-based HTTP client with GET/POST/list helpers - janitor_provider: Hampter API search, tags, character download - datacat_provider: session auth, browse/search, Saucepan extraction - janny_provider: MeiliSearch API, token management, Astro scraping - chub_provider: REST search, tag aggregation, character download - catalog_provider: Riverpod StateNotifier, provider switching, pagination - CharacterRepo.createCharacterFromCatalog / LorebookRepo.createEntryFromCatalog - Android INTERNET permission for catalog API access
…rs, preview sheet, import - CatalogCard: avatar with CachedNetworkImage, token badge, NSFW badge, tag chips - CatalogGrid: infinite scroll, provider/sort/filter controls, results count - Preview sheet: draggable sheet with full character info + Import button - Filter sheet: NSFW/NSFL toggles, token range, reset/apply - ImportUrlDialog: DataCat extract-and-poll with phase tracking - Wired into character_list_screen Discover tab + Import URL FAB - Added cached_network_image dependency
…b (Import by URL) complete
…ettings UI, inline rendering
…e, sync blocking - Import: create new session instead of appending to current chat, remove broken timestamp dedup that dropped same-second messages - Chat list: invalidate chatHistoryProvider on all ChatNotifier mutations - Cold start: lightweight SessionMetadata query + batch CharacterRepo.getByIds - Sync: Drift .watch() streams for CharactersNotifier and ChatHistoryNotifier
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Architecture
features/cloud_sync/— adapters, auth, engine, serialization, manifest, conflict, gallery, queue.envfor OAuth keys (Dropbox App Key, GDrive Client ID)Status
WIP — implementation in progress