Skip to content

Replace talk detail bottom sheet with full-screen navigation#418

Open
Copilot wants to merge 1 commit intomainfrom
copilot/change-to-full-screen-layout
Open

Replace talk detail bottom sheet with full-screen navigation#418
Copilot wants to merge 1 commit intomainfrom
copilot/change-to-full-screen-layout

Conversation

Copy link
Copy Markdown

Copilot AI commented Apr 8, 2026

Talk details are the core content of the app — presenting them in a modal bottom sheet undersells their importance and limits screen real estate. Switch to a full-screen destination with a top-bar back arrow on narrow screens, consistent with how speaker details already behave.

Changes

  • SessionDetailKey scene strategy: swap BottomSheetSceneStrategy.bottomSheet() for emptyMap() on narrow screens — entry now participates in standard push navigation
  • Top bar / back button: showTopBar and showBackButton are always true (no longer gated on wide screen)
  • Shared-element transition scope: animatedVisibilityScope is now always LocalNavAnimatedContentScope.current (was null in the overlay path where the scope was unavailable)
  • sceneStrategies: BottomSheetSceneStrategy removed from NavDisplay — no remaining entries use it

Wide-screen list-detail layout is unchanged.

On narrow screens, the session detail was shown as a ModalBottomSheet
overlay. This changes it to a regular full-screen push navigation entry
with a top bar and back arrow, matching the intent of the main content.

- Remove BottomSheetSceneStrategy.bottomSheet() metadata from
  SessionDetailKey on narrow screens (use emptyMap() instead)
- Always show back button and top bar in SessionDetailScreen
- Always use LocalNavAnimatedContentScope for animated visibility scope
- Remove unused bottomSheetStrategy from NavDisplay.sceneStrategies

Agent-Logs-Url: https://github.com/paug/AndroidMakersApp/sessions/fb32d396-6686-453a-a984-e98401f2f5f7

Co-authored-by: benju69 <2486590+benju69@users.noreply.github.com>
@benju69 benju69 marked this pull request as ready for review April 8, 2026 19:47
Copilot AI review requested due to automatic review settings April 8, 2026 19:47
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Switches talk/session details on narrow screens from a modal bottom sheet to a full-screen navigated destination (with a consistent top app bar + back arrow), while keeping wide-screen list-detail behavior unchanged.

Changes:

  • Makes SessionDetailKey use standard navigation on narrow screens by removing bottom-sheet metadata.
  • Always shows the SessionDetailScreen top bar and back button (no longer wide-screen only).
  • Removes BottomSheetSceneStrategy from NavDisplay and always provides LocalNavAnimatedContentScope for shared-element/visibility transitions.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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