learningequality / studio

Content curation tools for Kolibri
https://studio.learningequality.org/
MIT License
119 stars 169 forks source link

Hotfixes - Channel trash - Closing the Trash modal doesn't reset the pagination state #4851

Open pcenov opened 8 hours ago

pcenov commented 8 hours ago

Observed behavior

This is a follow-up to https://github.com/learningequality/studio/issues/4837 - if I've already clicked the "Show more" button once or several times, when I close and reopen the Trash modal, then the state of the pagination is not being reset while the "Show more" button is still shown. This can cause confusion.

https://github.com/user-attachments/assets/4c74f6f6-76b4-40ef-9e50-a41bb1a522a2

Expected behavior

To be further specified.

Steps to reproduce the issue

  1. Go to https://hotfixes.studio.learningequality.org/en/accounts/#/ and sign in
  2. Delete a large number of resources and open the channel's Trash page
  3. Click several times on 'Show more' until all available resources are shown
  4. Close the modal and reopen it
  5. Observe that all previously shown resources are displayed and that the "Show more" button is displayed as well.

Usage Details

pcenov commented 8 hours ago

cc @bjester