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

Get rid of obsolete notifications on package details view #4788

Closed
xavierdecoster opened this issue Oct 2, 2017 · 5 comments
Closed

Get rid of obsolete notifications on package details view #4788

xavierdecoster opened this issue Oct 2, 2017 · 5 comments

Comments

@xavierdecoster
Copy link
Member

xavierdecoster commented Oct 2, 2017

To reduce the number of potential notification messages shown on the package details page, two notification messages will be removed.

  • pending edits message
  • v4.1.0 min client requirement for push message

Those are the 2 top notifications on the below screenshot:

screenshot

@xavierdecoster
Copy link
Member Author

@anangaur there's also a "Last-Edit-Failed" notification still. I guess that should also be removed?

Your last edit to this package was not successfully applied. You can edit the package and submit the edit again to retry the edit.

@anangaur
Copy link
Member

I am assuming when the edit fails users would would know that immediately? If not, then I am assuming this shows when the job to edit fails and in that case we should show the notification unless we send a mail to the user for this case.

@xavierdecoster
Copy link
Member Author

Didn't find any email notification sending code in the HandlePackageEdits job, so my guess is that this notification in the UI is currently the only indicator of edit failure.

As the job is to be retired anyway, my vote is to keep the notification in the gallery around until all pending edits have been processed once we disabled edits. A subsequent deployment can then retire the gallery UI notification.

@anangaur
Copy link
Member

@xavierdecoster Does this notification show while the edits are in progress (through Jobs)? Or only when its processed and failed for some reason? I thought its the later.

@xavierdecoster
Copy link
Member Author

The Pending-Edits notification was shown while the edits were in progress. This one is removed by this PR.
The Edit-Failed notification was shown after failure, and is still there (not removed as part of this PR). Reason: when deploying this, notifications may still be pending and fail (rare situation). The Edit-Failed notification can then be removed in subsequent deployment (once Edit feature has been retired completely).

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

No branches or pull requests

3 participants