Skip to content

feat(app): polish the sidebar's alignment and the chrome's details - #619

Merged
bastien-gallay merged 1 commit into
mainfrom
feat-polish-chrome
Nov 23, 2026
Merged

bastien-gallay merged 1 commit into
mainfrom
feat-polish-chrome

Conversation

@bastien-gallay

Copy link
Copy Markdown
Collaborator

What

A polish pass over the chrome, the last step of the interface critique, with
docs/design/DESIGN.md as the reference.

Where Before After
Sidebar session row at rest, the title stopped before three empty button slots (about 60 px) the title takes the whole row; under the pointer the buttons appear and cut it shorter
Project header ▾ ☆ name, the name a slot right of its sessions' titles ▾ name ☆, the name lined up with the titles; a long name is cut to keep ☆ and the launch buttons in view
… N more, search snippet, empty-repo hint from the left edge lined up under the titles
Tab menu heading 8 px left of its entries heading at the entries' inset
Pane border 3 px corner, off the shape scale 4 px, as a tab chip
Document pane 💾 save, ✕ close, saved, • modified Save, Close, Saved, • Modified

How

  • The resting row no longer holds slots for the actions; the hovered row
    adds them. The hovered layer is wrapped in opaque: hover passes an
    event its top layer does not capture down to the base, so a press between
    two buttons would otherwise reach the resting title and resume the
    session. opaque captures presses only, so the list still scrolls.
  • Fitted::reserve leaves room out of the width a line is given. The
    project name, a Shrink line laid out before the star, keeps the star's
    slot beside it; name and star fill what the launch buttons leave.
  • under_title sets a line in by a row's leading slot. It lines up with
    where a title's button starts; a row with a colour bar or a status dot
    starts its text further right, as before.
  • The name button now shrinks to the name: the empty stretch between ☆ and
    the launch buttons no longer folds the project. The name and ▾ still do.

Checks

  • On an isolated instance: the sidebar at rest, a repository with a long
    name, and the tab menu. The hovered row was not driven by the agent, since
    the bridge cannot move the pointer over the chrome.
  • cargo test --workspace, clippy, fmt, just check-arch, markdownlint.
  • The book's sidebar page (diagram and row text), DESIGN.md and
    CHANGELOG.md are updated.

A resting sidebar row kept empty slots for the buttons it hides, so its
title was cut with room to spare. The title now takes the whole row, and
the hovered row cuts it shorter for its buttons; the hovered layer is
opaque, so a press between two buttons cannot resume the session below.

A project's star moves after its name, so the name lines up with its
sessions' titles. Fitted gains a reserve, so the name is cut to leave the
star its slot. The more line, a search snippet and an empty repository's
hint line up under the titles too.

The tab menu's heading takes its entries' inset, a pane border takes the
scale's 4 px corner, and the document pane's labels drop the emoji and
take sentence case.
@bastien-gallay
bastien-gallay merged commit 0198287 into main Nov 23, 2026
12 checks passed
@bastien-gallay
bastien-gallay deleted the feat-polish-chrome branch November 23, 2026 07:10
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.

1 participant