Repository navigation
会话页 PR-3 + PR-6:单行工具胶囊、菜单分组、紧凑宽度会话抽屉 - #9
Merged
Merged
Conversation
…ompact session drawer PR-3 (P0-4, P0-5): the floating tool overlay above the composer becomes one quiet capsule — status icon, tool title, elapsed, stop — instead of the 38dp full-width bar with its 100x65 preview thumbnail and chevron paging. The pill pins the latest tool of the streaming turn only, and the mount gate and the data pipeline now share one projection (floatingOverlayBlocks) that also honours the show-floating-bar pref and the streaming state, so the bottom reserve collapses to 20dp the moment the turn ends instead of keeping a 79dp dead gap. Fold-on mode stays single-channel (no pill at all). The now-inert "Tool Preview Window" appearance switch is removed; the sub-agent chip's tool titles cover the common tools (grep, web_fetch, memory, sub-agents) so they no longer fall through as raw tool names. PR-6 (P0-6, P1-6): the chat "..." menu is grouped under section headers (quick / session / tools / settings) and the three high-frequency entries (terminal, browser, chat files) promote to direct top-bar icons from 600dp up, staying in the menu's quick section below that. Compact width gains a modal session drawer owned by ChatSplitScaffold: edge-swipe or the nav-slot button opens the same SessionListScreen the two-pane sidebar uses, so chat switching goes through the pane navigator in all three presentations and no longer requires popping back to the full list screen.
…Class package, positional args on function-type call - ChatScreen.kt: add the MinisMenuSectionHeader import (4 call sites referenced it with only MinisMenu/MinisMenuDivider imported). - ChatScreenHelpers.kt: WindowSizeClass lives in androidx.window.core.layout, not androidx.compose.material3.adaptive (matches the import ChatSplitScaffold already uses). - ChatSplitScaffold.kt: the listPane slot is a function TYPE; named arguments are prohibited on its call sites. Pass `embedded` positionally (true in the drawer, false in the pane/sidebar).
…r through the detailPane slot - ChatAssistantMessageUI.kt: TextOverflow was imported twice (lines 25 and 92) — ambiguous import error. - ChatSplitScaffold.kt: openSessionDrawer is a LOCAL of ChatSplitScaffold, but the Route-level detailPane lambda referenced it (unresolved). Add onOpenSessionDrawer as the 7th parameter of the detailPane function TYPE; the scaffold passes `if (twoPane) null else openSessionDrawer` at its internal call site, and the Route lambda forwards it to ChatScreen unchanged.
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.
做了什么
PR-3(P0-4 / P0-5)
PR-6(P0-6 / P1-6)
测试
未做