[codex] Add sidebar style randomizer#45
Merged
Merged
Conversation
There was a problem hiding this comment.
Pull request overview
Adds a compact style randomizer to the existing settings sidebar preview workflow, letting users quickly generate preset-based size/intensity/duration combinations and per-click custom colors without expanding the settings UI.
Changes:
- Added
randomizeStyle()to update visual settings and generate per-click custom colors. - Added a small “Randomize” button beneath the sidebar Preview Pad.
- Updated the README feature list to mention the preview pad randomizer.
Reviewed changes
Copilot reviewed 3 out of 3 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
Sources/ClickLight/SettingsWindowController.swift |
Adds random style generation for size, intensity, duration, and custom click colors. |
Sources/ClickLight/ClickLightSettingsView.swift |
Adds the sidebar Randomize button wired to the view model. |
README.md |
Documents Randomize in the settings feature list. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
|
I like the dice ❤️ |
5 tasks
Contributor
|
Looks awesome! |
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.
Summary
Randomizebutton beneath the existing sidebar Preview PadWhy
PR #36 proposed a larger style preview experience, but the existing Preview Pad already covers testing without making Settings larger or reintroducing lag while changing controls. This keeps the useful randomization idea in the compact sidebar design.
Validation
./build-app.shClickLight Randomize Preview.appzizmor .with no findings