Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make update notifications much less aggressive #6143

Merged
merged 2 commits into from
Mar 18, 2019

Conversation

shilman
Copy link
Member

@shilman shilman commented Mar 18, 2019

Issue: N/A, see https://twitter.com/amcdnl/status/1105427759738822656

What I did

Change update heuristics to not display on patches and prereleases, since we release all the time and it can get annoying.

Also don't display notifications in production mode, since the user can't necessarily do anything about it.

Preserve the rest, so users can see updates if they explicitly navigate to the about page.

How to test

yarn jest --testPathPattern versions.test.js

@shilman shilman added maintenance User-facing maintenance tasks patch:yes Bugfix & documentation PR that need to be picked to main branch labels Mar 18, 2019
@shilman shilman added this to the 5.0.x milestone Mar 18, 2019
@shilman shilman changed the title Don't notify user on patch/prerelease versions Don't send update notifications on patch/prerelease versions Mar 18, 2019
@shilman shilman changed the title Don't send update notifications on patch/prerelease versions Make update notifications much less aggressive Mar 18, 2019
@ndelangen
Copy link
Member

Nice! It makes a lot of sense.

@shilman shilman merged commit 1fef9c0 into next Mar 18, 2019
@shilman shilman deleted the shilman/fix-version-update branch March 18, 2019 09:20
Copy link
Member

@tmeasday tmeasday left a comment

Choose a reason for hiding this comment

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

Does this mean it won’t tell you about 4.0.1 if you ware on 3.4?

@shilman
Copy link
Member Author

shilman commented Mar 18, 2019

@tmeasday Correct. You'd get notified on 4.1.0

@shilman shilman added the patch:done Patch/release PRs already cherry-picked to main/release branch label Mar 18, 2019
shilman added a commit that referenced this pull request Mar 18, 2019
Make update notifications much less aggressive
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance User-facing maintenance tasks patch:done Patch/release PRs already cherry-picked to main/release branch patch:yes Bugfix & documentation PR that need to be picked to main branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants