Skip to content

feat(mobile): hide the tablet sidebar and open threads beside the chat - #9568

Open
FL-TechCouncil wants to merge 10 commits into
block:mainfrom
FL-TechCouncil:ipad-sidebar-thread-pane
Open

FL-TechCouncil wants to merge 10 commits into
block:mainfrom
FL-TechCouncil:ipad-sidebar-thread-pane

Conversation

@FL-TechCouncil

@FL-TechCouncil FL-TechCouncil commented Nov 16, 2026 •

Copy link
Copy Markdown

On tablets, the conversation sidebar can now be hidden, and threads open beside the conversation instead of replacing it. This follows the sidebar model of iPadOS apps such as Mail and Notes. It builds on #9024, which makes the app run full screen on iPad.

What changes

Sidebar

  • A sidebar button on the conversation header hides and shows the sidebar. On a hardware keyboard, Ctrl+Cmd+S does the same. The choice lasts for the app session.
  • The sidebar hides itself when the conversation would get narrower than 560 pt, for example on an 11-inch iPad in portrait. The button then shows it over the conversation, above a scrim.
  • Tapping the scrim, pressing Escape, system Back or picking a chat closes the overlay. A second Back while it slides away doesn't close the conversation.
  • While the overlay is open, it is modal: screen readers and keyboard focus stay in the sidebar.
  • With no conversation open, the sidebar always shows.

Threads

  • A thread opens in a pane beside the conversation when the conversation keeps at least 480 pt. On an 11-inch iPad, the sidebar steps aside to make room; a 13-inch iPad fits all three.
  • When there is no room, the thread covers the conversation as before, with Back and the edge swipe.
  • A reply draft survives rotating between the two layouts.
  • A page opened from the conversation, such as a channel link, closes the thread. The media viewer, sheets and dialogs leave it open, and Back closes them before the thread.
  • A draggable divider resizes the thread pane. Screen readers adjust it as a slider. The sidebar stays put during a drag and settles once you let go.

iPhone Duo lying open in landscape

  • Flat in landscape, the Duo reports no hinge, so its list and conversation were a plain two-pane layout. Only the side strip kept them out of the tablet layout. They now get the same sidebar button (shown in the strip), Ctrl+Cmd+S and threads beside the conversation.
  • The layout is worked out beside the strip. The panes at either edge still reach under it, and content insets keep their controls clear. This also stops a thread pane from sitting under the strip.
  • The list stays docked by default, as before: on a Duo it hides only when you hide it or a thread needs the room.
  • Held like a book, the Duo keeps its hinge-bound panes, with no button. A hidden list stays hidden when the hinge moves back to flat.

Other changes

  • Home's Search / New / avatar bar moves into the sidebar on tablets, so it no longer overlaps the composer. feat(mobile): run the iOS app full screen on iPad #9024's device test found that overlap.
  • Thread call sites open threads through a new openThreadPane, which pushes a page as before when there is no tablet pane.
  • A disabled NavigatorPopHandler no longer pops the conversation when system Back is blocked. Before this, Back with a thread open on an Android tablet closed the conversation instead of the thread.

Unchanged: phones, a Duo held like a book (hinge-bound panes) and Settings (its list is its only navigation).

Testing

  • mobile/test/shared/widgets/conversation_tablet_layout_test.dart:
    • A table test of the layout rules, including dragged widths and the sidebar held in place mid-drag.
    • A journey test at 11-inch landscape and portrait sizes. It covers:
      • hiding and showing the sidebar
      • a thread beside the conversation and its resize, by drag and by slider action
      • rotating with drafts kept
      • the portrait overlay: scrim semantics, picking a chat, Ctrl+Cmd+S and Escape, modal semantics, system Back, and rotating an open overlay
      • Back closing a thread
      • focus moving into the sidebar overlay and back to the composer
      • an overlay pending while the window is compact
      • a page pushed above the conversation closing the thread, with threads from that page pushing
      • the media viewer keeping the thread open, and Back closing the viewer first, including a viewer that replaces another
      • a second Back while the overlay slides away
      • screen readers reaching the conversation beside a thread, and losing it while a sheet is open over the thread (and the thread while one is open over the conversation)
    • A journey on an iPhone Duo lying open in landscape (FoldTestPose.duoInnerLandscape): the list docked by default, hidden and shown with the conversation reaching under the strip and a draft kept, a thread beside the conversation with both keeping their minimum widths clear of the strip, and the book pose keeping the list with no button. It fails when the strip exclusion is restored or the Duo docking rule is removed.
  • I checked that the journey fails when I undo each fix: the drag, the mid-drag hold, the stale overlay, Back with the overlay open, the overlay semantics, the double Back, the pushed-page thread, the focus restore, the compact overlay, the media viewer keeping the thread, Back closing the viewer first, and the second Back during the slide.
  • channel_detail_page_test.dart, "Activity reopens a thread draft after Back": on a tablet the Activity list now steps aside while the thread is open, so the test checks that the thread opened in the pane and shows the draft.
  • dart format, flutter analyze and the full flutter test suite pass (5,926 tests after the Duo change). An agent review of the Duo commit found no blockers; its two test gaps (strip content insets, the docking width table) are now covered. The mobile file-size check passes.
  • iPhone Duo simulator (iOS 27.2), #general: lying flat in landscape, the list docked by default, the strip's sidebar button hid it so the conversation filled the display, half opening like a book brought back the hinge-bound panes with no button, and laying it flat again kept the list hidden until the button showed it. I didn't open a thread beside the conversation on the simulator; only the journey covers that.
  • Device: iPad Pro 11-inch (M5), iPadOS 26.7.1, profile build with feat(mobile): run the iOS app full screen on iPad #9024's two changes applied locally. I tested both orientations, the sidebar toggle and overlay, threads beside and covering, rotation, keyboard, Split View, and resizing the thread pane. I retested the final commit on the same iPad: the overlay across rotation, the overlay with keyboard and VoiceOver, threads beside and covering, resizing, and drafts across rotation. After the review fixes, I retested a thread with a channel link pushed above it, keyboard focus after closing the overlay, the sidebar toggle, resizing and rotation. After the re-review fixes, I retested the image viewer with a thread open, Back from the viewer, a channel link closing the thread, and the overlay with a double Escape.

Not tested

  • Android tablets on a device. Widget tests cover the Android Back paths.
  • On Android, Ctrl+Cmd+S maps to Ctrl+Meta+S, which may want a platform-specific shortcut.
  • Deep links and notifications still open threads full screen, as before.
  • A thread beside the conversation on the Duo simulator (the author tested the Duo change on an iPhone Duo).

Status

Ready. A later fix made screen readers reach the conversation beside a thread: the thread pane's page routes had blocked semantics across the whole pane. The thread pane now has its own semantics container. Because each pane's sheets then block screen readers only inside that pane, the pane also tracks pop-up routes (sheets, menus) over the conversation and the thread, and hides the other panes from screen readers while one is open. The tablet journey asserts both, and each assertion fails without its fix.

An agent review of the fix found the sheet problem, which the second commit fixes. The author tested the fixes with VoiceOver on an iPhone Duo, after the earlier tests on iPad and iPhone Duo.

buzz-review-completed

🤖 Generated with Claude Code

@github-actions

github-actions Bot commented Nov 16, 2026 •

Copy link
Copy Markdown

🔐 Codex Security Review

Status: review required for the current range.

The current range is 55823dd54f104abca39bdfece49d1cb5e30ca628...55594ded4737315f7e778bc3bbb2cb00dd1a663a.
A new review must complete for this exact range. When manual authorization
is required, a user with write access must comment exactly
@buzz-security-review 55594ded4737315f7e778bc3bbb2cb00dd1a663a to authorize a new review.
Any previous review applies only to its recorded range.

@FL-TechCouncil
FL-TechCouncil marked this pull request as ready for review November 16, 2026 06:40
@FL-TechCouncil
FL-TechCouncil requested a review from a team as a code owner November 16, 2026 06:40

@joahg joahg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 I reviewed the full diff at e074f87 and ran conversation_tablet_layout_test.dart, which passes. This changes the tablet UI, so I'm leaving a comment rather than an approval: it needs a design or core-team reviewer. I found nothing blocking. Two P2s look worth fixing first.

P2: a thread opened on a pushed page outlives that page. openThreadPane (adaptive_conversation_pane.dart:932) checks only selectedId and the sidebar scope, and threadBuilder is cleared only by open(), clear() and closeThread(). Steps on a tablet:

  1. In channel A, tap a #channel-b link. openChannelLink pushes ChannelDetailPage(B) onto the detail navigator.
  2. Open a thread in B. It opens in the pane.
  3. Press Back to A. B's thread is still showing beside A.

The reverse also happens: A's open thread stays beside B. Possible fixes:

  • Use the pane only when the caller is the base route (isBaseRouteOf), and push otherwise.
  • Or close the thread when the detail navigator pushes or pops.

P2: keyboard focus stays on the hidden sidebar after the overlay closes. The restore in the focus effect (~line 263) runs while the detail and thread panes are still ExcludeFocus'd by the 240 ms close animation, so the request is dropped. A probe test showed primary focus still on conversation-list after Escape or after picking a chat. On an iPad with a keyboard, typing goes nowhere until you tap the composer. Restoring focus once overlaid turns false should fix it.

P3s:

  • openThreadPane calls ConversationPaneScope.maybeOf, which uses dependOnInheritedWidgetOfExactType. That subscribes every caller (bubbles, rows, swipe reply, and _MessageList through the initial-thread effect) to the controller. As a result, the message list rebuilds on every sidebar toggle and thread open or close, which is what the isActiveOf doc comment set out to avoid. A non-subscribing lookup (getInheritedWidgetOfExactType(...)?.notifier) is enough in event handlers.
  • The stale-overlay reset (~line 343) runs only when layout != null && docked. If the window goes compact with the overlay open (for example in Split View), sidebarOverlay stays true, and the overlay reappears by itself when the window widens again.
  • The minimum list width moved from 280 to 288 for every wide pane, including Settings and Duo, which the description lists as unchanged. Should it apply only when tablet is set?
  • The Ctrl+Cmd+S activator repeats while the keys are held; includeRepeats: false would stop the sidebar flickering.
  • deep_link_dispatcher.dart still pushes a full-screen ChannelDetailPage with initialThreadRootId, so notification and link taps on a tablet don't use the side pane. That's fine if it's out of scope.

Tests:

  • In the journey test, the conversation-field tap (~line 369) lands on the frosted app bar title (it logs a hit-test warning).
  • Nothing asserts focus after the overlay closes, which is how the focus P2 slipped through.
  • In the updated channel_detail_page_test.dart case, adding expect(find.byKey(const ValueKey('conversation-thread')), findsOneWidget) would check that the thread really opened in the pane.

What I checked and found correct:

  • The ConversationLayout.resolve width math: conversation ≥ 480, a beside thread ≥ 320, and the dock boundary is consistent.
  • Divider clamping, the mid-drag hold and the slider semantics.
  • Keyed panes keep their state, and drafts survive rotation.
  • The Back order: overlay, then thread, then conversation. The disabled NavigatorPopHandler guard is correct.
  • Every ThreadDetailPage construction goes through openThreadPane with the same arguments as before.
  • The phone path pushes the same route as before.
  • Nested threads stack inside the pane.
  • The home bar conditions reduce to the old expressions on phones.

I didn't run anything on a device or on Android.

@FL-TechCouncil
FL-TechCouncil marked this pull request as draft November 16, 2026 08:20
@FL-TechCouncil
FL-TechCouncil marked this pull request as ready for review November 16, 2026 08:52
@FL-TechCouncil

Copy link
Copy Markdown
Author

Thanks for the thorough review. I've addressed it in c171409:

P2: thread outliving a pushed page. I did both of the fixes you suggested:

  • openThreadPane uses the pane only when the caller is the selected conversation page. Pages pushed above it push their threads as before.
  • A page pushed onto the conversation navigator closes the thread pane. Sheets and dialogs leave it open.

P2: focus after the overlay closes. The detail and thread panes now stop excluding focus as soon as the overlay starts closing, rather than when the slide ends, so focus returns to where it was. When you pick a different chat, there's nothing to return to, so focus isn't restored.

P3s:

  • openThreadPane no longer subscribes callers to the controller.
  • A compact window now clears a pending overlay too.
  • The 288 pt minimum sidebar width now applies only to tablets. Settings and Duo keep 280.
  • ⌃⌘S uses includeRepeats: false.
  • Deep links and notifications still push full screen. I've left that out of scope.

Tests: I added journey steps for:

  • focus moving into the sidebar and back to the composer, which also replaces the conversation-field tap that triggered the hit-test warning
  • an overlay that is pending while the window is compact
  • a pushed page closing the thread, and threads from that page pushing

I also added your conversation-thread assertion to the Activity case. Each new step fails when I undo its fix. Format, analyze and the full suite pass.

I retested it on the iPad (11-inch, both orientations, with a hardware keyboard) and it's ready for another look.

@joahg joahg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 I re-reviewed c171409 against my earlier notes. Both P2s and the P3s are fixed. conversation_tablet_layout_test.dart (2) and channel_detail_page_test.dart (478) pass.

  • Thread after Back: openThreadPane uses the pane only for the selected page (selectionKey), and pages pushed above it push their threads. _ThreadCloser sits only on the detail navigator, so pushes inside the thread pane, sheets and dialogs leave the thread open. I checked that a plain showDialog keeps it.
  • Focus: ExcludeFocus follows overlayOpen, and ExcludeSemantics still follows overlaid, so screen readers stay out until the slide ends. After Escape, focus is back on the composer while the scrim is still fading. When you pick a different chat, focus lands in the new detail route's scope, and ⌃⌘S and Escape keep working.
  • P3s:
    • The pane lookup is non-subscribing.
    • A compact window clears a pending overlay.
    • The 288 pt minimum applies only to tablets.
    • includeRepeats: false is set.

One new P2: the full-screen media viewer now closes the thread (adaptive_conversation_pane.dart:1042-1044).

  • openImageViewer and openVideoViewer (media_viewer_page.dart) push a PageRouteBuilder onto the detail navigator. That is a PageRoute whose settings aren't a Page, so _ThreadCloser closes the thread.
  • In landscape with a thread open, tapping an image in the conversation removes the thread, and closing the viewer doesn't bring it back. On e074f87 the thread stayed.
  • Possible fixes:
    • Close only for conversation-bearing pages.
    • Mark the viewer routes to opt out (a RouteSettings.name or a small mixin checked in didPush).
    • Hide the pane while such a route is on top and restore it on pop.

P3s, not blocking:

  • Since overlayOpen goes false on the first frame of the close, a second Back within the ~240 ms animation now closes the conversation. Earlier, the animation swallowed it. The code comment says this is intended. If it isn't wanted, keep Back on the overlay while overlaid.
  • ModalRoute.of(context) in openThreadPane still subscribes callers to route changes. A non-dependent lookup would finish the earlier rebuild fix.

This is still a UI change, so it needs a design or core-team reviewer for approval.

@FL-TechCouncil
FL-TechCouncil marked this pull request as draft November 16, 2026 13:37
@FL-TechCouncil
FL-TechCouncil marked this pull request as ready for review November 16, 2026 13:52
@FL-TechCouncil

Copy link
Copy Markdown
Author

Thanks for the re-review. I've addressed the new findings in cc14bd5:

P2: the media viewer closes the thread. The image and video viewers now use a route marked KeepsConversationThread, so pushing one leaves the thread open. Fixing it showed a second problem: with a thread open, Back closed the thread and left the viewer on screen. The detail navigator's observer now tracks routes pushed above the conversation, and Back closes the newest of those first, then the thread. That covers sheets on the detail navigator too.

P3s:

  • A second Back while the overlay slides away is now spent on the overlay, so a double press no longer closes the conversation.
  • openThreadPane uses ModalRoute.settingsOf, which depends only on the route's settings, so callers don't rebuild on route changes.

Tests: I added journey steps for the viewer keeping the thread, Back closing the viewer first, and the second Back during the slide. Each step fails when I undo its fix. Format, analyze and the full suite pass.

@joahg joahg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Thanks, the earlier findings are addressed:

  • The full-screen image/video viewers now push a route marked KeepsConversationThread, and _DetailRoutes.didPush skips closeThread() for it, so opening the viewer no longer closes the thread. The tablet journey test covers open → thread still there → Back closes the viewer only.
  • A second Back during the overlay slide-out is swallowed, and openThreadPane uses ModalRoute.settingsOf so it no longer subscribes to route changes.

One remaining nit:

  • P3, adaptive_conversation_pane.dart _DetailRoutes: it overrides didPush/didPop/didRemove but not didReplace, so a route arriving via pushReplacement never enters _above and Back would go to the thread instead. I don't see a caller doing that today.

Leaving this as a comment since it changes mobile UI; it needs a design or core-team reviewer for approval.

@FL-TechCouncil
FL-TechCouncil marked this pull request as draft November 16, 2026 17:29
@FL-TechCouncil
FL-TechCouncil marked this pull request as ready for review November 16, 2026 18:06
@FL-TechCouncil

Copy link
Copy Markdown
Author

Thanks. I've fixed the didReplace nit in 24c0f7d: _DetailRoutes now drops the old route and tracks the new one, so a page arriving via pushReplacement takes Back before the thread and closes it like a push would. The journey test replaces an open viewer and checks that Back closes it and leaves the thread. It fails without the fix. Format, analyze and the full suite pass.

@joahg joahg left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤖 Re-reviewed at 24c0f7d. The didReplace nit is fixed. _DetailRoutes now swaps the old route for the new one, so a pushReplacement page takes Back before the thread, and the journey test covers it. I have nothing further. I'm leaving this as a comment because it changes mobile UI and needs a design or core-team reviewer.

FL-TechCouncil and others added 4 commits November 21, 2026 10:56
On tablets the conversation sidebar can now be hidden from the
conversation header (or Ctrl+Cmd+S). It hides itself when the
conversation would get too narrow, such as on an 11-inch iPad in
portrait, and the toggle then shows it over the conversation above a
scrim. Tapping the scrim, Escape, system Back or picking a chat closes
it.

Threads open in a pane beside the conversation when both fit, and the
sidebar steps aside to make room. Otherwise the thread covers the
conversation as before. Drafts survive switching between the two on
rotation. A draggable divider resizes the thread pane, and screen
readers adjust it as a slider.

Home's Search / New / avatar bar moves into the sidebar on tablets, so
it no longer overlaps the composer. Phones, Surface Duo and Settings
keep their current layouts.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
- Close the thread pane when a page is pushed above the selected
  conversation, and push threads opened from such pages instead of
  showing them in the pane.
- Return focus to the composer as soon as the sidebar overlay starts
  closing, instead of dropping it while the panes still excluded focus.
- Look the pane up without subscribing in openThreadPane, so rows and
  lists don't rebuild on every sidebar or thread change.
- Clear a pending overlay when the window turns compact.
- Keep the 280 pt minimum sidebar for Settings and Duo; only tablets
  use 288 pt.
- Don't repeat the sidebar shortcut while it is held.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
The image and video viewers push a page onto the conversation navigator,
which closed the thread pane. They now use a route marked
KeepsConversationThread, so the thread stays open beside them.

Back now closes routes pushed above the conversation before the thread,
so it closes the viewer (or a sheet) first rather than the thread.

A second Back while the sidebar overlay slides away is spent on the
overlay instead of closing the conversation, and openThreadPane reads
the route through ModalRoute.settingsOf so callers don't rebuild on
route changes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
_DetailRoutes now handles didReplace, so a route that arrives via
pushReplacement takes Back before the thread pane and closes the thread
like a push would.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
@FL-TechCouncil
FL-TechCouncil marked this pull request as draft November 21, 2026 09:59
@FL-TechCouncil
FL-TechCouncil force-pushed the ipad-sidebar-thread-pane branch from 24c0f7d to 2e56c31 Compare November 21, 2026 10:00
@LucasMoskun

Copy link
Copy Markdown

🤖 I tested this on an iPad simulator, merged with #9024 into main at d1236080e (this branch at 2e56c3175). It does what it says, and it fixes the overlap #9024 has on its own. One accessibility observation at the end is worth a look.

Checks (pinned Flutter 3.47.9, Xcode 26.3)

  • dart format --output=none --set-exit-if-changed .: clean
  • flutter analyze: no issues
  • scripts/mobile-test-shard.sh shards 0, 1 and 2 of 3: 5,925 passed, 0 failed
  • flutter build ios --simulator --debug --no-pub: builds

On the simulator (iPad Pro 11-inch (M5), iPadOS 26.3.1, signed in to a self-hosted community with a test identity)

  • Landscape: the sidebar and conversation sit side by side, and the Search / New bar now sits inside the sidebar. With feat(mobile): run the iOS app full screen on iPad #9024 alone that bar overlaps the composer.
  • Portrait: the sidebar hides itself, the conversation takes the full width, and "Show sidebar" brings the sidebar back over a scrim.
  • "Hide sidebar" and "Show sidebar" work in landscape.
  • Landscape: a thread opens beside the conversation with the drag handle between them, the sidebar hides to make room, and Back closes the thread and returns the sidebar.
  • Portrait: a thread covers the conversation, and Back returns to it.
  • The composer rises above the software keyboard and a message sends.
  • Not exercised: Split View, Slide Over, a hardware keyboard (so not Ctrl+Cmd+S or Escape), the media viewer, VoiceOver itself, and a 13-inch iPad.

One observation. In landscape with a thread open beside the conversation, the XCUITest accessibility snapshot contains the thread pane only. No conversation element is in it: not the composer, "View thread", "Start Huddle" or the sidebar button. The conversation is still visible and still takes taps, since tapping the sidebar button by coordinate opens the overlay. With the thread closed, those elements are all present. The Dart reads as if they should stay (ExcludeSemantics(excluding: threadCovers || overlaid) should be false in that state), so I do not know the cause, and I have not confirmed it with VoiceOver on a device. If it is real, a VoiceOver user could not reach the conversation while a thread is open next to it.

One thing unrelated to this PR: on Xcode 26.3, main does not compile for me until mobile/ios/Runner/IosNavigationBar.swift:320 gets a type annotation (let values: [CGFloat] = [...]). The results above include that one-line local change.

FL-TechCouncil and others added 2 commits November 22, 2026 09:10
…cape

Lying flat in landscape, the iPhone Duo reports no hinge division, so its
list and conversation were a plain two-pane layout that the tablet
sidebar excluded only because of the side strip. The tablet layout now
resolves beside the strip, with the edge panes reaching under it and
content insets keeping their controls clear. The header toggle hides
and shows the list as on iPad, and a thread opens beside the
conversation. The list stays docked by default, as before, and a Duo
held like a book keeps its hinge-bound panes.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
The Duo landscape journey now checks that only the pane reaching the
side strip keeps clear of it, and a table covers docking beside the
strip at both Duo inner widths, with and without a thread.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
@FL-TechCouncil
FL-TechCouncil marked this pull request as ready for review November 22, 2026 09:30
… a thread

The thread pane's page routes block semantics for everything painted
before them in their container, which was the whole pane: with a
thread beside it, the conversation and the sidebar dropped out of the
screen-reader tree. The thread pane now has its own semantics
container, so the block stays inside it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
@FL-TechCouncil
FL-TechCouncil marked this pull request as draft November 22, 2026 10:41
Each pane's routes block screen readers only inside the pane's own
semantics container, so a sheet over the thread or the conversation
left the other panes reachable behind it. The pane now tracks pop-up
routes over the conversation and thread navigators, and while one is
open the other panes leave the semantics tree (the sidebar also leaves
input and focus).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
@FL-TechCouncil

Copy link
Copy Markdown
Author

Thanks for testing this. Your observation was real: with a thread open beside the conversation, the thread pane's page route blocked semantics for the whole pane, so the conversation and the sidebar dropped out of the accessibility tree.

It's fixed in 184ba90, which gives the thread pane its own semantics container. 74269b1 then keeps sheets modal: while a sheet is open over the thread or the conversation, the other panes leave the tree. The tablet journey now asserts both, and fails without each fix. I also checked it with VoiceOver on an iPhone Duo.

The Xcode 26.3 build error on main is separate from this PR; I'll fix it in its own PR.

@FL-TechCouncil

Copy link
Copy Markdown
Author

Thanks for flagging the Xcode 26.3 compile failure on main. Since it's separate from this PR, the [CGFloat] annotation you suggested is now in its own PR, #9867. I could only build it on Xcode 27.2 here, so if you get a chance to confirm it compiles on 26.3 for you, that would be great.

Resolve the conflict in adaptive_conversation_pane.dart by keeping the
thread-pane Navigator and adding main's diagnostic screen observer to it.
Move MediaQueryOverride into its own file to keep the pane under the
1200-line limit.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
Keep main's in-page reply (onReply) ahead of opening a thread, and open
threads through openThreadPane in main's new initial-route helper and
thread media reply. Keep the thread builder beside main's
requireFoldForSplit check in the pane.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Robert Albrecht <139878933+FL-TechCouncil@users.noreply.github.com>
@FL-TechCouncil

Copy link
Copy Markdown
Author

@brow, could you take a look at this when you have time, or point me to whoever should review the tablet UI? joahg's review found nothing blocking but said it needs a design or core-team reviewer.

The branch is up to date with main, CI is green, and it still needs the Codex security review started for the current head (55594ded4). #9866 (resizable sidebar) builds on this PR, so it's waiting on this one too.

This branch has not been deployed

No deployments
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.

3 participants