Skip to content

Foundations: themes, widgets, icons, shared key registry - #100

Merged
wogglesl-review[bot] merged 2 commits into
mainfrom
pr1-foundations
Dec 3, 2026
Merged

wogglesl-review[bot] merged 2 commits into
mainfrom
pr1-foundations

Conversation

@R3disme

@R3disme R3disme commented Dec 3, 2026 •

Copy link
Copy Markdown
Member

Part of #11

What and why

Foundations for the usability redesign, used by the later settings, keys and list PRs:

  • Three built-in themes next to ferra: woggle-night (the new default for new installs), scoutlink-dark and scoutlink-light. A theme file with the same name in the themes folder still wins.
  • New small widgets: switch (toggle row with hint, default chip, danger marker), field (number field with unit and -/+ steppers), segmented, key_chip and badge. The toggler gets a theme style (on = green, off = grey).
  • Icons are tinted with the theme instead of the hard-coded yellow; accent only on hover. New SVG icons (check, cross, keyboard, star, warning) replace the symbol characters in the settings modal, sidebar, channel view and WHOIS card. The Woglog icon shows a count of new entries.
  • Icon-only buttons get tooltips with name and, when bound, the key (with_shortcut).
  • One registry of key combinations (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

  • One change only, branched from the latest main
  • Builds locally and tested without the real ScoutLink network
  • New interface text exists in no, da, sv and en
  • No real ScoutLink data (chat logs, nicks, hostnames, screenshots of real channels)

…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.
@R3disme
R3disme requested review from a team as code owners December 3, 2026 13:28
@R3disme R3disme added the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
Copilot AI balanced review requested due to automatic review settings December 3, 2026 13:28

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@R3disme

R3disme commented Dec 3, 2026

Copy link
Copy Markdown
Member Author

@WoggleSL/review run

@wogglesl-review

Copy link
Copy Markdown

Queued for approval, waiting for the checks:

  • ⏳ Build linux-x86_64
  • ⏳ Build windows-x86_64
  • ✅ fmt (not required)
  • ✅ codeql (actions) (not required)
  • ✅ wiki (not required)
  • ⏳ codeql (rust) (not required)
  • ⏳ clippy (not required)
  • ✅ screenshots out of date (not required)
  • ✅ Build macos-universal (not required)
  • ⏳ test (not required)
  • ✅ Build flatpak-x86_64 (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)

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review

Copy link
Copy Markdown

Ran the review queue for every approved PR:

  • nothing to do: no approved PRs were waiting

WoggleSL Review · requested by @R3disme from a comment

@wogglesl-review wogglesl-review Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@wogglesl-review
wogglesl-review Bot merged commit 5abfb6f into main Dec 3, 2026
23 checks passed
@wogglesl-review

Copy link
Copy Markdown

Squash-merged into main as 5abfb6f.

WoggleSL Review · requested by a maintainer from the review board

@wogglesl-review
wogglesl-review Bot deleted the pr1-foundations branch December 3, 2026 13:37
@wogglesl-review wogglesl-review Bot removed the In-Review Finished and waiting for a maintainer's review label Dec 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants