Skip to content

feat(mobile): keep the thread list beside threads on wide screens - #230

Merged
nixuuu merged 1 commit into
feat/mobile-ux-3from
feat/mobile-ux-4
Nov 5, 2026
Merged

nixuuu merged 1 commit into
feat/mobile-ux-3from
feat/mobile-ux-4

Conversation

@nixuuu

@nixuuu nixuuu commented Nov 5, 2026 •

Copy link
Copy Markdown
Member

Stage 4 of 5, mobile UX: the thread list beside threads on wide screens (foldables, tablets).

Layout

  • From 600 dp window width, the thread and bot list stays beside the open thread, 260–320 dp wide.
  • It highlights the open thread and hides with a header button.
  • Below 600 dp the stack navigation stays.

Live switching: the layout changes with rotation, folding and resizing. The app no longer locks orientation.

Project filter: an active filter is visible.

Hinge: Expo does not expose FoldingFeature. The Galaxy Z Fold hinge does not cover the screen, so the layout needs nothing for it. This is documented.

Checked on a 7.6in Foldable AVD (unfolded at 673 dp; folded simulated with wm size): home, thread, picker, new thread, bot approval, collapsed and restored sidebar, and live switching, in light and dark.

Copy audit (§8):

  • "Hide threads" / "Show threads"
  • "Choose a thread or a bot, or start a new thread."
  • "Search Canopy threads" when filtered, so the filter is not shown by colour alone.

From 600 dp of window width (tablets, unfolded foldables, landscape)
the thread and bot list stays beside the open thread or chat, as on
the desktop web; it marks the open thread and collapses from the
header. Narrow windows keep the list → thread stack. The layout
follows the window width live, so folding and rotating switch it
without a restart, and the app no longer locks to portrait. The
project filter shows when it is on.
@nixuuu
nixuuu added this pull request to stack #232 November 5, 2026 21:54
@nixuuu
nixuuu marked this pull request as ready for review November 5, 2026 21:55
@nixuuu
nixuuu merged commit 8ea99e7 into dev Nov 5, 2026
10 checks passed
@nixuuu
nixuuu deleted the feat/mobile-ux-4 branch November 5, 2026 22:02
nixuuu added a commit that referenced this pull request Nov 6, 2026
On wide windows the stack slid screens in from the side, so the old
screen moved left over the thread list for a moment. Beside the sidebar
screens now fade in place, and the stack is clipped to its own area.
Phones keep the default slide; reduced motion turns it off.

Fixes: #230
nixuuu added a commit that referenced this pull request Nov 6, 2026
On wide windows (unfolded foldables, tablets) the stack slid screens in
from the side. The old screen moved left over the thread list and stayed
visible there for about half a second after switching threads, bots or
opening settings.

**Change** (`apps/mobile/src/app/_layout.tsx`)
- Beside the sidebar, screens fade in place instead of sliding.
- The stack area is clipped (`overflow: hidden`), so a transition never
draws over the sidebar.
- Phones keep the default slide. With reduced motion there is no
transition.

**Checked:** `gen:check`, `typecheck`, `lint`, `format:check`, `expo
lint`. Both Mac emulators are in use by other work, so the device check
is on a preview APK on a Galaxy Z Fold.

**Copy audit (§8):** no UI text changes.

Fixes: #230
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