Skip to content

feat: desktop UI, scroll fix, and model selection in composer - #16

Merged
junjieit merged 7 commits into
mainfrom
feat/desktop
Jul 8, 2026
Merged

feat: desktop UI, scroll fix, and model selection in composer#16
junjieit merged 7 commits into
mainfrom
feat/desktop

Conversation

@junjieit

@junjieit junjieit commented Jul 4, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Desktop navigation layouts and loading states - New responsive layouts optimized for desktop
  • Desktop screens and tests - Full desktop UI implementation with test coverage
  • Scroll jump fix - Prevent scroll position jump when loading older messages using
  • Model selection in composer settings overlay - Add model override field with provider API-based model fetching and custom model input

junjieit added 4 commits July 4, 2026 20:47
Use ListView.builder(reverse: true) so that prepended history
messages appear at the end of the reversed list, keeping the
scroll position stable. Remove the broken viewport-anchor
correction system.
- Add model override field to SessionSummary (Dart + Rust)
- Add model parameter to updateSessionDefaults bridge API
- Add Model row in composer settings overlay (between Provider and Reasoning)
- Fetch available models from provider API (GET {baseUrl}/models)
- Support Custom model text input for manual model entry
- Apply session-level model override in resolve_provider_config
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jul 4, 2026

Copy link
Copy Markdown

Deploying omni-code with  Cloudflare Pages  Cloudflare Pages

Latest commit: 134112a
Status: ✅  Deploy successful!
Preview URL: https://f56586dd.omni-code.pages.dev
Branch Preview URL: https://feat-desktop.omni-code.pages.dev

View logs

junjieit added 3 commits July 4, 2026 23:37
- Add i18n keys for copySessionId, desktop rail panel labels
- Restore 15s cache TTL in _CacheEntry for listSessions/listProjects/listProjectSessions
- Fix listMessages to paginate through all pages
- Add model field comparison in didUpdateWidget
- Use trimLeft in SSE field parsing for backward compatibility
- Increase _messagePageLimit to 12 and reduce max sequential fetches to 3
- Refactor navigation panel with improved desktop sidebar and drawer
- Enhance session detail screen with better message rendering and controls
- Update home screen layout for desktop experience
- Add model selection in composer settings overlay
- Remove unused design mockup files
- Clean up localization strings
- Add and update tests for navigation, home screen, and settings
@junjieit
junjieit merged commit 969677a into main Jul 8, 2026
2 checks passed
junjieit added a commit that referenced this pull request Jul 8, 2026
- Add i18n keys for copySessionId, desktop rail panel labels
- Restore 15s cache TTL in _CacheEntry for listSessions/listProjects/listProjectSessions
- Fix listMessages to paginate through all pages
- Add model field comparison in didUpdateWidget
- Use trimLeft in SSE field parsing for backward compatibility
- Increase _messagePageLimit to 12 and reduce max sequential fetches to 3
@junjieit
junjieit deleted the feat/desktop branch July 8, 2026 12:43
@junjieit
junjieit restored the feat/desktop branch July 8, 2026 12:48
@junjieit
junjieit deleted the feat/desktop branch July 8, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant