Commit Graph

105 Commits

Author SHA1 Message Date
cogwheel0
1fa8412e0a feat: implement dynamic theme palette selection
- Introduced a new feature allowing users to select from multiple accent color palettes for buttons, cards, and chat bubbles.
- Added `AppThemePalette` provider to manage the current theme palette and persist user selections.
- Updated the `AppTheme` class to utilize the selected palette for light and dark themes, enhancing visual customization.
- Enhanced the `AppCustomizationPage` to include a palette selector, improving user experience and personalization options.
- Updated localization files to support new palette selection UI elements in multiple languages.
2025-10-02 01:58:12 +05:30
cogwheel0
5eb23b01de refactor: update brand colors for improved accessibility
- Adjusted brand primary colors in the AppTheme to enhance contrast in light and dark modes, ensuring compliance with WCAG standards.
- Updated various theme elements, including chat bubbles and input borders, to utilize the new brand colors for better visual consistency and accessibility.
- This refactor improves the overall user experience by providing a more vibrant and accessible color palette.
2025-10-02 01:08:50 +05:30
cogwheel0
ff02af1e89 refactor: centralize conversation cache management
- Introduced a new method `refreshConversationsCache` to streamline the invalidation of the conversations provider and optionally the folders provider.
- Updated various components to utilize the new cache management method, enhancing code clarity and reducing redundancy.
- This refactor improves the efficiency of conversation and folder synchronization across the application.
2025-10-02 00:30:14 +05:30
cogwheel0
ebe6cec17c feat: enhance routing and connectivity handling
- Added a new route for connection issues, allowing users to navigate to a dedicated page when the server is unreachable.
- Updated the RouterNotifier to manage navigation based on server connectivity status and authentication state.
- Improved the handling of offline scenarios by integrating connectivity checks into the routing logic.
- Enhanced localization support for connection issue messages in multiple languages.
- Refactored the OfflineIndicator widget to streamline the display of connectivity status without unnecessary complexity.
2025-10-01 23:26:12 +05:30
cogwheel0
8a8ba76298 refactor: update providers to use keepAlive for enhanced state management
- Changed multiple provider annotations to `@Riverpod(keepAlive: true)` to improve state retention and management across the application.
- This update aligns with recent enhancements in state management practices, ensuring better performance and user experience throughout the app.
2025-10-01 18:32:16 +05:30
cogwheel0
80129c5711 chore: integrate Hive for local storage management
- Added `hive_ce` and `hive_ce_flutter` dependencies for enhanced local storage capabilities.
- Refactored the main application to initialize Hive and migrate existing data.
- Updated storage service implementations to utilize Hive for managing application settings and task queues.
- Removed the deprecated `StorageService` class to streamline the codebase and improve maintainability.
2025-10-01 16:55:44 +05:30
cogwheel0
46bd057089 refactor: enhance chat message handling and scrolling behavior
- Added `sendMessageWithContainer` function to facilitate message sending with a ProviderContainer.
- Updated `_ChatPageState` to improve scroll behavior, ensuring smoother auto-scrolling when near the bottom of the chat.
- Refactored scroll logic to simplify conditions for showing and hiding the scroll-to-bottom button.
- Adjusted the `OptimizedList` widget to correctly handle item indexing based on the reverse property, enhancing list performance and usability.
2025-09-30 21:17:11 +05:30
cogwheel0
7debb7a055 chore: update markdown dependency and refactor streaming handling
- Added `markdown` dependency version `^7.2.1` in `pubspec.yaml`.
- Updated `pubspec.lock` to reflect the direct dependency change.
- Refactored `streaming_helper.dart` to utilize `StreamingResponseController` for better stream management.
- Enhanced `ChatMessagesNotifier` to handle message streams with improved formatting and error handling.
- Updated `StreamingMarkdownWidget` to streamline markdown rendering and support new configurations.
2025-09-30 20:49:02 +05:30
cogwheel0
d3b64716b9 chore: update markdown dependency and configuration
- Replaced `gpt_markdown` with `flutter_markdown_plus` in `pubspec.yaml`.
- Updated `pubspec.lock` to reflect the new dependency version.
- Modified `markdown_config.dart` to generalize styling configuration.
- Updated `streaming_markdown_widget.dart` to utilize `MarkdownBody` for rendering markdown content.
2025-09-30 19:53:19 +05:30
cogwheel0
12a6a07043 chore: update dependencies and remove unused files
- Replaced `flutter_highlight` with `gpt_markdown` in `pubspec.yaml`.
- Updated `pubspec.lock` to reflect new dependencies and removed obsolete ones.
- Deleted outdated Riverpod migration documentation files to streamline the project.
- Added new configurations for GptMarkdown styling in `markdown_config.dart` and updated the streaming markdown widget implementation.
2025-09-30 16:02:34 +05:30
cogwheel0
17c24a7925 refactor: migrate Phase 6 internal providers (1-2/2)
Migrated internal/private providers:
- _conversationsCacheTimestamp → _ConversationsCacheTimestamp
- _wasOfflineProvider → _WasOffline

Both are private providers with minimal usage.
Phase 6 Complete!
2025-09-30 14:48:44 +05:30
cogwheel0
0ba48030c8 refactor: riverpod 3 2025-09-28 23:18:24 +05:30
cogwheel0
748f2a43a8 refactor: followups design 2025-09-26 00:10:43 +05:30
cogwheel0
3124bccfeb refactor: more logs 2025-09-25 23:22:48 +05:30
cogwheel0
9210b2155a refactor: all logging 2025-09-25 22:36:42 +05:30
cogwheel0
db0261ffed refactor: titles 2025-09-25 21:15:47 +05:30
cogwheel0
5f013b1b73 refactor: formatting 2025-09-24 12:00:49 +05:30
cogwheel0
b8c024d0b0 refactor: improvements 2025-09-24 10:52:15 +05:30
cogwheel0
8da8a78001 refactor: perf improvements 2025-09-23 11:00:25 +05:30
cogwheel0
41216ea432 refactor: optimize codebase 2025-09-23 00:58:58 +05:30
cogwheel0
462bf4cde2 refactor: migrate to riverpod 3 2025-09-21 22:31:44 +05:30
cogwheel0
8d89fd79b1 feat: model and user avatars 2025-09-20 22:03:55 +05:30
cogwheel0
1fc1cf9739 feat: title on the header 2025-09-19 23:35:46 +05:30
cogwheel0
e4dfb0ad09 refactor: visual tweaks 2025-09-19 21:12:15 +05:30
cogwheel0
f80930685c refactor: fix lints 2025-09-16 18:15:44 +05:30
cogwheel0
7e6009d2cc refactor: text streaming 2025-09-13 10:16:58 +05:30
cogwheel0
1df69b0b65 fix: custom headers with sockets 2025-09-08 13:18:38 +05:30
cogwheel0
c78d1448b8 feat: enter to send option and one tap to focus keyboard 2025-09-08 01:05:48 +05:30
cogwheel0
adbe3eb85f refactor: dialog boxes 2025-09-07 23:48:47 +05:30
cogwheel0
58d5cf076b refactor: pre seed responses 2025-09-05 11:15:39 +05:30
cogwheel0
6af18c97b2 refactor: image gen 2 2025-09-05 02:55:11 +05:30
cogwheel0
d71d18f78d feat: toggle full model name display in header 2025-09-02 22:55:54 +05:30
cogwheel0
093ba353fd refactor: web search and message history 2025-09-02 22:17:54 +05:30
cogwheel0
3c082ffc9e refactor: action buttons and scroll to bottom ui/ux 2025-09-02 20:43:57 +05:30
cogwheel0
4491fa5861 refactor: image uploads 2025-09-02 19:08:23 +05:30
cogwheel0
77e6a15215 refactor: more flows 2025-09-02 13:20:02 +05:30
cogwheel0
dc231cfa52 refactor: migrate image gen to task based 2025-09-02 11:12:48 +05:30
cogwheel0
66935d1b0f refactor: cleanup 2025-09-02 00:04:21 +05:30
cogwheel0
1b65743b06 feat: task based send flow 2025-09-01 23:41:22 +05:30
cogwheel0
a686d8d6a8 fix: regressions 2025-08-28 19:17:05 +05:30
cogwheel0
6427caaa5d fix: text sharing 2025-08-28 18:54:06 +05:30
cogwheel0
a2e219d03b refactor(theme): update theme colors and remove unused app_theme references for improved consistency 2025-08-28 10:29:58 +05:30
cogwheel0
e265d35579 chore: remove google_fonts dependency and update typography to use system fonts 2025-08-28 10:12:59 +05:30
cogwheel0
f934c59d19 refactor: optimize chat input layout and enhance drawer functionality with loading indicators 2025-08-25 15:50:25 +05:30
cogwheel0
3783ca26b4 chore: more localizations 2025-08-23 23:56:53 +05:30
cogwheel0
a852ce7848 feat: localisation with en, de, fr and it 2025-08-23 20:09:43 +05:30
cogwheel0
b898adbe40 refactor: cleanup unsued files 2025-08-23 11:54:41 +05:30
cogwheel0
2cdbbbc1d3 refactor: ui/ux refinements 2025-08-22 01:24:04 +05:30
cogwheel0
4dc9ce1762 refactor: debug logs 2025-08-20 22:15:26 +05:30
cogwheel0
9a5c5a573f fix: fixed more widgets 2025-08-20 18:39:30 +05:30