Repository navigation
Settings regrouped into seven tabs with search and a theme picker - #103
Merged
Merged
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.
…and a theme picker
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.
# Conflicts: # src/modal/scoutlink.rs # src/widget/switch.rs
There was a problem hiding this comment.
Approved by a maintainer on the review board.
Checks
- ✅ Build linux-x86_64
- ✅ Build windows-x86_64
- ✅ retake screenshots (not required)
- ✅ changes (not required)
- ✅ codeql (actions) (not required)
- ✅ wiki (not required)
- ✅ changes (not required)
- ✅ codeql (rust) (not required)
- ❌ preview screenshots (not required)
- ✅ screenshots out of date (not required)
- ✅ Build macos-universal (not required)
- ✅ secrets (not required)
- ❌ typos (not required)
- ✅ Build flatpak-x86_64 (not required)
- ❌ fmt (not required)
- ✅ Release (not required)
- ✅ clippy (not required)
- ✅ test (not required)
- ✅ cargo-deny (not required)
- ✅ unsafe (not required)
- ✅ dependency-review (not required)
- ✅ workflows (not required)
- ✅ translations (not required)
- ✅ flag-lists (not required)
- ✅ CodeQL (not required)
Change: 21 files, +3126 / -1419, 4 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 |
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.
Builds on #100 (merge that first).
What and why
The settings window is regrouped by task into seven tabs: Utseende, Moderasjon, Flagging, Varsler, Autosvar, Tilkobling and Taster. Checkboxes are replaced by the new switch rows, each with a one-line hint, a "standard: på/av" marker and a badge where it matters ("Påvirker alle ban" for ChanServ, "Trenger ny tilkobling" for the Woggle marker and the connection tab). Language, whitelist/blacklist and word-list language use segmented controls; the cooldown is a number field with a unit and -/+ steps.
src/modal/scoutlink/{mod,appearance,moderation,flags,ntfy,autoreply,connection,keys,rows,themes}.rs. Config keys are unchanged, so old configs load as before.field,key_chip,segmentedandswitchwidgets withoutpub modlines insrc/widget.rs; they are declared again here.tools/check_translations.pynow also reads arms that rustfmt wraps in braces.How it was tested
cargo clippy --workspace --all-targets -- -D warnings,cargo test --workspace(all pass),python3 tools/check_translations.py(347 keys, ok),python3 tools/check_fmt.py --fix. No GUI was started; the UI is not exercised beyond compiling.Screenshots: rendered by the screenshot job
Wiki
Wiki: not needed - screenshots are retaken automatically after the redesign
Checklist
pr1-foundationspython3 tools/build.py) and the CI builds passPRIVACY.mdstill matches what the code sends and storesCTCP WOGGLEhandling still follow the review rules inCONTRIBUTING.mdPart of #11