Repository navigation
feat(sessions): full-screen mobile question sheet with persisted draft answers - #447
Merged
Merged
Conversation
Contributor
chriswritescode-dev
changed the base branch from
feat/linked-opencode-servers
to
main
October 20, 2026 02:46
…n-form-prompt # Conflicts: # frontend/src/pages/SessionDetail.tsx
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Stacked on #442. On phones the agent question form (
FormPrompt) now fills the space between the session header and the prompt input as a native-style sheet, and in-progress answers survive minimizing, switching sessions and reloads. Desktop is unchanged.Full-height mobile sheet (
FormPrompt.tsx,SessionDetail.tsx)isFormSheetOpen). The sheet takes the remaining height and the prompt keeps its natural height, so nothing is measured; the keyboard still shrinks the sheet.overscroll-contain) and the footer is one full-width 52px Submit under a gradient fade.useSwipeDismiss, no new dependency) all minimize the sheet./btwquestions can be asked without closing the form.Mobile typography and spacing
Draft answers (
frontend/src/lib/formDrafts.ts)sessionStorageand restored when the form remounts, so minimizing, navigating to another session or reloading no longer discards them.Tests
Known gaps
tailwindcss-animateis not installed, so the motion classes would be no-ops.Summary by CodeRabbit
New Features
Bug Fixes