Commit Graph

174 Commits

Author SHA1 Message Date
Han Yin fe6eafe154 data: update & enhance system prompt presets 2025-10-28 11:39:17 -07:00
Han Yin 81ad468c78 UI: allow hide or show model card on Conversation & Benchmark screens; fix message arrangement 2025-10-28 11:39:17 -07:00
Han Yin 43d9d300aa data: update system prompt presets 2025-10-28 11:39:17 -07:00
Han Yin 27edf0775d UI: polish Conversation screen 2025-10-28 11:39:17 -07:00
Han Yin 379be5d6c3 pkg: restructure system metrics into a separate file 2025-10-28 11:39:17 -07:00
Han Yin b1831c4053 pkg: restructure TopBarApps into separate files in a child package 2025-10-28 11:39:17 -07:00
Han Yin 3c539dc146 pkg: restructure BottomAppBars into separate files in a child package 2025-10-28 11:39:17 -07:00
Han Yin 0bcb182d17 feature: implement Conversation screen's bottom app bar 2025-10-28 11:39:17 -07:00
Han Yin d3011d48e6 nit: disable mode selection's radio buttons when loading model 2025-10-28 11:39:17 -07:00
Han Yin 0dec7fb2a3 ui: polish Benchmark screen; implement its bottom app bar's rerun and share 2025-10-28 11:39:17 -07:00
Han Yin 32f37a4316 [WIP] ui: polish Benchmark screen; implement its bottom app bar 2025-10-28 11:39:17 -07:00
Han Yin ec907d01ba ui: add filter off icon to "Clear filters" menu item 2025-10-28 11:39:17 -07:00
Han Yin 9e4ba94d66 ui: show empty models info in Model Management screen 2025-10-28 11:39:17 -07:00
Han Yin dd0367b970 feature: support filtering in Model Management screen 2025-10-28 11:39:17 -07:00
Han Yin d97e28a6d8 UI: animate FAB on model preselection states 2025-10-28 11:39:17 -07:00
Han Yin 05c620cc52 data: move Model related actions (query, filter, sort) into ModelInfo file 2025-10-28 11:39:17 -07:00
Han Yin ef3791207b UI: extract InfoView out into a separate file for reusability 2025-10-28 11:39:17 -07:00
Han Yin 73330596ae nit: move scaffold related UI components into a separate package 2025-10-28 11:39:17 -07:00
Han Yin 77edad5a01 feature: support searching on Model Selection screen 2025-10-28 11:39:17 -07:00
Han Yin 2b3ba770dd UI: finally support theme modes; remove hardcoded color schemes, default to dynamic color scheme implementation 2025-10-28 11:39:17 -07:00
Han Yin a8dc825aef UI: handle back press on Model Selection screen 2025-10-28 11:39:17 -07:00
Han Yin d1b018e375 UI: show a Snack bar to warn user that system prompt is not always supported 2025-10-28 11:39:17 -07:00
Han Yin 56a7272858 UI: polish model cards on Benchmark and Conversation screens to show model loading metrics 2025-10-28 11:39:17 -07:00
Han Yin 10ca2fa834 util: extract formatting helper functions from FileUtils into a new FormatUtils 2025-10-28 11:39:17 -07:00
Han Yin d7afcc41d5 UI: polish ModelLoading screen 2025-10-28 11:39:17 -07:00
Han Yin 57b5001f5c nit: revert accidental committing of debug code 2025-10-28 11:39:17 -07:00
Han Yin ec47fa3d14 nit: allow deselect model on Model Selection screen 2025-10-28 11:39:17 -07:00
Han Yin 6b74c49e6b UI: polish model card 2025-10-28 11:39:17 -07:00
Han Yin c12ef7a779 UI: update ModelSelectionScreen with a preselect mechanism 2025-10-28 11:39:17 -07:00
Han Yin b81a0c6e6d UI: refactor ModelCard UI to show GGUF metadata 2025-10-28 11:39:17 -07:00
Han Yin 9056f27a91 nit: rename lastUsed field to dateLastUsed; add dateAdded field 2025-10-28 11:39:17 -07:00
Han Yin 7540c2a8b9 nit: refactor data.local package structure 2025-10-28 11:39:17 -07:00
Han Yin 7ed79319e5 GGUF: make GgufMetadata serializable in order to be compatible with Room 2025-10-28 11:39:17 -07:00
Han Yin 8ae0c3d2fa DB: introduce Kotlin serialization extension's library and plugin; add Room runtime library 2025-10-28 11:39:17 -07:00
Han Yin 67499727ef gguf: add GGUF metadata data holder and its corresponding extractor implementation 2025-10-28 11:39:17 -07:00
Han Yin a9466c0370 navigation: sink model loading state management from AppContent down into ModelLoadingScreen; pass ModelLoadingMetrics to Benchmark and Conversation screens 2025-10-28 11:39:17 -07:00
Han Yin 8a682ff85d core: throw Exception instead of returning null if model fails to load 2025-10-28 11:39:17 -07:00
Han Yin f313362ced nit: polish ModelLoadingScreen UI 2025-10-28 11:39:17 -07:00
Han Yin 1d508f367e UI: update AppContent to pass in correct navigation callbacks 2025-10-28 11:39:17 -07:00
Han Yin 0d65c4b06b nit: extract app name into a constant value; remove unused onBackPressed callbacks 2025-10-28 11:39:17 -07:00
Han Yin 9f1d26ac95 UI: migrate ConversationViewModel onto ModelLoadingViewModel; update & refine ConversationScreen 2025-10-28 11:39:17 -07:00
Han Yin cb508be782 UI: migrate ModelLoadingScreen onto ModelLoadingViewModel; update & refine ModelLoadingScreen 2025-10-28 11:39:17 -07:00
Han Yin f61c512223 UI: expose a single facade ModelUnloadDialogHandler; move UnloadModelState into ModelUnloadingViewModel.kt 2025-10-28 11:39:17 -07:00
Han Yin c5a3ac7eb1 UI: Introduce an abstract ViewModel to handle additional model unloading logics 2025-10-28 11:39:17 -07:00
Han Yin e1c77c6bbd LLama: add a new Initializing state; ; add two extension properties; rename LibraryLoaded state to Initialized 2025-10-28 11:39:17 -07:00
Han Yin ba40d689a1 UI: implement BenchmarkScreen's individual back handling 2025-10-28 11:39:17 -07:00
Han Yin 8203ddb97a UI: refactor back handling by removing centralized BackHandlerSetup and UnloadModelConfirmationDialog from AppContent 2025-10-28 11:39:17 -07:00
Han Yin c08d02d233 LLama: add ModelUnloadingState to engine State; add missing state checks in stub engine; fix instrumentation engine's error messages 2025-10-28 11:39:17 -07:00
Han Yin 481ba6e9d3 UI: remove code duplication in sort menu 2025-10-28 11:39:17 -07:00
Han Yin 41615be5ae UI: fix the typo `totalGb` in `StorageMetrics` 2025-10-28 11:39:17 -07:00