Loading backend @ 6865e97e Compare ad064eb0 to 6865e97e Original line number Diff line number Diff line Subproject commit ad064eb0c6daec786c1e1b3ba33a896351409c67 Subproject commit 6865e97e38bccc1e6216825c473bcfdb8a8b03dc codegen/package.json +1 −1 Original line number Diff line number Diff line { "name": "@inject/codegen", "version": "3.7.0", "version": "3.8.0", "description": "GraphQL API Codegen Setup for the Inject Backend", "main": "index.js", "license": "MIT", Loading frontend/package.json +1 −1 Original line number Diff line number Diff line { "name": "@inject/frontend", "version": "3.7.0", "version": "3.8.0", "description": "Main wrapper for rendering INJECT Frontend", "main": "index.js", "license": "MIT", Loading frontend/src/components/ExerciseList/ExerciseButtons.tsx +2 −11 Original line number Diff line number Diff line Loading @@ -33,9 +33,8 @@ type ExerciseButtonsProps = { | { type: 'selecting' details: SelectingDetails runningAny?: never } | { type: 'managing'; details?: never; runningAny: boolean } | { type: 'managing'; details?: never } ) const executeMutation = ( Loading Loading @@ -104,7 +103,6 @@ const ExerciseButtons: FC<ExerciseButtonsProps> = ({ exercise, type, details, runningAny, }) => { const [alertOpen, setAlertOpen] = useState(false) const [startAlertOpen, setStartAlertOpen] = useState(false) Loading Loading @@ -141,14 +139,7 @@ const ExerciseButtons: FC<ExerciseButtonsProps> = ({ } }} loading={loading} disabled={runningAny} title={ runningAny ? 'Only one exercise can run at a time' : exercise.exerciseStart ? 'Resume' : 'Start' } title={exercise.exerciseStart ? 'Resume' : 'Start'} /> {type === 'managing' && !exercise.exerciseStart && ( <StartAlert Loading frontend/src/components/ExerciseList/index.tsx +1 −2 Original line number Diff line number Diff line Loading @@ -131,7 +131,6 @@ const ExerciseList: FC<ExerciseListProps> = ({ ? { type: 'selecting', details: details(exercise) } : { type: 'managing', runningAny: exercises.some(e => e.running), })} /> ), Loading @@ -140,7 +139,7 @@ const ExerciseList: FC<ExerciseListProps> = ({ ] return columns }, [details, exercises, isSelected, type]) }, [details, isSelected, type]) const rows: Row<Exercise>[] = useMemo(() => { const rows: Row<Exercise>[] = exercises.map(exercise => ({ Loading Loading
backend @ 6865e97e Compare ad064eb0 to 6865e97e Original line number Diff line number Diff line Subproject commit ad064eb0c6daec786c1e1b3ba33a896351409c67 Subproject commit 6865e97e38bccc1e6216825c473bcfdb8a8b03dc
codegen/package.json +1 −1 Original line number Diff line number Diff line { "name": "@inject/codegen", "version": "3.7.0", "version": "3.8.0", "description": "GraphQL API Codegen Setup for the Inject Backend", "main": "index.js", "license": "MIT", Loading
frontend/package.json +1 −1 Original line number Diff line number Diff line { "name": "@inject/frontend", "version": "3.7.0", "version": "3.8.0", "description": "Main wrapper for rendering INJECT Frontend", "main": "index.js", "license": "MIT", Loading
frontend/src/components/ExerciseList/ExerciseButtons.tsx +2 −11 Original line number Diff line number Diff line Loading @@ -33,9 +33,8 @@ type ExerciseButtonsProps = { | { type: 'selecting' details: SelectingDetails runningAny?: never } | { type: 'managing'; details?: never; runningAny: boolean } | { type: 'managing'; details?: never } ) const executeMutation = ( Loading Loading @@ -104,7 +103,6 @@ const ExerciseButtons: FC<ExerciseButtonsProps> = ({ exercise, type, details, runningAny, }) => { const [alertOpen, setAlertOpen] = useState(false) const [startAlertOpen, setStartAlertOpen] = useState(false) Loading Loading @@ -141,14 +139,7 @@ const ExerciseButtons: FC<ExerciseButtonsProps> = ({ } }} loading={loading} disabled={runningAny} title={ runningAny ? 'Only one exercise can run at a time' : exercise.exerciseStart ? 'Resume' : 'Start' } title={exercise.exerciseStart ? 'Resume' : 'Start'} /> {type === 'managing' && !exercise.exerciseStart && ( <StartAlert Loading
frontend/src/components/ExerciseList/index.tsx +1 −2 Original line number Diff line number Diff line Loading @@ -131,7 +131,6 @@ const ExerciseList: FC<ExerciseListProps> = ({ ? { type: 'selecting', details: details(exercise) } : { type: 'managing', runningAny: exercises.some(e => e.running), })} /> ), Loading @@ -140,7 +139,7 @@ const ExerciseList: FC<ExerciseListProps> = ({ ] return columns }, [details, exercises, isSelected, type]) }, [details, isSelected, type]) const rows: Row<Exercise>[] = useMemo(() => { const rows: Row<Exercise>[] = exercises.map(exercise => ({ Loading