mirror of
https://github.com/coder/coder.git
synced 2026-10-28 02:42:54 +08:00
chore: change workspace proxy badge names (#8429)
* chore: "Not Reachable" --> "Not Dialable" * chore: "Not registered" --> "Never seen"
This commit is contained in:
@@ -3,6 +3,7 @@ import { Stack } from "components/Stack/Stack"
|
|||||||
import { PropsWithChildren, FC } from "react"
|
import { PropsWithChildren, FC } from "react"
|
||||||
import { MONOSPACE_FONT_FAMILY } from "theme/constants"
|
import { MONOSPACE_FONT_FAMILY } from "theme/constants"
|
||||||
import { combineClasses } from "utils/combineClasses"
|
import { combineClasses } from "utils/combineClasses"
|
||||||
|
import Tooltip from "@mui/material/Tooltip"
|
||||||
|
|
||||||
export const EnabledBadge: FC = () => {
|
export const EnabledBadge: FC = () => {
|
||||||
const styles = useStyles()
|
const styles = useStyles()
|
||||||
@@ -43,18 +44,22 @@ export const NotHealthyBadge: FC = () => {
|
|||||||
export const NotRegisteredBadge: FC = () => {
|
export const NotRegisteredBadge: FC = () => {
|
||||||
const styles = useStyles()
|
const styles = useStyles()
|
||||||
return (
|
return (
|
||||||
<span className={combineClasses([styles.badge, styles.warnBadge])}>
|
<Tooltip title="Workspace Proxy has never come online and needs to be started.">
|
||||||
Not Registered
|
<span className={combineClasses([styles.badge, styles.warnBadge])}>
|
||||||
</span>
|
Never Seen
|
||||||
|
</span>
|
||||||
|
</Tooltip>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
export const NotReachableBadge: FC = () => {
|
export const NotReachableBadge: FC = () => {
|
||||||
const styles = useStyles()
|
const styles = useStyles()
|
||||||
return (
|
return (
|
||||||
<span className={combineClasses([styles.badge, styles.errorBadge])}>
|
<Tooltip title="Workspace Proxy not responding to http(s) requests.">
|
||||||
Not Reachable
|
<span className={combineClasses([styles.badge, styles.warnBadge])}>
|
||||||
</span>
|
Not Dialable
|
||||||
|
</span>
|
||||||
|
</Tooltip>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user