feat: Character Catalog + Image Gen + critical bug fixes - #1
Closed
danvitv wants to merge 8 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
…, 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
Owner
Author
|
Superseded by #3 — feat/cloud-sync includes all character-catalog commits plus cloud sync work. |
danvitv
added a commit
that referenced
this pull request
May 14, 2026
- Remove 2 NoiseOverlay instances from chat screen — at 0.03 opacity barely visible but drawing 20K rects per frame, #1 cause of GPU jank - Remove BackdropFilter from message bubbles — sigma 12 blur per bubble forced expensive GPU rasterization on every scroll frame - Keep ClipRRect for rounded corners, just drop the blur
danvitv
added a commit
that referenced
this pull request
May 22, 2026
- I.1: Swipe animation (CSS transform + opacity slide) - I.2: Guided swipe (🎯 button → textarea → onGuidedSwipe bridge) - I.3: Guidance block (🎯 header after name) - I.4: Greeting switcher (separate nav for greetingIndex) - I.5: Hidden indicator (👁 + opacity 0.45 + toggle) - I.6: Memory badge (MEM/STALE/REBUILD) - I.7: Triggered items (meta-badge with tooltip, names) - I.8: Message index (#1, #2 in header) - I.9: Error copy button + provider chip - I.10: Image attachment with click preview - I.11: Date separators (Today/Yesterday/Mon DD, YYYY) - I.12: Selection mode (checkboxes + onSelectionChange) - I.13: Performance mode (setPerformanceMode → .perf-mode) - I.14: Rolling gen time animation (cubic ease-out 600ms) - I.15: Version badge (<sup> in header) Dart: added isGenerating to _toMap(), onSelectionChange callback, setPerformanceMode/setSelectionMode bridge methods, isGenerating sync
danvitv
added a commit
that referenced
this pull request
May 23, 2026
- I.1: Swipe animation (CSS transform + opacity slide) - I.2: Guided swipe (🎯 button → textarea → onGuidedSwipe bridge) - I.3: Guidance block (🎯 header after name) - I.4: Greeting switcher (separate nav for greetingIndex) - I.5: Hidden indicator (👁 + opacity 0.45 + toggle) - I.6: Memory badge (MEM/STALE/REBUILD) - I.7: Triggered items (meta-badge with tooltip, names) - I.8: Message index (#1, #2 in header) - I.9: Error copy button + provider chip - I.10: Image attachment with click preview - I.11: Date separators (Today/Yesterday/Mon DD, YYYY) - I.12: Selection mode (checkboxes + onSelectionChange) - I.13: Performance mode (setPerformanceMode → .perf-mode) - I.14: Rolling gen time animation (cubic ease-out 600ms) - I.15: Version badge (<sup> in header) Dart: added isGenerating to _toMap(), onSelectionChange callback, setPerformanceMode/setSelectionMode bridge methods, isGenerating sync
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
[IMG:GEN:...]auto-gen tags, ImageGenSheet settings, ImageContentRenderer--no-pub, parallel/caching.watch(), cold start lightweight metadata query, sync blocking UI eliminatedgetAppDataDir()Changes (47 files, +5050/-114)
New features
features/catalog/— full catalog system (models, 4 providers, UI)features/image_gen/— image generation (models, 4 providers, orchestrator, UI)core/utils/platform_paths.dart— cross-platform app data dirBug fixes
invalidateSelf()replaced with Drift.watch()streamsSessionMetadataquery + batchgetByIdsCharactersNotifierusesrepo.watchAll()streamCI
.github/workflows/build-branch.yml— Gradle cache, arm64-only,--no-pubandroid/gradle.properties— parallel + caching flags