Skip to content
This repository was archived by the owner on Aug 6, 2026. It is now read-only.

Commit 54104bb

Browse files
authored
fix(spaces): align personal space row
Generated-By: PostHog Code Task-Id: 69df779b-b72b-45bc-a11b-3deeff24ad49
1 parent 662e8f2 commit 54104bb

3 files changed

Lines changed: 4 additions & 5 deletions

File tree

packages/ui/src/features/canvas/AGENTS.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ The root `AGENTS.md` architecture rules still apply.
4747
slide and returning to the list doesn't rebuild every row. A two-finger
4848
horizontal swipe moves between them (`useChannelPaneSwipe`, wheel `deltaX`
4949
accumulated per gesture and locked until the wheel goes quiet).
50-
- In the list, "Starred"/"Spaces" are headings above lightly indented rows; the
51-
cube/lock glyph belongs to each row. The alpha's more deeply indented Channels
52-
tree and hash glyphs are unchanged.
50+
- In the list, "Starred"/"Spaces" are headings above lightly indented shared
51+
rows; the pinned private "me" row aligns with the headings. The alpha's more
52+
deeply indented Channels tree and hash glyphs are unchanged.
5353
- One `ChannelsFab` serves both panes: given a `channelId` it creates inside
5454
that channel (task, canvas), and either way it can create a channel. Off the
5555
layout it keeps its original two-item menu. Archived moves out of the sidebar

packages/ui/src/features/canvas/components/ChannelsList.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ describe("ChannelsList", () => {
105105
expect(screen.getByText("engineering").closest("button")).toHaveClass(
106106
"pl-4",
107107
);
108-
expect(screen.getByText("me").closest("button")).toHaveClass("pl-4");
108+
expect(screen.getByText("me").closest("button")).not.toHaveClass("pl-4");
109109
});
110110

111111
it("keeps the indented tree off the layout", () => {

packages/ui/src/features/canvas/components/ChannelsList.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,6 @@ function PersonalChannelRow({ hotkeySlot }: { hotkeySlot?: number }) {
729729
data-selected={isActive || undefined}
730730
disabled={isCreating}
731731
onClick={() => void open()}
732-
className={spacesLayout ? "pl-4" : undefined}
733732
>
734733
{channelGlyph(PERSONAL_CHANNEL_NAME, {
735734
size: 14,

0 commit comments

Comments
 (0)