Skip to content

Commit

Permalink
Merge pull request #52 from odevine/feat/decks-datagrid
Browse files Browse the repository at this point in the history
Update decks table to use mui x datagrid for better filtering/sorting
  • Loading branch information
odevine authored Jan 25, 2025
2 parents ffd8e66 + a76cde2 commit d5dd9dd
Show file tree
Hide file tree
Showing 33 changed files with 966 additions and 849 deletions.
238 changes: 217 additions & 21 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "edh-tracker",
"private": true,
"version": "1.3.1",
"version": "1.4.0",
"type": "module",
"scripts": {
"start": "vite",
Expand All @@ -15,6 +15,7 @@
"@fontsource-variable/noto-sans-mono": "^5.0.20",
"@mui/icons-material": "^5.15.15",
"@mui/material": "^5.15.15",
"@mui/x-data-grid": "^7.23.3",
"@mui/x-date-pickers": "^7.4.0",
"aws-amplify": "^6.1.4",
"axios": "^1.7.7",
Expand Down
9 changes: 5 additions & 4 deletions src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -57,19 +57,20 @@ export const App = () => {
const showLoading = usersLoading || matchesLoading || decksLoading;

return (
<>
<Stack flexDirection="column" height="100vh" overflow="hidden">
<Toolbar />
<Box
sx={{
height: "calc(100% - 64px)",
flex: 1,
overflowY: "auto",
scrollbarGutter: 8,
scrollbarGutter: "stable",
p: 3,
}}
>
{routeResult || <h1>404 Not Found</h1>}
</Box>
{showLoading && <LoadingBackdrop />}
<AppAlertList messages={appMessages} onDelete={deleteAppMessage} />
</>
</Stack>
);
};
File renamed without changes.
File renamed without changes.
2 changes: 2 additions & 0 deletions src/Components/Common/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
export * from "./AppAlerts";
export * from "./LoadingBackdrop";
Loading

0 comments on commit d5dd9dd

Please sign in to comment.