Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[ENH] Implemented UI improvements #16

Merged
merged 29 commits into from
Feb 14, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
68d9008
Cleaned up old files
rmanaem Jan 29, 2024
6ddd135
Added favicon
rmanaem Jan 29, 2024
e84e6e9
Added summary stats
rmanaem Jan 29, 2024
b53b1fb
Implemented navbar
rmanaem Jan 29, 2024
48af49b
Implemented logic for displaying snackbar/toasts
rmanaem Feb 1, 2024
e778bda
Fixed the bg color on hover for modality buttons
rmanaem Feb 1, 2024
f8cf132
Added `circularProgress` on `submit query` button while result is bei…
rmanaem Feb 1, 2024
2e3ac95
Modified how dataset name is displayed in `ResultCard`
rmanaem Feb 1, 2024
e003b89
Implemented validation for `continuousField`
rmanaem Feb 2, 2024
d7897be
Refactored and formatted with prettier
rmanaem Feb 2, 2024
668bb8a
[WIP] Implemented alert for OpenNeuro
rmanaem Feb 2, 2024
e79fff6
Implemented `OpenNeuro` alert
rmanaem Feb 4, 2024
fd88983
Moved the logic for validation of `ContinuousField` to `QueryForm`
rmanaem Feb 5, 2024
6d63214
[REF] compute errors from props
surchs Feb 12, 2024
0dd08ea
[REF] remove responsibilities from async getter
surchs Feb 12, 2024
6e284fe
[REF] remove responsibilities from node getter funtion
surchs Feb 12, 2024
94db71a
[REF] Removed `autoHideDuration` prop from `Snackbar`
rmanaem Feb 13, 2024
298d748
[REF] Added an empty line for readability
rmanaem Feb 13, 2024
a0360b3
[REF] Reduced inline comment
rmanaem Feb 13, 2024
2560a68
[REF] Refactored logic inside `useEffect` to use `then` instead of an…
rmanaem Feb 13, 2024
007e5b6
[REF] Refactored `summaryStats`
rmanaem Feb 13, 2024
482f966
[REF] Renamed `minAgeBiggerThanMax` to `minAgeExceedsMaxAge`
rmanaem Feb 13, 2024
5b9418b
[REF] Renamed `label` to `nodeName`
rmanaem Feb 13, 2024
7c8e806
[REF] Fixed typo in `openNeuroIsAnOption`
rmanaem Feb 13, 2024
de22882
Added comment `TODO` comment
rmanaem Feb 13, 2024
05c05da
Added `notistack`
rmanaem Feb 13, 2024
8ef99cc
[REF] Reworked logic of displaying toasts to use `notistack`
rmanaem Feb 13, 2024
2636b7e
Removed custom toast/snackbar components
rmanaem Feb 13, 2024
62ad1f8
[REF] Renamed `tryThisOptionsGetter` to `getAttributes`
rmanaem Feb 14, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
<link rel="icon" type="image/ico" href="./src/assets/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Neurobagel Query Tool</title>
</head>
Expand Down
68 changes: 63 additions & 5 deletions package-lock.json

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

5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,17 @@
"@mui/material": "^5.15.5",
"axios": "^1.6.5",
"eslint-plugin-tsdoc": "^0.2.17",
"notistack": "^3.0.1",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-router-dom": "^6.21.2"
"react-router-dom": "^6.21.2",
"uuid": "^9.0.1"
},
"devDependencies": {
"@tailwindcss/typography": "^0.5.10",
"@types/react": "^18.2.47",
"@types/react-dom": "^18.2.18",
"@types/uuid": "^9.0.8",
"@typescript-eslint/eslint-plugin": "^6.18.0",
"@typescript-eslint/parser": "^6.18.0",
"@vitejs/plugin-react-swc": "^3.5.0",
Expand Down
17 changes: 0 additions & 17 deletions src/App.css
Original file line number Diff line number Diff line change
@@ -1,17 +0,0 @@
/* #root {
max-width: 1280px;
margin: 0 auto;
padding: 2rem;
text-align: center;
} */

.dataset-name-etc-container {
overflow: hidden;
}

.dataset-name {
max-width: 90%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
8 changes: 0 additions & 8 deletions src/App.cy.tsx

This file was deleted.

Loading