CL-5863: Channel row ellipsis menu + details panel - #46
Merged
Conversation
Channel rows in the contextual panel (ChannelsBand and LiveActivityBand) now carry a hover-revealed ellipsis menu with Rename (inline) and a Pin/Unpin archive toggle. Both go through the existing settings PATCH via patchChannelSettings (chat/name, chat/pinned) — no new endpoint. Also adds a channel-details panel contribution: when a specific channel is selected, the panel prints its name, kind, and pinned state above the list, using the activity data already in flight (no extra fetch). Pure helpers (panelRowMenuLabels, panelRenamePayload, channelDetails) are exported for unit tests.
TheGreatAxios
force-pushed
the
cl-5863-channel-ellipsis
branch
from
August 10, 2026 00:23
961a1e8 to
67ed60c
Compare
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.
Closes CL-5863
What
Brings the channel row ellipsis menu and a channel-details contribution to the shell contextual panel.
Changes
ChannelsBandandLiveActivityBand): hover-revealed menu with Rename (inline) and a Pin/Unpin archive toggle. Both flow through the existing singlePATCH /channels/:id/settingsroute viapatchChannelSettings(chat/name,chat/pinned) — no new endpoint, no new API surface.panelRowMenuLabels,panelRenamePayload,channelDetails) are exported and unit-tested.The row pattern mirrors
packages/chat-ui/src/sidebar.tsx'sChannelRow; the panel version is a strict subset (rename + pin only — no settings-dialog item, since the panel isn't where that dialog lives).Test plan
panel-contributions.test.ts— 8 new unit tests (labels, rename payload, details mapping)bun test ./src/shell+ contextual-panel suites pass (21 pass)tsc -p apps/webclean