File Browser is intended to provide a user a simple UI to explore a file system. The server exposes a GraphQL API that allows the front end application to read the file system entries and their metadata so that it can be displayed to the user.
- App Support filtering by
- File size ( max) - filter by adding number
- Entry Name - Filter by text
- Entry Type - filter by dropdown
- Added Loading and error States
- Filter Working through all the directories
- On clicking the file types the file will be downloaded.
- Tried improving filter designs.
- Changed where.name_contains to where.name_contains.toLowerCase() for filtering.
- (!tmpEntry?.name.toLowerCase().includes(where.name_contains.toLowerCase()))
{ listEntries(path:"/documents"){ pagination{ page pageCount prevPage nextPage totalRows } entries{ ... on File{ id path name size lastModified } ... on Directory{ id path name } } } }