phac-nml / irida-next

IRIDA Next
https://phac-nml.github.io/irida-next/
Apache License 2.0
8 stars 3 forks source link

Data Exports: Table Paging, Searching, and Sorting #758

Closed ericenns closed 1 month ago

ericenns commented 1 month ago

Summary

Currently the DataExports Index page loads all of the DataExports that a User has created, this means that the page will continue to take longer to respond as the User creates more and more DataExports.

Acceptance Criteria

ksierks commented 1 month ago

@ericenns I have some clarification questions.

ericenns commented 1 month ago

@ericenns I have some clarification questions.

  • The table currently only displays the created_at and expires_at dates. Can the default sort be created_at?

Yeah that works.

  • Should a limit component be displayed for the pagination?

Yes, a limit component should be displayed.

  • Should this PR include converting the table into a view components?

Yes, that is a good idea.

  • Should the sorting and searching use turbo_streams?

No need to use turbo_streams or a separate endpoint for this one as it is a basic search. Thank you.