-
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.
- Loading branch information
1 parent
67d89c3
commit 88b44de
Showing
28 changed files
with
158 additions
and
126 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
This file was deleted.
Oops, something went wrong.
25 changes: 0 additions & 25 deletions
25
front-end/src/apps/FrcFmsFieldMonitor/components/PrestartStatus.tsx
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,10 @@ | ||
import { ReactNode } from 'react'; | ||
import Reports from './Reports'; | ||
import { Reports } from './reports-app'; | ||
|
||
export interface ReportProps { | ||
eventKey: string | null | undefined; | ||
tournamentKey?: string | null | undefined; | ||
onGenerate: (c: ReactNode) => void; | ||
} | ||
|
||
export default Reports; | ||
export { Reports }; |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { AudienceDisplayManager } from './audience-display-manager'; | ||
|
||
export { AudienceDisplayManager }; |
26 changes: 26 additions & 0 deletions
26
front-end/src/apps/field-monitor/components/prestart-status.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 CheckCircleOutline from '@mui/icons-material/CheckCircleOutline'; | ||
import ErrorOutline from '@mui/icons-material/ErrorOutline'; | ||
import PauseCircleOutline from '@mui/icons-material/PauseCircleOutline'; | ||
import { CircularProgress, Grid, Typography } from '@mui/material'; | ||
import { HardwareInfo, PrestartState } from '@toa-lib/models'; | ||
|
||
export const PrestartStatus = ({ hw }: { hw: HardwareInfo }) => { | ||
return ( | ||
<Grid item xs={1} title={hw.lastLog ?? ''}> | ||
{hw.state === PrestartState.Prestarting ? ( | ||
<CircularProgress size='23px' /> | ||
) : null} | ||
{hw.state === PrestartState.Success ? ( | ||
<CheckCircleOutline sx={{ color: 'green' }} /> | ||
) : null} | ||
{hw.state === PrestartState.Fail ? ( | ||
<ErrorOutline sx={{ color: 'red' }} /> | ||
) : null} | ||
{hw.state === PrestartState.NotReady ? ( | ||
<PauseCircleOutline sx={{ color: 'red' }} /> | ||
) : null} | ||
<br /> | ||
<Typography variant='caption'>{hw.name}</Typography> | ||
</Grid> | ||
); | ||
}; |
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
File renamed without changes.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
import { QueueingDisplay } from './QueueingDisplay'; | ||
|
||
export { QueueingDisplay }; |
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
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,5 @@ | ||
import { FC } from 'react'; | ||
|
||
export const ScheduleReport: FC = () => { | ||
return null; | ||
}; |
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.