forked from ray-project/ray
-
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.
Add driver logs to Jobs page for submission jobs (ray-project#34514)
Add driver logs to Jobs page for submission jobs Adds a refresh button to the log viewer to reload the logs. Refactors the log viewer from the logs page into its own component Updates the look and feel of the jobs page to match the new IA style. Adds User-provided metadata to the job detail page. (fixes [Core|Dashboard] Support custom tags for jobs. ray-project#34187 ) Updates the table icon Change "Tasks" to "Tasks/actor overview" Adds Node Count Card next to ray status cards Signed-off-by: elliottower <[email protected]>
- Loading branch information
1 parent
9636e78
commit 5df609b
Showing
15 changed files
with
639 additions
and
422 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
import { | ||
Box, | ||
BoxProps, | ||
createStyles, | ||
makeStyles, | ||
Paper, | ||
Typography, | ||
} from "@material-ui/core"; | ||
import React, { PropsWithChildren } from "react"; | ||
import { ClassNameProps } from "./props"; | ||
|
||
const useStyles = makeStyles((theme) => | ||
createStyles({ | ||
contentContainer: { | ||
padding: theme.spacing(2), | ||
height: "100%", | ||
}, | ||
}), | ||
); | ||
|
||
type SectionProps = { | ||
title?: string; | ||
} & ClassNameProps & | ||
BoxProps; | ||
|
||
export const Section = ({ | ||
title, | ||
children, | ||
className, | ||
...props | ||
}: PropsWithChildren<SectionProps>) => { | ||
const classes = useStyles(); | ||
|
||
return ( | ||
<Box className={className} {...props}> | ||
{title && ( | ||
<Box paddingBottom={2}> | ||
<Typography variant="h4">{title}</Typography> | ||
</Box> | ||
)} | ||
<Paper variant="outlined" className={classes.contentContainer}> | ||
{children} | ||
</Paper> | ||
</Box> | ||
); | ||
}; |
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.