Repository navigation
feat(desktop): panels that stand out, pages that look like files, a sturdier top bar - #3
Merged
Merged
Conversation
The page summaries carry the format id (none for a blank page), so the list can say what kind of note each page is. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…turdier top bar - The pages and History panels have their own colours (--panel, --panel-2, --panel-line), clearly apart from the page in both themes, and the secondary text colours are darker so small text is readable (checked against WCAG contrast ratios by a unit test that reads the style sheet). - A page in the list is a small file: a 14 by 18 px sheet with a folded corner (the weight of the app's other icons), its name, and under it the kind of note and when it changed. Names wrap to two lines instead of being cut off; the open file is bold and its picture is filled. - History entries are cards. The top bar is taller (it grows with the window), has a hairline under it, larger buttons, and keeps to one line in a narrow window by showing only the pictures of its buttons (their names stay for screen readers and tooltips). The page's actions stay together at the right, also when the bar has to wrap. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
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.
Design change, waiting for visual approval before merge (screenshots of the real app were sent in the conversation; the README and guide pictures are retaken after approval).
Why
At the default window the pages panel and the History panel were almost the page's own colour, small grey text was hard to read, the top bar was thin and wrapped onto two rows, and a page in the list was a line of grey text.
What
--panel,--panel-2,--panel-line), clearly apart from the page in light and dark;--ink-2/--ink-3are darker. A unit test reads the style sheet and checks WCAG ratios (panel against page, text on the panel).now,5 min,2 h). The list of pages now knows each page's note format.Design rules used instead of guessing: sizes from the app's own type scale (11/13 px), a 4 px grid for spacing and heights, icon weight equal to the existing icons, text contrast checked numerically.
Checked
pnpm e2e: 94 passed.🤖 Generated with Claude Code