Skip to content

Commit

Permalink
Merge pull request #19378 from jeclrsg/hpcc-33140-archived-wu-data-fl…
Browse files Browse the repository at this point in the history
…icker

HPCC-33140 ECL Watch v9 fix WU details flicker
  • Loading branch information
GordonSmith authored Jan 9, 2025
2 parents 853b8f0 + fb4db8f commit 1677ac3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
8 changes: 3 additions & 5 deletions esp/src/src-react/components/WorkunitSummary.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -251,12 +251,10 @@ export const WorkunitSummary: React.FunctionComponent<WorkunitSummaryProps> = ({
</MessageBar>
}
</Sticky>
<Sticky stickyPosition={StickyPositionType.Header}>
<div style={{ position: "sticky", zIndex: 2, top: 44, display: "flex", flexDirection: "row", justifyContent: "space-between" }}>
<WorkunitPersona wuid={wuid} />
<div style={{ width: "512px", height: "64px", float: "right" }}>
<WUStatus wuid={wuid}></WUStatus>
</div>
</Sticky>
<WUStatus wuid={wuid}></WUStatus>
</div>
<TableGroup fields={{
"wuid": { label: nlsHPCC.WUID, type: "string", value: wuid, readonly: true },
"otTraceId": { label: nlsHPCC.Trace, type: "string", value: otTraceId, readonly: true },
Expand Down
2 changes: 1 addition & 1 deletion esp/src/src-react/components/controls/StateIcon.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,7 @@ export const WorkunitPersona: React.FunctionComponent<WorkunitPersonaProps> = ({
}
}, [workunit, workunit?.StateID, theme.semanticColors.errorIcon, theme.semanticColors.successIcon, theme.semanticColors.warningIcon]);

return <FluentProvider theme={themeV9} style={{ marginRight: 4, display: "inline-block" }}>
return <FluentProvider theme={themeV9} style={{ paddingTop: 4, flexGrow: 1, height: 26 }}>
<ThemeProvider theme={theme} title={workunit?.State}>
{showProtected &&
<span style={{ marginLeft: 8, marginRight: 2 }}>
Expand Down

0 comments on commit 1677ac3

Please sign in to comment.