Repository navigation
Cart wall: fixed-size pads, pad names and colours - #33
Conversation
Pads are drawn at exactly the same size whatever the name: long names wrap
to two lines and end in "…", with the full name in the tooltip, so a long
file name no longer stretches a column or row of the grid.
Right-click a pad to rename it ("Pad name") or give it a background colour
from ten presets (Default colour goes back). The colour is saved with the
pad (CartPad.color, absent in older configs). A playing pad still turns red.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_016m2QHVSTc69PVJrv6GWWY7
There was a problem hiding this comment.
MergeGuard review
Risk: 🟠 35/100 — moderate
Findings: 🟠 1 medium
Open Files changed for 1 inline review thread on the diff.
💡 Use the Fix All MergeGuard Findings checkbox comment on this PR to apply auto-fixes in batch, or reply
@mergeguards fixon any inline finding.
Reviewed by MergeGuard AI
MergeGuard agent actionsFix all findingsAll issues (1)
Apply auto-fixes for the findings above on this branch:
Or reply with |
The old luma threshold put white text on the Gold swatch (contrast 2.9:1). With WCAG relative luminance every swatch gets at least 4.5:1. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016m2QHVSTc69PVJrv6GWWY7
There was a problem hiding this comment.
MergeGuard review
Risk: 🟠 35/100 — moderate
Findings: 🟠 1 medium
Open Files changed for 1 inline review thread on the diff.
💡 Use the Fix All MergeGuard Findings checkbox comment on this PR to apply auto-fixes in batch, or reply
@mergeguards fixon any inline finding.
Reviewed by MergeGuard AI
Requested by epell · project thread
Fixes #31.
Why the grid distorted
Pads were egui buttons with a minimum size of 54 px. A name with no spaces (for example
Station_ID_Summer_Jingle_2026_Final_Mix_v3) couldn't wrap, so it widened its whole grid column. A long name with spaces wrapped onto three or more lines and made its row taller.What changed
CartPad.color(Option<[u8; 3]>), and older configs load with no colour. A playing pad still turns red.tr(), andlang/template.jsonhas been regenerated.Checks
cargo fmt,cargo +1.99.0 clippy --all-targets -- -D warnings,cargo test(new test for saving the pad colour and loading old configs)Generated by Claude Code