Skip to content

[Clock BG] Add gradient background#4227

Open
RKBoss6 wants to merge 4 commits into
espruino:masterfrom
RKBoss6:clockbg
Open

[Clock BG] Add gradient background#4227
RKBoss6 wants to merge 4 commits into
espruino:masterfrom
RKBoss6:clockbg

Conversation

@RKBoss6
Copy link
Copy Markdown
Contributor

@RKBoss6 RKBoss6 commented May 22, 2026

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.

dd

Copilot AI review requested due to automatic review settings May 22, 2026 14:05
@RKBoss6 RKBoss6 marked this pull request as draft May 22, 2026 14:05
Copy link
Copy Markdown
Contributor

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

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 gradient as a supported background style with corresponding generation logic.
  • Update settings UI to use colorpicker for Solid Color / Random Color (Bangle.js 2) and add custom palette selection for Plasma/Gradient.
  • Bump app version to 0.11 and 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.

Comment thread apps/clockbg/settings.js
Comment thread apps/clockbg/settings.js Outdated
Comment thread apps/clockbg/settings.js Outdated
Comment thread apps/clockbg/settings.js
Comment thread apps/clockbg/settings.js
Comment thread apps/clockbg/settings.js Outdated
@RKBoss6
Copy link
Copy Markdown
Contributor Author

RKBoss6 commented May 28, 2026

This is good to go now!

@RKBoss6 RKBoss6 marked this pull request as ready for review May 28, 2026 11:35
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