rucio / webui

RucioWebUI (v2.0)
Apache License 2.0
4 stars 14 forks source link

Server Side Table Rows/Pagination #328

Closed ThePhisch closed 1 month ago

ThePhisch commented 11 months ago

Description

The Server-Side Row Model (SSRM) allows applications to work with very large datasets. This is done by lazy-loading data from the server via the following mechanisms:

  • Lazy loading child records from group rows as group rows are expanded.
  • Infinite scrolling through data, loading more data as the application scrolls.

(taken from here). This essentially means that we can show StreamedTables even when the data provided by Rucio is greater than what the browser memory would be able to handle, which might come in handy in the future.

Tanstack Table, the framework we use within the StreamedTables, supports manual pagination, which allows us to implement a Server-Side Row Model (by managing the pages manually, on the server), see their docs.

Motivation

This essentially means that we can show StreamedTables even when the data provided by Rucio is greater than what the browser memory would be able to handle, which might come in handy in the future.

Change

Optionally implement a Server-Side Row Model for the server and StreamedTables.