Repository navigation
feat(app): polish the sidebar's alignment and the chrome's details - #619
Merged
Merged
Conversation
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.
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.
What
A polish pass over the chrome, the last step of the interface critique, with
docs/design/DESIGN.mdas the reference.▾ ☆ 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💾 save,✕ close,saved,• modifiedSaved,• ModifiedHow
adds them. The hovered layer is wrapped in
opaque:hoverpasses anevent 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.
opaquecaptures presses only, so the list still scrolls.Fitted::reserveleaves room out of the width a line is given. Theproject name, a
Shrinkline laid out before the star, keeps the star'sslot beside it; name and star fill what the launch buttons leave.
under_titlesets a line in by a row's leading slot. It lines up withwhere a title's button starts; a row with a colour bar or a status dot
starts its text further right, as before.
the launch buttons no longer folds the project. The name and ▾ still do.
Checks
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.DESIGN.mdandCHANGELOG.mdare updated.