Tags: starfall-org/multigateway
Tags
feat(ui): enhance profile selection and attachment display with popup… … menu and thumbnails - Replace profile navigation page with inline popup menu for quick profile switching in drawer footer - Add profile selection menu with avatar badges and checkmark indicator for active profile - Implement async profile loading in _ActiveProfileButton with loading state management - Update attachment chips to display file thumbnails for images and file type icons for documents - Add file type detection utility to identify images and document types by extension - Replace swap_horiz icon with unfold_more icon for better UX in profile button - Improve visual hierarchy in profile menu with gradient avatars and typography styling - Remove direct navigation dependency to ChatProfilesScreen from drawer_footer.dart - Enhance attachment display with grid layout showing file previews and remove buttons - Add support for common image formats (jpg, jpeg, png, gif, webp, bmp) and document types (pdf, doc, docx, txt, video) - Update pubspec.yaml dependencies to support new UI enhancements
feat(storage): improve Hive storage initialization with ensureBoxRead… …y method The changes modify storage classes to properly initialize boxes before use. Previously, the `init()` methods were returning singleton instances without ensuring the underlying Hive boxes were opened, which could lead to race conditions when reading data before the box was ready. **Key changes:** 1. **Storage layer**: Added `ensureBoxReady()` method to `HiveBaseStorage` base class that calls `_openBox()`, ensuring boxes are fully opened before any operations. All storage classes now call this method in their `init()` method. 2. **Base storage improvements**: Enhanced `getItems()` and `getOrder()` methods to attempt synchronous box opening when the box isn't yet open, improving robustness during early read operations. 3. **Model editing**: Extended `EditModelSheet` to support multiple model types (BasicModel, OllamaModel, GoogleAiModel, GitHubModel) with a unified UI that adapts to the selected model origin type. 4. **Model fetching**: Added search functionality to `FetchModelsSheet` with an "Add All" button for bulk selection. 5. **Appearance settings**: Improved initialization flow by exposing an `initializationFuture` getter and using `FutureBuilder` for cleaner state management. 6. **Speech services**: Added TTS configuration options including model name, language, speech rate, volume, and pitch controls, plus enhanced STT configuration with provider support.
PreviousNext