Repository navigation
Foundations: themes, widgets, icons, shared key registry - #100
Conversation
…d key registry Adds the woggle-night (new default), scoutlink-dark and scoutlink-light built-in themes, small shared widgets (switch, field, segmented, key chip, badge), neutral tinted SVG icons replacing the hard-coded yellow and the remaining symbol characters, tooltips with a key hint helper, a Woglog count badge, and one registry of key combinations with a startup warning for duplicates.
There was a problem hiding this comment.
Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.
An organization owner can choose the repository organization as the billing source for reviews requested by members with a paid Copilot license. Learn about Copilot code review billing.
|
@WoggleSL/review run |
|
Queued for approval, waiting for the checks:
WoggleSL Review · requested by a maintainer from the review board |
|
Ran the review queue for every approved PR:
WoggleSL Review · requested by @R3disme from a comment |
There was a problem hiding this comment.
Approved by a maintainer on the review board.
Checks
- ✅ Build linux-x86_64
- ✅ Build windows-x86_64
- ✅ fmt (not required)
- ✅ codeql (actions) (not required)
- ✅ wiki (not required)
- ✅ wiki (not required)
- ⏳ codeql (rust) (not required)
- ✅ screenshots out of date (not required)
- ✅ screenshots out of date (not required)
- ✅ Build macos-universal (not required)
- ✅ clippy (not required)
- ⏳ test (not required)
- ✅ Build flatpak-x86_64 (not required)
- ✅ Release (not required)
- ✅ cargo-deny (not required)
- ✅ unsafe (not required)
- ✅ dependency-review (not required)
- ✅ secrets (not required)
- ✅ workflows (not required)
- ✅ typos (not required)
- ✅ translations (not required)
- ✅ flag-lists (not required)
- ✅ CodeQL (not required)
Change: 40 files, +1227 / -142, 2 commit(s) by @R3disme
Merges into: main without conflicts
WoggleSL Review · requested by a maintainer from the review board
|
Squash-merged into WoggleSL Review · requested by a maintainer from the review board |
Part of #11
What and why
Foundations for the usability redesign, used by the later settings, keys and list PRs:
woggle-night(the new default for new installs),scoutlink-darkandscoutlink-light. A theme file with the same name in the themes folder still wins.switch(toggle row with hint, default chip, danger marker),field(number field with unit and -/+ steppers),segmented,key_chipandbadge. The toggler gets a theme style (on = green, off = grey).with_shortcut).data::keybinds). Duplicates in a hand-edited config no longer block loading: a warning is logged on startup and only the first binding fires. Unit tests cover duplicates within built-ins, within hotkeys, across both, modifier order and case.Not possible in iced 0.14: focus rings on buttons, keyboard-focus tooltips.
How it was tested
Local, with the capped build:
cargo clippy --workspace --all-targets -- -D warnings(pass),cargo test --workspace(pass, 254 + 23 + 4 + 10),python3 tools/check_translations.py(pass). No GUI was run.Screenshots: rendered by the screenshot job once it lands (see the wiki screenshots PR)
Wiki
Wiki: not needed - screenshots are retaken automatically after the redesign
Checklist
main