Uh oh!
There was an error while loading. Please reload this page.
fix(desktop): align project session titles with the project name - #3311
Conversation
Astryx nests icon-less children by 24px so their text meets a parent title after a 16px icon + 8px gap. Session rows already spend 8px on StatusDot in that slot, so keep the remaining 8px nest instead of a full SideNav step. Generated-by: Maka
Overall, the direction is sound and the The current geometry is:
So the old layout does place session titles 16px too far to the right, and I see three points worth addressing:
From an Occam’s razor perspective, I would keep the current AI-assisted review disclosure: This comment was prepared with Codex assistance after statically reviewing the PR diff, the Astryx SideNav/StatusDot layout, and the history of #3175. |
Keep the 8px nest. State it as a product choice against SideNav's fixed 24px child inset, and check title x in the sidebar e2e instead of only the session button edge. Generated-by: Maka
Astro-Han
commented
Aug 20, 2026
Accepted points 1–3. Kept
Before/after for the title column is on the desktop compare image from the earlier thread. |
hqhq1025
left a comment
There was a problem hiding this comment.
Reviewed the exact current revision against the stated layout contract, production DOM/CSS path, prior maintainer feedback, and focused geometry/Electron coverage. No actionable defect survived the policy v7 materiality review.
Codex-assisted review performed under the maintainer-approved review workflow.
Uh oh!
There was an error while loading. Please reload this page.
Summary
Project-grouped session rows were nested a full Astryx SideNav step (24px). That step is for icon-less children so their text meets a parent title after a 16px icon + 8px gap. Session rows already spend 8px on StatusDot in that slot, so the extra 24px pushed titles too far right of the project name.
Keep the remaining 8px nest (
--spacing-2) so titles share one x and the row still sits inside the project.Verification
node --experimental-strip-types --test apps/desktop/src/main/__tests__/session-project-hierarchy-contract.test.tsin the worktree (pass).maka devsession. Leavesidebar-project-row.spec.tsto CI.AI use
Select exactly one:
Tool(s) and scope:
Maka diagnosed the indent, chose the 8px remaining nest, and authored the CSS, contract test, e2e assertion, and commit.
Checklist
Does this PR entail a change in behavior?