[Clock BG] Add gradient background#4227
Open
RKBoss6 wants to merge 4 commits into
Open
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new Gradient background option to Clock Backgrounds and expands Bangle.js 2 customization by using the colorpicker module for selecting colors/palettes.
Changes:
- Add
gradientas a supported background style with corresponding generation logic. - Update settings UI to use
colorpickerfor Solid Color / Random Color (Bangle.js 2) and add custom palette selection for Plasma/Gradient. - Bump app version to
0.11and update docs/changelog/screenshots.
Reviewed changes
Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.
Show a summary per file
| File | Description |
|---|---|
| apps/clockbg/settings.js | Adds gradient option + custom colorpicker-based menus; updates style persistence rules |
| apps/clockbg/lib.js | Implements gradient background rendering in reload() |
| apps/clockbg/metadata.json | Version bump + adds screenshot7 |
| apps/clockbg/README.md | Documents new Gradient and Blobs options; updates roadmap item |
| apps/clockbg/ChangeLog | Adds 0.11 entry for gradient + Bangle.js 2 colorpicker support |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Contributor
Author
|
This is good to go now! |
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.
This PR adds a vertical gradient background that runs in 50-60 ms (average of 10 timed tries), and adds settings menu for the gradient.
Settings also uses the colorpicker module for plasma, gradient, and random colors, to get any custom color combination you want directly from the watch.