This repository has been archived by the owner on May 15, 2024. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(component): add table to display top clients blocked queries
## what - display client name - display number of queries for the client - display progress bar using percentage of number of queries for the client against total top clients blocked queries - make the client name clickable - onClicking client name, it will navigate to queries/clients page - display tooltip on the progress bar - display number of queries for the client in percentage of the total clients blocked queries ## how - used Material-ui components - Card - Table - Progress bar - Skeleton - Typography - Tooltip - Grid - use NextJS `Link` to create links - use a separate component to generate a table row - calculate percentage. num client queries / total top clients blocked queries - use `Intl` JavaScript object to make numbers more readable ## why - to display top clients blocked queries in a table form ## where - ./src/components/Tables/TopBlockedClients.tsx ## usage
- Loading branch information