[FLINK-39486][runtime-web] Adapt the size of the job-overview-list section based on screen size#27978
Conversation
112707a to
997d93b
Compare
33708dd to
1cd4a6e
Compare
d03d0cc to
463f1d7
Compare
spuru9
left a comment
There was a problem hiding this comment.
Looks good. Added a few nit.
|
|
||
| const calculatedLeft = Math.max(390, containerWidth - fixedColumnsWidth); | ||
| this.left = calculatedLeft; | ||
| this.dynamicResizeMin = calculatedLeft; |
There was a problem hiding this comment.
nit: it would flexible to let dynamicResizeMin remain 390, and add flex-direction: column; in :host in job-overview-list.component.less.
This would help in adding speading the table through the width. While giving the user ability to move eqally space the column.
Before (Min possible Name column width):

After (After flex):

…to PR apache#27978 Drops the overlapping horizontal-sizing and vertical-fill changes on the job-overview-list component so PR apache#27978 can own that scope. Retains graph recentering and dynamic job-overview top on this branch.
…ection based on screen size
c54e29b to
d9f437a
Compare
|
Hi, @spuru9 ! Thanks for the review.
Let me know what you think! |
spuru9
left a comment
There was a problem hiding this comment.
Tested on Mac 13" and 16" from 80% to 110%, LGTM
@spuru9 |
|
Hi, @RocMarshal ! |


What is the purpose of the change
When viewing a Job and navigating to the Overview tab, I noticed that the job-overview-list table size does not dynamically adjust based on the screen size. It's not a critical issue, but it does feel a bit inconvenient from a UX perspective.
Brief change log
Bigger Monitor
Smaller Monitor
Verifying this change
Does this pull request potentially affect one of the following parts:
@Public(Evolving): (yes / no)Documentation
Was generative AI tooling used to co-author this PR?