Skip to content

Collapse channel header actions#901

Merged
wesbillman merged 2 commits into
mainfrom
kennylopez-collapsible-header-actions
Jun 8, 2026
Merged

Collapse channel header actions#901
wesbillman merged 2 commits into
mainfrom
kennylopez-collapsible-header-actions

Conversation

@klopez4212

Copy link
Copy Markdown
Contributor

Summary

  • Collapse channel header actions into a compact menu when split panels narrow the header
  • Hide topbar search and header actions in single-panel thread view
  • Make thread-summary participant avatars 28px with a consistent ring

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.ts
  • bin/pnpm --dir desktop typecheck
  • bin/pnpm --dir desktop build
  • bin/pnpm --dir desktop exec playwright test tests/e2e/messaging.spec.ts --project=smoke -g "narrow thread view|single-panel thread view"

@klopez4212 klopez4212 changed the title [codex] Collapse channel header actions Collapse channel header actions Jun 8, 2026
@klopez4212 klopez4212 marked this pull request as ready for review June 8, 2026 15:49
@klopez4212 klopez4212 requested a review from a team as a code owner June 8, 2026 15:49

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 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".

Comment on lines 140 to +142
<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 }}

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge 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 👍 / 👎.

@wesbillman wesbillman enabled auto-merge (squash) June 8, 2026 16:12
@wesbillman wesbillman merged commit ecca5e7 into main Jun 8, 2026
14 checks passed
@wesbillman wesbillman deleted the kennylopez-collapsible-header-actions branch June 8, 2026 16:18
tellaho pushed a commit that referenced this pull request Jun 8, 2026
Signed-off-by: Taylor Ho <taylorkmho@gmail.com>
tlongwell-block pushed a commit that referenced this pull request Jun 9, 2026
* 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
tlongwell-block pushed a commit that referenced this pull request Jun 9, 2026
* 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
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.

2 participants