Collapse channel header actions#901
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f09590a06a
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| <div | ||
| className="flex shrink-0 items-center gap-1" | ||
| style={ | ||
| actionsRightInset ? { marginRight: actionsRightInset } : undefined | ||
| } | ||
| className="absolute top-1/2 z-10 flex shrink-0 -translate-y-1/2 items-center gap-1" | ||
| style={{ right: actionsRightInset }} |
There was a problem hiding this comment.
Reserve space for inset header actions
When a split panel is open and the channel name/status is wide, this branch absolutely positions the actions at right: actionsRightInset but removes them from the header's flex flow, so the title block still lays out underneath the update/action buttons and can overlap them instead of truncating before them. The previous margin-right version reserved that space; please add equivalent right padding or flow spacing when using an inset.
Useful? React with 👍 / 👎.
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
* origin/main: (32 commits) docs: add NIP-ER event reminders (#875) feat(acp): pass slash commands through to ACP connectors (#919) fix(sdk): resolve multi-word display names and add NIP-27 nostr:npub mention extraction (#905) fix(desktop): re-enable mcp_command reconciliation and harden spawn site (#909) Fix desktop DM and sidebar UI polish (#908) Animate reaction counts (#904) Mobile custom emoji + settings redesign (#906) Renew TTL when unarchiving ephemeral channels (#902) chore(release): release version 0.3.13 (#903) Collapse channel header actions (#901) sprout-agent: make Databricks defaults env-only (#868) Restyle settings sections (#894) Add emoji reaction particles (#890) Move settings into the app shell (#893) Tune chat text sizing (#891) Style channel header navigation (#889) fix: rename missed known_acp_provider_exact → known_acp_runtime_exact (#900) chore(deps): update radix-ui-primitives monorepo (#898) chore(deps): update actions/checkout digest to df4cb1c (#897) refactor: rename ACP "provider" to "runtime" across the codebase (#783) ... # Conflicts: # desktop/src/features/agents/ui/CreateAgentDialog.tsx
* origin/main: (32 commits) docs: add NIP-ER event reminders (#875) feat(acp): pass slash commands through to ACP connectors (#919) fix(sdk): resolve multi-word display names and add NIP-27 nostr:npub mention extraction (#905) fix(desktop): re-enable mcp_command reconciliation and harden spawn site (#909) Fix desktop DM and sidebar UI polish (#908) Animate reaction counts (#904) Mobile custom emoji + settings redesign (#906) Renew TTL when unarchiving ephemeral channels (#902) chore(release): release version 0.3.13 (#903) Collapse channel header actions (#901) sprout-agent: make Databricks defaults env-only (#868) Restyle settings sections (#894) Add emoji reaction particles (#890) Move settings into the app shell (#893) Tune chat text sizing (#891) Style channel header navigation (#889) fix: rename missed known_acp_provider_exact → known_acp_runtime_exact (#900) chore(deps): update radix-ui-primitives monorepo (#898) chore(deps): update actions/checkout digest to df4cb1c (#897) refactor: rename ACP "provider" to "runtime" across the codebase (#783) ... Signed-off-by: npub1qyvc0c5kl4gqv2fd97fsk46tu378sqgy35vc83rvgfwne90sel7s0ed67d <011987e296fd5006292d2f930b574be47c7801048d1983c46c425d3c95f0cffd@sprout-oss.stage.blox.sqprod.co> # Conflicts: # desktop/src/features/agents/ui/CreateAgentDialog.tsx
Summary
Testing
bin/pnpm --dir desktop exec biome check src/app/AppShell.tsx src/app/AppShellContext.tsx src/app/AppTopChrome.tsx src/features/channels/ui/ChannelMembersBar.tsx src/features/channels/ui/ChannelScreen.tsx src/features/channels/ui/ChannelScreenHeader.tsx src/features/chat/ui/ChatHeader.tsx src/features/huddle/components/HuddleIndicator.tsx src/features/messages/ui/MessageThreadSummaryRow.tsx tests/e2e/messaging.spec.tsbin/pnpm --dir desktop typecheckbin/pnpm --dir desktop buildbin/pnpm --dir desktop exec playwright test tests/e2e/messaging.spec.ts --project=smoke -g "narrow thread view|single-panel thread view"