Skip to content

[codex] Add sidebar style randomizer#45

Merged
aurorascharff merged 1 commit into
mainfrom
codex/randomize-sidebar-style
May 29, 2026
Merged

[codex] Add sidebar style randomizer#45
aurorascharff merged 1 commit into
mainfrom
codex/randomize-sidebar-style

Conversation

@aurorascharff
Copy link
Copy Markdown
Owner

Summary

  • add a compact Randomize button beneath the existing sidebar Preview Pad
  • randomize named size, intensity, and duration presets
  • generate distinct custom colors for left, right, middle, and drag click visuals
  • mention Randomize in the README feature list

Why

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

  • built locally with ./build-app.sh
  • installed and tested as ClickLight Randomize Preview.app
  • ran zizmor . with no findings

@aurorascharff aurorascharff marked this pull request as ready for review May 29, 2026 20:24
Copilot AI review requested due to automatic review settings May 29, 2026 20:24
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

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.

@aurorascharff aurorascharff merged commit 2690320 into main May 29, 2026
3 checks passed
@aurorascharff aurorascharff deleted the codex/randomize-sidebar-style branch May 29, 2026 20:28
@jamesmontemagno
Copy link
Copy Markdown
Contributor

I like the dice ❤️

@KyranTanDev
Copy link
Copy Markdown
Contributor

Looks awesome!

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.

4 participants