Skip to content

feat(nimbus): Advertise nimbus-devtools#15141

Open
freshstrangemusic wants to merge 1 commit intomainfrom
freshstrangemusic/push-ovlmkqzwylwt
Open

feat(nimbus): Advertise nimbus-devtools#15141
freshstrangemusic wants to merge 1 commit intomainfrom
freshstrangemusic/push-ovlmkqzwylwt

Conversation

@freshstrangemusic
Copy link
Copy Markdown
Member

Because:

this commit:

  • adds a banner that informs the user if a new version of nimbus-devtools is released;
  • adds a banner that informs the user about nimbus-devtools if they don't have it installed;
  • gives users the options to suppress the banner for a day, until the next version, or permanently.

Fixes #15137

@freshstrangemusic
Copy link
Copy Markdown
Member Author

Banner shown when the addon is not out of date:

image

Banner shown when the addon is not detected:

image

@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-ovlmkqzwylwt branch from a8cf528 to 22b2d99 Compare April 6, 2026 18:06
@freshstrangemusic
Copy link
Copy Markdown
Member Author

This patch is blocked until we cut the 0.4.0 release of nimbus-devtools.

See-also mozilla-extensions/nimbus-devtools#186

Because:

- nimbus-devtools now can inform Experimenter what version is installed
  as of mozilla-extensions/nimbus-devtools#56; and
- we want users to update their version of nimbus-devtools to the latest
  and greatest.

this commit:

- adds a banner that informs the user if a new version of
  nimbus-devtools is released;
- adds a banner that informs the user about nimbus-devtools if they
  don't have it installed; and
- gives users the options to suppress the banner for a day, until the
  next version, or permanently.

Fixes #15137
@freshstrangemusic freshstrangemusic force-pushed the freshstrangemusic/push-ovlmkqzwylwt branch from 22b2d99 to 028cff8 Compare April 6, 2026 18:11
};

$(() => {
void setupDevtoolsBanner();
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

out of curiosity how is void different from not having it here?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Essentially no different. This is really a signal that we're calling an async function and not awaiting it.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(if you do const x = void f() for some async function f, x will be undefined instead of a Promise`.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Advertise nimbus-devtools on Experimenter

2 participants