Purushottam Sinha created FLINK-39503:
-----------------------------------------
Summary: Make Job Overview DAG height viewport-aware and add
recenter control
Key: FLINK-39503
URL: https://issues.apache.org/jira/browse/FLINK-39503
Project: Flink
Issue Type: Improvement
Components: Runtime / Web Frontend
Reporter: Purushottam Sinha
{*}Summary{*}: Job Overview page — make graph container height auto-adjust to
viewport and add a recenter affordance.
*Problem*
* The DAG graph area opens at a fixed default height. A horizontal divider
lets the user drag it, but until they do, the default doesn't adapt to the
viewport — cramped on shorter screens, under-utilized on taller ones.
* Users who pan or zoom the DAG have no quick way to restore its centered
view.
*Changes*
* job-overview.component.ts: default graph height (top) is now clamped to
[280, 500] at 40% of the viewport height, and re-applied on window resize. Once
the user drags the divider, their choice is preserved (no further auto-adjust).
* dagre.component: adds a recenter button (aim icon) in the bottom-right of
the graph plus a Ctrl+Space keyboard shortcut; wires up the existing
moveToCenter() API.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)