Repository navigation
Denser Gear panel: two-line rows with stats, set chips, worn total - #26
Merged
MHohlios merged 3 commits intoNov 3, 2026
Merged
Conversation
added 3 commits
November 2, 2026 21:13
… total Each item now takes two lines: its name with tags, copies and a level lock as chips, then its stats; a carried item also says what wearing it would change against what's in its slot. The title row and section labels are gone, sets are one line of chips, empty slots fold into one line, and the Worn view adds up what's worn. Rows' primary actions are small text buttons.
MHohlios
deleted the
wiffletree/denser-gear-panel-two-line-rows-with-stats-set-c
branch
November 3, 2026 11:55
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.
Why
The Gear panel spent most of its height on padding, a title row, a long set explainer and a row per empty slot, so the Worn list didn't fit on one screen, and an item's stats were hidden behind ···.
What changed
better/worsetheme tokens; armor keeps "(better)/(worse)" so direction never relies on colour.stat_words), shared by the stats line, the comparison and the tooltip.Outside
gear_panel/: theme tokens (theme.rs), the ax-check's expected labels (macos.rs), and a full Worn sample for the window images (window_images.rs).With the 14-place sample, the Worn list used to run past the window at "hands"; now the sets, total, all nine items, the empty line and "named in chat" fit in about 60% of the panel.
Testing
cargo fmt --all --check,cargo clippy --workspace --all-targets --release -- -D warningsandcargo test --workspacepass;mudling-desktop --synthetic --ax-check: 76 passed.Reviewed with Wiffletree: 1 full reviews and 1 re-checks, 2 rounds (Tests, Claude, Style)