Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
52bb090
send back mock response from view
Oct 9, 2020
03ddbd0
remove json snippet annotation for github
Oct 9, 2020
b1433ee
add a status endpoint for ping request
Oct 9, 2020
eec8c48
use with statement to open file
Oct 16, 2020
242ada0
Merge branch 'master' of https://github.com/PolyCortex/polydodo into …
Oct 16, 2020
144d8ce
Create specific style.css with BEM class names for css
Oct 16, 2020
2856d40
Customize drag and drop button OpenBCI file
Oct 16, 2020
42a31d5
add type validation to upload file
Oct 17, 2020
1ec6e7b
Add some constants and form validation
Oct 17, 2020
445ef45
Complete date time validation
Oct 17, 2020
8c218f9
Create loading page and parse request results to SleepAnalysisResults
Oct 18, 2020
917c90f
create a global state hook && pass epochs to hypnogram
Oct 18, 2020
f7da5d8
Evolutive chart link to back-end
Oct 18, 2020
2c9fab2
remove annotations field from server response && link spectrogram
Oct 18, 2020
bdcb6e6
Fix mock response sent by backend
Oct 18, 2020
feb9578
uncomment form
Oct 18, 2020
cfdcf8a
Display an error alert when post does not work
Oct 18, 2020
19b15f7
Merge branch 'master' of https://github.com/PolyCortex/polydodo into …
Oct 18, 2020
ab7015c
Downloadable json
Oct 18, 2020
d3aac69
useGlobalState hook instead of local state
Oct 18, 2020
e161aac
Update web/src/views/analyze_sleep/upload_form/index.js
Oct 18, 2020
a7ecaa7
replace moment for pur JS Date
Oct 18, 2020
165fcce
Replace moment by Luxon
Oct 18, 2020
f8bbc7b
Hide components in place of conditional rendering in order to preserv…
Oct 18, 2020
c53894c
Deactivates browser native validation
Oct 19, 2020
76f5227
Merge branch 'web/json-download' of https://github.com/PolyCortex/pol…
Oct 19, 2020
f2a6ceb
Transfer redirection to parent component
Oct 19, 2020
5044039
Min age set to 12 and add note
Oct 19, 2020
da47f39
remove unused imports
Oct 19, 2020
46a0fb7
Fix performances
Oct 19, 2020
4c3666e
string interpolation
Oct 19, 2020
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
3,001 changes: 1,363 additions & 1,638 deletions backend/assets/mock_response.json

Large diffs are not rendered by default.

10 changes: 0 additions & 10 deletions backend/assets/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,6 @@
... // Stage of each timestamp. This array has the same size that timestamps. Possible values are "W", "REM", "N1", "N2", "N3"
]
},
"annotations": [
[1602210380, "W"], // Unix timestamp of the epoch that transitioned to the "W" state
[1602211400, "N1"],
[1602211910, "N2"],
[1602212900, "N3"],
...
[1602239180, "W"],
[1602239210, "N1"],
[1602239240, "W"]
],
"spectrograms": {
"frequencies": [...],
"fpz-cz": [ // Contains an array for each timestamps in epochs.timestamps for the fpz-cz eeg channel
Expand Down
3 changes: 2 additions & 1 deletion web/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,12 +31,13 @@
"d3": "^5.16.0",
"d3-tip": "^0.9.1",
"headroom.js": "^0.11.0",
"moment": "^2.27.0",
"luxon": "^1.25.0",
"node-sass": "4.14.1",
"prop-types": "^15.7.2",
"react": "16.12.0",
"react-dom": "16.12.0",
"react-hook-form": "^6.8.4",
"react-hooks-global-state": "^1.0.1",
Comment thread
WilliamHarvey97 marked this conversation as resolved.
"react-router": "5.1.2",
"react-router-dom": "5.1.2",
"react-scripts": "3.4.0",
Expand Down
74 changes: 0 additions & 74 deletions web/src/assets/css/visualisation.css

This file was deleted.

Loading