Repository navigation
DESIGN.md and PRODUCT.md describe the GPUI app as it is, on macOS, Windows and Linux - #269
Merged
Merged
Conversation
…Linux DESIGN.md is rewritten from the GPUI app's code: style.rs's palette, the views' type sizes, radii and components, gpui-component's theme for its controls, and what differs per system. PRODUCT.md keeps the product intent that still holds, without the Swift app's Mac-only claims, and is for every desktop system. The two code comments citing DESIGN.md point at its sections.
…keyboard fall short Review fixes: GNOME on Wayland gives the window no title bar; Linux keeps neither the desktop's font nor its alerts; the tray's count and tooltip, Mark as Read everywhere, closing before the core opens; the accent New messages pill; reduced motion read at launch on macOS and Windows; which controls the keyboard can't reach and which dialogs don't trap Tab or take Esc; the full contrast shortfall list. The comments citing DESIGN.md no longer point at the removed Mac app.
Owner
Author
Review (pr-review-toolkit: code-reviewer, two comment-analyzers checking every value against
|
This was referenced Nov 29, 2026
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 changed
core/desktop) as it is, in the same six-sectionformat (Overview, Colors, Typography, Elevation, Components, Do's and Don'ts):
style.rs's palette (light and dark), the type sizes and weights theviews use, their radii, and a few component sizes;
shortcuts, tray, unread count, notifications, confirmation alerts, text fields' menu, closing
the window;
(why primary buttons are black/white, not blue);
reactions and hover buttons, typing bubble, notices, composer and its panels and tray, dialogs
(
modal()/card()/field()), Settings, stories, empty screens, error banner.navigationTitle, the Voice Call button(the GPUI app has none), Reduce Transparency, Increase Contrast.
principles) and drops the Mac-only claims; the purpose now names macOS, Windows and Linux, and the
owner's reason: "this way it's for everyone". Calls are dropped (no call UI). The accessibility
section says what the app follows (system light/dark, reduced motion, screen reader labels
through AccessKit) and where it falls short: controls the keyboard can't reach, two dialogs
without a Tab trap or Esc, and where contrast is under AA (measured from the palette), instead of
the old blanket "meets WCAG AA".
DESIGN.md"the Mac app's look/components" now point at itsColors and Components sections (
style.rs,app/view.rs), andPalette::accent's comment nolonger calls it "the system accent" (it is a fixed blue). No code changed.
Why
Since the Swift app was removed (Hush is the Rust core plus the GPUI app), both documents
described an app that no longer exists.
How it was tested
core/desktop/src/style.rs,app/view.rs, theapp/*/view.rsfiles,main.rs(window, menus),layout.rs,settings.rs,systray.rs,notifications.rs,running.rs, and gpui-kit/gpui-component/GPUI's sources for the per-systemfonts, prompts, native menus, reduced motion and AccessKit.
cargo run -p hush-desktop --features snapshot -- --snapshot <dir>), light and dark,checked against the text: chat, compose, files (tray), settings, chat style (wallpaper), events
(notices), chat options, new group, stories, typing, sidebar hidden. They render on macOS, so the
Windows and Linux columns of the per-system table come from the code, not from a picture.
make format && make check(cargo fmt --check, clippy -D warnings with and without the snapshotfeature, cargo test with the snapshot feature): pass. Only comments changed in code; no tests to
add for docs.
Closes #267