-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: update for EEG experiment, add triggers, update descriptions, a…
…dd new apathy questions etc. * feat: update progress bar, add eeg tweaks and update storage of data * fix: resolve eeg trigger issue and go from CHF rewards to points * fix: ignore type issues * fix: shorten trigger EEG * feat: update descriptions and images after feedback tech test * fix: limit repetitions serialport check * fix: set min-height to 800 * fix: set playerview height when not fullscreen
- Loading branch information
Showing
37 changed files
with
34,605 additions
and
2,791 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
import { AppData, AppDataVisibility } from '@graasp/sdk'; | ||
|
||
import { ExperimentResult } from '@/modules/config/appResults'; | ||
|
||
export enum AppDataType { | ||
ExperimentResults = 'experiment-results', | ||
} | ||
|
||
export type ExperimentResultsAppData = AppData & { | ||
type: AppDataType.ExperimentResults; | ||
data: ExperimentResult; | ||
visibility: AppDataVisibility.Member; | ||
}; | ||
|
||
export const getDefaultExperimentResultAppData = ( | ||
experimentResult: ExperimentResult, | ||
): Pick<ExperimentResultsAppData, 'data' | 'type' | 'visibility'> => ({ | ||
type: AppDataType.ExperimentResults, | ||
data: experimentResult, | ||
visibility: AppDataVisibility.Member, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.