bug/10330-emptyPageAfterMovingMessage #10383
Open
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.
Description of Change
If a user is on page 2 or greater in a Secure Messaging folder, the page has only one message, and they move that message to a different folder, go back to the previous page. This avoids showing them an empty message list.
The change applies to the inbox as well as all other folders.
Screenshots/Video
Before:
move-message-before.mp4
After:
move-message-after.mp4
Testing
Reviewer Validations
User is brought back into the folder, on the 'prior' page (screen showing the 1-10 messages if you just deleted the 11th, the 11-20 messages if you just deleted the 21st, etc)
PR Checklist
Reviewer: Confirm the items below as you review
For QA
Run a build for this branch