Skip to content

[SanityCheck] Check for widget ids starting with 'wid' - #4309

Merged
bobrippling merged 5 commits into
espruino:masterfrom
RKBoss6:patch-4
Aug 10, 2026
Merged

[SanityCheck] Check for widget ids starting with 'wid'#4309
bobrippling merged 5 commits into
espruino:masterfrom
RKBoss6:patch-4

Conversation

@RKBoss6

@RKBoss6 RKBoss6 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

From what was discussed in #4306, this adds checks to make sure there's a 'wid' and a 'clkinfo' prefix before ids of their respective types.

@RKBoss6

RKBoss6 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Looks like there are some apps that don't start with their respective prefixes, and I can't see us changing all the app IDs and causing reinstall/delete problems in the app loader... We should probably add exceptions for these apps instead.

@RKBoss6

RKBoss6 commented Aug 10, 2026

Copy link
Copy Markdown
Contributor Author

Added exceptions, seems good to me.

@thyttan

thyttan commented Aug 10, 2026

Copy link
Copy Markdown
Collaborator

Background:

If you're making a widget please start the name with wid to make it easy to find! (BangleApps README)

Originally posted by @thyttan in #4306 (comment)

@bobrippling

Copy link
Copy Markdown
Collaborator

LGTM, thanks!

@bobrippling
bobrippling merged commit 2eb84e3 into espruino:master Aug 10, 2026
2 checks passed
@RKBoss6
RKBoss6 deleted the patch-4 branch August 10, 2026 20:14
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.

3 participants