This repository has been archived by the owner on Oct 28, 2023. It is now read-only.
-
-
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
Showing
9 changed files
with
82 additions
and
26 deletions.
There are no files selected for viewing
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 |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import {Button} from "@mui/material"; | ||
import {enqueueSnackbar} from "notistack"; | ||
|
||
export default function StatisticsDataEnds() { | ||
const action = ( | ||
<Button | ||
color="inherit" | ||
size="small" | ||
component="a" | ||
href="https://containerup.org/faq/#the-statistics-data-stream-is-ended" | ||
target="_blank" | ||
> | ||
Learn more | ||
</Button> | ||
); | ||
|
||
return enqueueSnackbar('The statistics data stream is ended.', { | ||
variant: 'warning', | ||
persist: true, | ||
action | ||
}); | ||
} |
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 {Button} from "@mui/material"; | ||
import {enqueueSnackbar} from "notistack"; | ||
|
||
export default function WebsocketConnectError() { | ||
const action = ( | ||
<Button | ||
size="small" | ||
color="inherit" | ||
href="https://containerup.org/faq/#cannot-connect-to-websocket" | ||
target="_blank" | ||
> | ||
Troubleshoot! | ||
</Button> | ||
); | ||
|
||
return enqueueSnackbar('Cannot connect to WebSocket.', { | ||
variant: 'error', | ||
persist: true, | ||
action | ||
}); | ||
} |
2 changes: 0 additions & 2 deletions
2
src/components/WebsocketDisconnectError.js → ...notifications/WebsocketDisconnectError.js
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
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