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

[Payment History] Back Button Not Handling Traversing Backwards in Pagination Tabs #96174

Open
dysbo opened this issue Oct 30, 2024 · 0 comments · May be fixed by department-of-veterans-affairs/vets-website#33269
Assignees
Labels
benefits-management-tools includes Claim Status Tool, Benefits Letters, Payment History bmt-team-2 Benefits Management Tools Team #2

Comments

@dysbo
Copy link

dysbo commented Oct 30, 2024

Problem

On the Payment History page, when the user utilizes pagination to advance through the Payment History table, pressing the Back button on the browser does not take them to the page in the table they were previously on. Instead, it navigates them backwards to the link they followed to come to the Payment History page.

Solution

Pressing the back button when pagination is being used should return the user to the previous page in the table they were on, not navigate to the previous browser page.

Steps to Reproduce

  1. Log into https://staging.va.gov with a user who has multiple pages of payment history data (e.g. [email protected])
  2. Navigate to the Payment History page
  3. Select page 2 or greater on the Payment History table
  4. Press the back button

Expected: User returns to Page 1 of the Payment History table
Actual: The user is taken back to the previous page of the website they were viewing

Notes

BMT 1 just completed something similar in this ticket. PR is linked here.

Screenshots/Recordings

Screen.Recording.2024-10-30.at.2.58.39.PM.mov
@dysbo dysbo added bmt-team-2 Benefits Management Tools Team #2 benefits-management-tools includes Claim Status Tool, Benefits Letters, Payment History labels Oct 30, 2024
@dysbo dysbo added the needs-refinement Identifies tickets that need to be refined label Nov 12, 2024
@janechodance janechodance self-assigned this Nov 25, 2024
@dysbo dysbo removed the needs-refinement Identifies tickets that need to be refined label Nov 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benefits-management-tools includes Claim Status Tool, Benefits Letters, Payment History bmt-team-2 Benefits Management Tools Team #2
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants