[ 
https://issues.apache.org/jira/browse/FLINK-39503?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ferenc Csaky closed FLINK-39503.
--------------------------------
    Fix Version/s: 2.4.0
       Resolution: Fixed

[{{127f387}}|https://github.com/apache/flink/commit/127f387c391670beb0a5b2a816fb9c5fcfbe6287]
 in master

> 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
>            Assignee: Purushottam Sinha
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 2.4.0
>
>
> {*}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)

Reply via email to