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.
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 propertyrows
as a list of document objects, with each row rendering the object properties as columns.