CDCgov / phdi

https://cdcgov.github.io/dibbs-site/
Creative Commons Zero v1.0 Universal
34 stars 14 forks source link

SORT: Add sorting for patient name & dates | eCR Library table #2233

Open sarahtress opened 3 months ago

sarahtress commented 3 months ago

User Story

As somebody viewing the eCR Library, I want to be able to sort by Patient Name, Received Date, and Encounter Date, so that I can more easily find the eCRs I'm interested in and better group them within the table

Acceptance Criteria

Scenarios

Scenario 1:

Scenario 2:

Scenario 3:

Scenario 4:

Design Notes

No Figma designs specific to sorting since there isn't anything to prototype beyond what's already built into USWDS table component!

Additional context

We will likely add sorting for Condition, and maybe Rule Summary, but for now we're starting with the higher priority columns to add sorting functionality

sarahtress commented 3 months ago

for now I added sorting for all 3 columns into 1 ticket, but we could split up into more tickets if that were to make sense

sarahtress commented 3 months ago

this is blocked until filters are implemented (because of Reset button and styling around it)