fix(frontend): improve mobile chat and expert layouts - #14430
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
🔍 PR Overlap DetectionThis check compares your PR against all other open PRs targeting the same branch to detect potential merge conflicts early. 🔴 Merge Conflicts DetectedThe following PRs have been tested and will have merge conflicts if merged after this PR. Consider coordinating with the authors.
🟢 Low Risk — File Overlap OnlyThese PRs touch the same files but different sections (click to expand)
Summary: 2 conflict(s), 0 medium risk, 3 low risk (out of 5 PRs with file overlap) Auto-generated on push. Ignores: |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## dev #14430 +/- ##
==========================================
- Coverage 81.35% 81.34% -0.01%
==========================================
Files 3517 3518 +1
Lines 263467 263479 +12
Branches 24426 24430 +4
==========================================
- Hits 214336 214335 -1
- Misses 43709 43717 +8
- Partials 5422 5427 +5
Flags with carried forward coverage won't be shown. Click here to find out more.
🚀 New features to boost your workflow:
|
Co-authored-by: GPT-6 (Codex) <agent@example.invalid>
Mobile progress: chat surfaces and expert connectionsBefore is unchanged
Progress evidence, not a merge-ready claim. Desktop comparison, remaining chat surfaces, and admin work are ongoing. Mobile message action opacity was measured at |
Mobile progress: fold state, artifacts, admin, and desktop checksChat/expert before captures use unchanged
Measured results: diagnostics page width 799 → 402px; spending 489 → 402px; expert connection dialog 402px without page overflow. Long chat references now wrap below 1024px; tables/code retain local scrolling. Desktop Copilot remains at 1440px with the same sidebar, content column, and composer arrangement. The expert editor now retains unsaved changes through 360 → 728 → 1024 → 360px, with its Save action reachable in the wide layout. The previous full run passed 612 files / 6,516 tests. Four new admin navigation tests pass, including Escape focus restoration and closing the menu at both desktop breakpoints. Formatting, lint, and TypeScript pass for this expanded patch; another full suite is running. Remaining verification includes the new-layout flag path and further admin/chat interactions. The memory settings route currently waits indefinitely on its legacy flag wrapper in this local LaunchDarkly-free stack; its panel has component test coverage, but I am not claiming full browser verification of that route yet. No admin financial, cleanup, requeue, or deletion action was run. |
|
This pull request has conflicts with the base branch, please resolve those so we can evaluate the pull request. |




































Why / What / How
Chat panels and expert dialogs need to fit narrow phones and adapt when a foldable changes width. This draft starts the responsive pass with full-screen builder and memory chat below 640px, compact share controls, safe-area spacing, and single-column expert connection dialogs on phones. Larger breakpoints retain the existing desktop layout.
Work is ongoing. Before/after screenshots, iPhone-size checks, fold/unfold transition checks, and desktop comparisons will be attached as each surface is verified. Chat and experts are first; admin pages follow.
Changes 🏗️
Agents and large language models used
OpenAI Codex with GPT-6; earlier session work used another Codex model whose exact version is unavailable.
Checklist 📋
For code changes:
Example test plan
For configuration changes:
.env.defaultis updated or already compatible with my changesdocker-compose.ymlis updated or already compatible with my changesExamples of configuration changes