shell-updates#440
Open
pr3khar wants to merge 8 commits into
Open
Conversation
- Sidebar: stop click propagation on toggle button and collapsed
NewChatButton so toggle/new-chat intent always wins over the
container's click-to-expand handler
- Sidebar: collapse the two isMobile effects into one, using a
previousIsMobileRef to detect viewport transitions and avoid the
stale-closure race between the open-state setter and animation
state machine
- useComposerState: emit a one-shot dev-mode warning when the hook
is used outside a ComposerStateProvider (silent fallback to local
state otherwise breaks cross-component features like isDrafting)
- ThreadListContainer (BottomTray, CopilotShell): apply
portalThemeClassName to portaled DropdownMenu.Content so non-default
themes propagate into the dropdown subtrees
- ConversationStarter (Shell, BottomTray, CopilotShell): type
isValidElement<{ children?: ReactNode }>(icon) so icon.props.children
is accessible under React 19's stricter ReactElement typing
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
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.
Shell parity and layout (Shell, Bottom tray, Copilot Shell)
Aligned behavior and visuals across standalone Shell, BottomTray, and CopilotShell: containers, headers, threads, thread lists, welcome screens, conversation starters, and composers.
CopilotShell: added a ThreadListContainer plus threadList.scss so its thread list matches the other layouts more closely.
API and state:
SharedChatUIProps / OpenUIChat: new optional showAssistantLogo; composed layouts pass it through.
useScrollToBottom: respects scroll-padding-top when scrolling to the last user message, and clamps scroll position with Math.max(..., 0) to avoid odd negative scrolls.