@@ -8,6 +8,7 @@ import * as Redux from 'redux'
88import { Box , Button , CircularProgress , Divider , Grid , Tab , Tabs } from '@mui/material'
99import { CalendarIcon } from '@mui/x-date-pickers'
1010import { DirectionsRun , SportsScore , Start } from '@mui/icons-material'
11+ import { FontAwesomeIcon } from '@fortawesome/react-fontawesome'
1112import { IState } from '../../store/reducers'
1213import { LineageJob } from '../../types/lineage'
1314import { MqInfo } from '../core/info/MqInfo'
@@ -23,9 +24,11 @@ import {
2324 resetRuns ,
2425 setTabIndex ,
2526} from '../../store/actionCreators'
27+ import { faCog } from '@fortawesome/free-solid-svg-icons/faCog'
2628import { formatUpdatedAt } from '../../helpers'
2729import { jobRunsStatus } from '../../helpers/nodes'
2830import { stopWatchDuration } from '../../helpers/time'
31+ import { truncateText } from '../../helpers/text'
2932import { useNavigate , useSearchParams } from 'react-router-dom'
3033import { useTheme } from '@emotion/react'
3134import CloseIcon from '@mui/icons-material/Close'
@@ -118,9 +121,29 @@ const JobDetailPage: FunctionComponent<IProps> = (props) => {
118121 >
119122 < Box display = { 'flex' } alignItems = { 'center' } justifyContent = { 'space-between' } >
120123 < Box >
121- < MqText font = { 'mono' } heading >
122- { job . name }
123- </ MqText >
124+ < Box display = { 'flex' } alignItems = { 'center' } >
125+ < Box
126+ mr = { 2 }
127+ borderRadius = { theme . spacing ( 1 ) }
128+ p = { 1 }
129+ width = { 32 }
130+ height = { 32 }
131+ display = { 'flex' }
132+ bgcolor = { theme . palette . primary . main }
133+ >
134+ < FontAwesomeIcon
135+ aria-hidden = { 'true' }
136+ title = { 'Job' }
137+ icon = { faCog }
138+ width = { 16 }
139+ height = { 16 }
140+ color = { theme . palette . common . white }
141+ />
142+ </ Box >
143+ < MqText font = { 'mono' } heading >
144+ { truncateText ( job . name , 40 ) }
145+ </ MqText >
146+ </ Box >
124147 { job . description && (
125148 < Box mt = { 1 } >
126149 < MqText subdued > { job . description } </ MqText >
0 commit comments