eclipse-pass / pass-ui

UI code base for PASS
Apache License 2.0
4 stars 16 forks source link

Adding server-side pagination support #1243

Closed jabrah closed 10 months ago

jabrah commented 10 months ago

(Will) Close https://github.com/eclipse-pass/main/issues/547

Changes

Description

Adding support for server-side pagination, where previously we grabbed all records and did client side paging. For now, I've added some URL query params:

These query params will be automatically added to the URL and updated as the user uses the pagination controls, but the user can also manually update these parameters in their address bar, if desired

TODO

Questions

Testing

Manual

You can check any of the above sections. Using pagination controls will update URL query parameters on the page. Since we don't have a huge amount of test data, you can manually set page size to something small, like pageSize=2 to force the results to render across multiple pages

jabrah commented 10 months ago

We could introduce an RSQL library if we wanted to abstract the RSQL query generation better