Marking a notification as read: couple of fixes #10184
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Preserve
page
andshow_all
parameters after marking a notification as read. Fixes #10173 and fixes #10181.Also related, take the user to the last pagination page, when the only notification of the last page is marked as read. Reported in #10173.
And last, after clicking in a page of several notifications (not the first page), and then clicking on the "Show all" button, show the first page of all the results. It makes no sense to preserve the
page
paramenter in the "Show all"/"Show less" button link.I will setup a lot of notifications on the review-app instance, to make it easier to do a review.