-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: finished refactor of annotation table making it robust to reren…
…ders
- Loading branch information
Showing
30 changed files
with
859 additions
and
1,038 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
2 changes: 1 addition & 1 deletion
2
...c/components/DisplayStudy/DisplayAnalyses/DisplayAnalysis/DisplayPoints/DisplayPoints.tsx
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
228 changes: 79 additions & 149 deletions
228
compose/neurosynth-frontend/src/components/EditAnnotations/EditAnnotations.tsx
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
26 changes: 26 additions & 0 deletions
26
...StudyComponents/EditAnalyses/EditAnalysisPoints/EditAnalysisPoints/EditAnalysisPoints.tsx
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,26 @@ | ||
import EditAnalysisPointsHotTable from 'components/HotTables/EditAnalysisPointsHotTable/EditAnalysisPointsHotTable'; | ||
import EditAnalysisPointSpaceAndStatistic from '../EditAnalysisPointSpaceAndStatistic/EditAnalysisPointSpaceAndStatistic'; | ||
import { Box, Tooltip, Typography } from '@mui/material'; | ||
import HelpIcon from '@mui/icons-material/Help'; | ||
|
||
const EditAnalysisPoints: React.FC<{ analysisId?: string }> = (props) => { | ||
return ( | ||
<Box sx={{ marginTop: '2rem', width: '100%' }}> | ||
<Box sx={{ display: 'flex', alignItems: 'center', margin: '0.5rem 0' }}> | ||
<Typography sx={{ fontWeight: 'bold', marginRight: '1rem' }}> | ||
Analysis Coordinates | ||
</Typography> | ||
<Tooltip | ||
title="To add or remove rows, right click on a cell to open the context menu. You must enter all coordinates in order to save the overall study. Please note that the ordering of points is not guaranteed." | ||
placement="right" | ||
> | ||
<HelpIcon color="primary" /> | ||
</Tooltip> | ||
</Box> | ||
<EditAnalysisPointSpaceAndStatistic analysisId={props.analysisId} /> | ||
<EditAnalysisPointsHotTable analysisId={props.analysisId} /> | ||
</Box> | ||
); | ||
}; | ||
|
||
export default EditAnalysisPoints; |
Oops, something went wrong.