feat(channels): add the flag-gated spaces layout#3814
Draft
puemos wants to merge 3 commits into
Draft
Conversation
This was referenced Jul 25, 2026
|
React Doctor found 2 issues in 2 files · 2 warnings. 2 warnings
Reviewed by React Doctor for commit |
2 tasks
Contributor
Author
|
Warning This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
This stack of pull requests is managed by Graphite. Learn more about stacking. |
2 tasks
puemos
force-pushed
the
posthog-code/channels-stack-2-scope-foundations
branch
from
July 25, 2026 15:09
e917958 to
ffc8505
Compare
puemos
force-pushed
the
posthog-code/channels-stack-3-spaces-ui
branch
from
July 25, 2026 15:10
b5a9f27 to
7098f03
Compare
Activate the complete channel-scoped sidebar, switcher, navigation, shortcuts, and shell chrome behind the spaces flag. The existing Thread panel remains in place until the next stack PR. Generated-By: PostHog Code Task-Id: 6190e713-9b80-43d9-a05c-5e3b1ecdf297
puemos
force-pushed
the
posthog-code/channels-stack-3-spaces-ui
branch
from
July 26, 2026 11:14
7098f03 to
54ec82c
Compare
Replaces the channel switcher popover with a master/detail sidebar. The list pane (searchable, #me pinned, then starred, then the rest) slides aside when you open a channel; the channel pane is headed by a row that slides back. Which pane shows is view state (`channelPaneStore`), separate from the scoped channel: going back to the list browses without leaving the channel. Both panes stay mounted, the offscreen one inert. Generated-By: PostHog Code Task-Id: 1932f1b0-a072-4de2-a21d-6455e6c445ee
- Drop the back row's border; it's a sidebar row, not a control on top of one. - One FAB on both panes: with a channel it creates a task or canvas inside it, and either way it can create a channel. - Tighten the gap between the global nav and the pane below it. - Move Archived out of the sidebar and into the account menu, beside Settings. - Gate the list's search and ⌘1-9 hints on the layout flag, so the alpha's channel tree is untouched. Generated-By: PostHog Code Task-Id: 1932f1b0-a072-4de2-a21d-6455e6c445ee
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.

Problem
Tasks and canvases need a shared channel home with navigation that stays scoped to the active channel.
Why
Switching channels through a popover buried the channel list behind a click and gave it nowhere to grow. The list is the main way around the space, so it gets a pane of its own.
Changes
code-spaces-layoutplusproject-bluebird.This is PR 3 of the stack, based on #3813. Flag off remains the existing experience; flag on becomes Spaces with the legacy Thread panel.
How did you test this?
pnpm --filter @posthog/core test -- src/command-center/grid.test.tspnpm --filter @posthog/ui test(249 files, 2184 tests) andpnpm --filter @posthog/ui typecheckAutomatic notifications
Created with PostHog Code