Skip to content

[Weather] Add settings for widget customization#4221

Merged
bobrippling merged 4 commits into
espruino:masterfrom
RKBoss6:weatherupd
May 24, 2026
Merged

[Weather] Add settings for widget customization#4221
bobrippling merged 4 commits into
espruino:masterfrom
RKBoss6:weatherupd

Conversation

@RKBoss6
Copy link
Copy Markdown
Contributor

@RKBoss6 RKBoss6 commented May 18, 2026

Resolves #4117, adds settings menu for customizing widgets

Copilot AI review requested due to automatic review settings May 18, 2026 12:10
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 configurable weather widget options (displayed data, units label, monochrome icon) and adjusts the UI text showing when data was last updated.

Changes:

  • Added new widget settings defaults and a settings submenu for widget configuration.
  • Refactored widget rendering to support monochrome icon drawing and selectable secondary data text.
  • Updated “last updated” formatting in the main app UI and bumped app version/changelog.

Reviewed changes

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

Show a summary per file
File Description
apps/weather/widget.js Adds widget configuration defaults, data formatting, monochrome icon rendering, and refactors widget draw logic.
apps/weather/settings.js Introduces a “Widget” submenu with options for visibility, monochrome icon, data selection, and unit display.
apps/weather/app.js Changes update-time wording to “Now” / “X … ago” and removes duplicated “ago”.
apps/weather/metadata.json Version bump to 0.32.
apps/weather/ChangeLog Documents new widget configuration menu in 0.32.

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

Comment thread apps/weather/widget.js
Comment thread apps/weather/widget.js
Comment thread apps/weather/widget.js
Comment thread apps/weather/app.js Outdated
@bobrippling
Copy link
Copy Markdown
Collaborator

If you drop me an @ when you're done, I'll review

@thyttan thyttan marked this pull request as draft May 21, 2026 16:06
@RKBoss6
Copy link
Copy Markdown
Contributor Author

RKBoss6 commented May 23, 2026

Alright, @bobrippling this looks good to go!

@RKBoss6 RKBoss6 marked this pull request as ready for review May 23, 2026 21:52
@bobrippling
Copy link
Copy Markdown
Collaborator

Thanks!

@bobrippling bobrippling merged commit 5e21e41 into espruino:master May 24, 2026
2 checks passed
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.

[feature request] dynamic weather widget

3 participants