codeforpdx / PASS

PASS project - with HMIS module integration
MIT License
25 stars 24 forks source link

[Enhancement] - Migrate Existing Document List Table to MUI Data Grid #489

Closed leekahung closed 7 months ago

leekahung commented 8 months ago

Describe the Current Behavior/Feature:

As detailed in the title, we could migrate what we have now for our document list table into an MUI Data Grid. Given what we could see from the Data Grid implemented for Contact List, I believe it'll be quite useful for the Document List as well.

Not only does it have a filter function, which could help users sort out/find specific document types on the fly, it's also mobile-friendly. With regards to the number of columns Document List currently has, I think we can consider that in a separate PR.

Proposed Implementation (if applicable):

Similar to Contact List, we could implement the <DataGrid /> component from MUI and pass in the documents list into the property rows as a list of document objects, with each row rendering the object properties as columns.

leekahung commented 7 months ago

Issue has been addressed in PR #529 and merged into Development. Closing issue.