Skip to content

refactor(admin): users list component pagination support

Matej Hakoš requested to merge hakos/STR-1180/dynamic_tables into main

Description

refactor(admin): users list component pagination support

  • replaced old paginating with the dynamic version
  • it now supports both server/client paginating
  • the component always receives data rather than fetches it itself (parent does that)
  • refactored functions that were broken/unusable

How to test

Test on:

  • /admin/users
  • /facilities/4050/allowed-users
  • /facilities/4050/settings/bans Add ban table

Author's checklist

  • I have followed the contribution guidelines
  • This MR has been tested or does not change functionality
  • I have added relevant merge request dependencies (if this MR has any)
  • I have added the correct labels
  • I have assigned reviewers (if any are relevant)
  • I have edited the documentation (if the changes require it) or I have noted the need for the change if I do not have access to the documentation
  • I have marked all introduced BREAKING CHANGES or necessary DEPLOYMENT NOTES in the commit message(s)

Reviewer's checklist

  • This MR has been tested or does not change functionality
  • This MR has correct commit message format

Related issues

Closes STR-1180

Edited by Michal Berky

Merge request reports