normalize tabqueue

This commit is contained in:
Alex Holliday committed 2026-05-04 11:59:02 -07:00
1 parent 1fd56610ea
commit 2e9b87ba32
2 files changed
+15 -24

No files matched your search

+14 -24
View File
@@ -10,6 +10,7 @@ import type { QueueData } from "@/Types/Queue";
import { Metrics } from "@/Pages/Logs/components/Metrics"; import { Metrics } from "@/Pages/Logs/components/Metrics";
import { Button } from "@/Components/inputs"; import { Button } from "@/Components/inputs";
import { EmptyState } from "@/Components/design-elements"; import { EmptyState } from "@/Components/design-elements";
import { SPACING } from "@/Utils/Theme/constants";
export const TabQueue = () => { export const TabQueue = () => {
const theme = useTheme(); const theme = useTheme();
@@ -49,32 +50,26 @@ export const TabQueue = () => {
<Stack gap={theme.spacing(1)}> <Stack gap={theme.spacing(1)}>
<Typography <Typography
variant="eyebrow" variant="eyebrow"
color="text.secondary" color={theme.palette.text.secondary}
> >
{t("pages.logs.jobQueue")} {t("pages.logs.jobQueue")}
</Typography> </Typography>
<Typography <Typography color={theme.palette.text.secondary}>
sx={{
fontSize: 13,
color: theme.palette.text.secondary,
}}
>
<Trans <Trans
i18nKey="pages.logs.jobQueueExplainer" i18nKey="pages.logs.jobQueueExplainer"
components={{ components={{
highlight: ( highlight: (
<Box <Box
component="span" component="span"
sx={{ bgcolor={
backgroundColor: theme.palette.mode === "dark"
theme.palette.mode === "dark" ? "rgba(19, 113, 91, 0.18)"
? "rgba(19, 113, 91, 0.18)" : "#ECF7F2"
: "#ECF7F2", }
color: theme.palette.text.primary, color={theme.palette.text.primary}
px: 1, px={SPACING.SM}
py: 0.25, py={SPACING.XXS}
borderRadius: 0.5, borderRadius={theme.shape.borderRadius}
}}
/> />
), ),
}} }}
@@ -87,16 +82,11 @@ export const TabQueue = () => {
<Stack gap={theme.spacing(1)}> <Stack gap={theme.spacing(1)}>
<Typography <Typography
variant="eyebrow" variant="eyebrow"
color="text.secondary" color={theme.palette.text.secondary}
> >
{t("pages.logs.failedJobs")} {t("pages.logs.failedJobs")}
</Typography> </Typography>
<Typography <Typography color={theme.palette.text.secondary}>
sx={{
fontSize: 13,
color: theme.palette.text.secondary,
}}
>
{t("pages.logs.failedJobsExplainer")} {t("pages.logs.failedJobsExplainer")}
</Typography> </Typography>
</Stack> </Stack>
+1
View File
@@ -1,4 +1,5 @@
export const SPACING = { export const SPACING = {
XXS: 0.25,
XS: 0.5, XS: 0.5,
SM: 1, SM: 1,
MD: 1.5, MD: 1.5,