Skip to content

[Ultra Info Clock] Fix bug with progress bar, use colorpicker module#4222

Open
RKBoss6 wants to merge 7 commits into
espruino:masterfrom
RKBoss6:ultrainfoupdates
Open

[Ultra Info Clock] Fix bug with progress bar, use colorpicker module#4222
RKBoss6 wants to merge 7 commits into
espruino:masterfrom
RKBoss6:ultrainfoupdates

Conversation

@RKBoss6
Copy link
Copy Markdown
Contributor

@RKBoss6 RKBoss6 commented May 21, 2026

Uses the colorpicker module for settings, and uses info.v and info.min rather than trying to parse the text.

Copilot AI review requested due to automatic review settings May 21, 2026 15:18
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.

This PR updates Ultra Info’s settings UI to use the shared colorpicker module, and fixes the ClockInfo progress bar calculation to respect info.min and info.v.

Changes:

  • Replaced custom color selection menus with colorpicker-based pickers for Main/Accent colors
  • Updated progress bar math to use (v - min) / (max - min) instead of parsing info.text
  • Bumped app version to 0.03 and updated changelog/dependencies

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 2 comments.

File Description
apps/ultrainfo/settings.js Switch settings UI from custom palette menu to colorpicker module
apps/ultrainfo/metadata.json Bump version and add colorpicker dependency
apps/ultrainfo/app.js Fix progress bar computation to use info.v/info.min properly
apps/ultrainfo/ChangeLog Document changes for 0.03

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread apps/ultrainfo/app.js
Comment thread apps/ultrainfo/settings.js
@thyttan thyttan marked this pull request as draft May 21, 2026 16:05
@RKBoss6
Copy link
Copy Markdown
Contributor Author

RKBoss6 commented May 21, 2026

This is good to go!

@RKBoss6 RKBoss6 marked this pull request as ready for review May 21, 2026 16:54
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