Closed
Description
Describe the Current Behavior/Feature:
Implement a mobile layout for the profile document table using cards. With the existing list of objects implemented in PASS, while it would end up showing the metadata for all documents stored within the Documents container, users could technically still trigger user permissions to block other users from viewing specific files. As such, we could still utilize this list to generate our cards.
In PASS, we have an example of how cards are implemented from a list of objects, check out the existing implementation of message previews from our custom Inbox/Outbox and the MessagePreview component itself.
Rationale:
- implements the desired layout from figma design
Proposed Changes:
- add a mobile view for the document table
should switch to mobile when the table starts to have a horizontal scroll around 900px- mobile view should be cards like the current figma design [Update: see issue #626, also see: link to figma]
- should be responsive
- For the responsive breakpoint we could use the existing MUI breakpoint at
theme.breakpoints.down('sm')
which can be obtained by importing theme and callingconst isSmallScreen = useMediaQuery(theme.breakpoints.down('sm'));
. - should use MUI cards

Possible Drawbacks:
N/A
Alternatives Considered:
N/A
Additional Context:
N/A