CDCgov / prime-reportstream

ReportStream is a public intermediary tool for delivery of data between different parts of the healthcare ecosystem.
https://reportstream.cdc.gov
Creative Commons Zero v1.0 Universal
65 stars 39 forks source link

Update Pagination and Table Component for Daily Data table #14238

Open etanb opened 2 months ago

etanb commented 2 months ago

Problem statement

We currently utilize a fairly complicated custom version of Pagination in our code. Since we're trying to be lock-step with USWDS React component library, we should be utilizing their Pagination and not rolling our own.

In addition, our UsePagination hook could use a re-think and potential re-work. It's fairly complicated but we rely on it for ALL of our tables' data. The main code was created 2 years ago, and there are some race conditions and other code complexities we should work through.

What you need to know

Acceptance criteria

penny-lischer commented 1 month ago

We may want to separate the last AC into another ticket. It may inflate this ticket since we should convert the e2e file to the POM and we will also need to get the tests working.

chris-kuryak commented 1 day ago

Scope needed to be expanded. Will not close this sprint.

chris-kuryak commented 20 hours ago

Per Etan, need a couple more days to complete