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

Pagination label does not adjust correctly as categories are added and deleted from list #382

Open
rhsalas3 opened this issue May 20, 2022 · 0 comments
Labels
bug Something isn't working

Comments

@rhsalas3
Copy link

rhsalas3 commented May 20, 2022

Description:

While adding and deleting categories from the Settings > Categories and Phrases list screen, the pagination label does not adjust as expected when going from 1 to 2 pages or 2 to 1 page. The page left/right buttons will disable and enable as expected, but the "Page X of Y" label does not.

Some of this behavior may be related to the root cause of bug #381 . So, depending on which issue is fixed first, the other may need to be re-tested after, to try and reproduce.

Steps To Reproduce:

  1. Navigate to Settings > Categories and Phrases
  2. Delete categories until there is only one page to display; note the behavior of the pagination label
  3. Add a new category(ies) to the list so that there are now two pages.
  4. On a tablet, you may need to reverse the order of steps 2 and 3 (add categories first, deleting categories second)

Expected behavior
As the number of categories adjusts so that the number of pages adjust from 1 to 2 and 2 to 1 , the pagination label displays "Page 1 of 2" and "Page 1 of 1" accordingly.

Actual Behavior
-> When deleting categories, once there is only one page to display the pagination label will display "Page 1 of 2" and then disappear.
-> When adding categories, the pagination label will not appear (remain missing) as the number of pages grows from 1 to 2.

Devices:

  • Pixel 5 phone and Nexus 10 tablet (both emulated)
  • Android 12 (both devices)

Screenshots
1 VocableAndroid_addingNewCategories_deleting_from_twoToOne_page

2 VocableAndroid_addingNewCategories_from_oneToTwo_pages

@rhsalas3 rhsalas3 added the bug Something isn't working label May 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Backlog
Development

No branches or pull requests

1 participant