-
Notifications
You must be signed in to change notification settings - Fork 8.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[APM] Service overview layout enhancements #85781
Comments
Pinging @elastic/apm-ui (Team:apm) |
smith
added a commit
to smith/kibana
that referenced
this issue
Dec 16, 2020
* Use 3/7 instead of 4/6 for `grow` between charts/tables * Decrease chart height * Use "s" gutterSize on tables * Decrease table height * Use `TruncateWithToolTip` on errors and transactions tables to remove tooltip inline-block style * Use `responsive={false}` on dependency titles so icon/name pairs don't wrap * Use `responsive={false}` on spark plots so plot/value pairs don't wrap * Use `responsive={false}` on latency chart and table titles so controls and links don't wrap * Make the fixed sizing overrides for the tables only be applied when we're using a wide, non-mobile (> 992) viewport * Switch to "mobile" viewport (with one item per row) at 992 instead of 768 Since you cannot control the breakpoints at which EUI switches to "responsive" mode, we trigger these manually to change the number of columns. and whether or not the tables use a fixed height. The overview now has three "modes": * Two columns for chart/table rows * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode Fixes elastic#85781.
ogupte
pushed a commit
that referenced
this issue
Dec 17, 2020
* Fixes for service overview layout * Use 3/7 instead of 4/6 for `grow` between charts/tables * Decrease chart height * Use "s" gutterSize on tables * Decrease table height * Use `TruncateWithToolTip` on errors and transactions tables to remove tooltip inline-block style * Use `responsive={false}` on dependency titles so icon/name pairs don't wrap * Use `responsive={false}` on spark plots so plot/value pairs don't wrap * Use `responsive={false}` on latency chart and table titles so controls and links don't wrap * Make the fixed sizing overrides for the tables only be applied when we're using a wide, non-mobile (> 992) viewport * Switch to "mobile" viewport (with one item per row) at 992 instead of 768 Since you cannot control the breakpoints at which EUI switches to "responsive" mode, we trigger these manually to change the number of columns. and whether or not the tables use a fixed height. The overview now has three "modes": * Two columns for chart/table rows * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode Fixes #85781. * remove unused imports
ogupte
pushed a commit
to ogupte/kibana
that referenced
this issue
Dec 17, 2020
* Fixes for service overview layout * Use 3/7 instead of 4/6 for `grow` between charts/tables * Decrease chart height * Use "s" gutterSize on tables * Decrease table height * Use `TruncateWithToolTip` on errors and transactions tables to remove tooltip inline-block style * Use `responsive={false}` on dependency titles so icon/name pairs don't wrap * Use `responsive={false}` on spark plots so plot/value pairs don't wrap * Use `responsive={false}` on latency chart and table titles so controls and links don't wrap * Make the fixed sizing overrides for the tables only be applied when we're using a wide, non-mobile (> 992) viewport * Switch to "mobile" viewport (with one item per row) at 992 instead of 768 Since you cannot control the breakpoints at which EUI switches to "responsive" mode, we trigger these manually to change the number of columns. and whether or not the tables use a fixed height. The overview now has three "modes": * Two columns for chart/table rows * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode Fixes elastic#85781. * remove unused imports
ogupte
added a commit
that referenced
this issue
Dec 17, 2020
* Fixes for service overview layout * Use 3/7 instead of 4/6 for `grow` between charts/tables * Decrease chart height * Use "s" gutterSize on tables * Decrease table height * Use `TruncateWithToolTip` on errors and transactions tables to remove tooltip inline-block style * Use `responsive={false}` on dependency titles so icon/name pairs don't wrap * Use `responsive={false}` on spark plots so plot/value pairs don't wrap * Use `responsive={false}` on latency chart and table titles so controls and links don't wrap * Make the fixed sizing overrides for the tables only be applied when we're using a wide, non-mobile (> 992) viewport * Switch to "mobile" viewport (with one item per row) at 992 instead of 768 Since you cannot control the breakpoints at which EUI switches to "responsive" mode, we trigger these manually to change the number of columns. and whether or not the tables use a fixed height. The overview now has three "modes": * Two columns for chart/table rows * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode Fixes #85781. * remove unused imports Co-authored-by: Nathan L Smith <[email protected]>
ogupte
pushed a commit
to ogupte/kibana
that referenced
this issue
Dec 17, 2020
* Fixes for service overview layout * Use 3/7 instead of 4/6 for `grow` between charts/tables * Decrease chart height * Use "s" gutterSize on tables * Decrease table height * Use `TruncateWithToolTip` on errors and transactions tables to remove tooltip inline-block style * Use `responsive={false}` on dependency titles so icon/name pairs don't wrap * Use `responsive={false}` on spark plots so plot/value pairs don't wrap * Use `responsive={false}` on latency chart and table titles so controls and links don't wrap * Make the fixed sizing overrides for the tables only be applied when we're using a wide, non-mobile (> 992) viewport * Switch to "mobile" viewport (with one item per row) at 992 instead of 768 Since you cannot control the breakpoints at which EUI switches to "responsive" mode, we trigger these manually to change the number of columns. and whether or not the tables use a fixed height. The overview now has three "modes": * Two columns for chart/table rows * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode Fixes elastic#85781. * remove unused imports
ogupte
added a commit
that referenced
this issue
Dec 17, 2020
* Fixes for service overview layout * Use 3/7 instead of 4/6 for `grow` between charts/tables * Decrease chart height * Use "s" gutterSize on tables * Decrease table height * Use `TruncateWithToolTip` on errors and transactions tables to remove tooltip inline-block style * Use `responsive={false}` on dependency titles so icon/name pairs don't wrap * Use `responsive={false}` on spark plots so plot/value pairs don't wrap * Use `responsive={false}` on latency chart and table titles so controls and links don't wrap * Make the fixed sizing overrides for the tables only be applied when we're using a wide, non-mobile (> 992) viewport * Switch to "mobile" viewport (with one item per row) at 992 instead of 768 Since you cannot control the breakpoints at which EUI switches to "responsive" mode, we trigger these manually to change the number of columns. and whether or not the tables use a fixed height. The overview now has three "modes": * Two columns for chart/table rows * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode * One column for charts/tables * Tables in non-responsive mode Fixes #85781. * remove unused imports Co-authored-by: Nathan L Smith <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Summary
Responsive breakpoints
Looks like we can do better with utilizing the default breakpoints in EUI.
The two-column layout should go into 100% width from
m
since the panels start to break.992px
768px
Change flex grow values
I prefer to have the charts on the left a little narrower, because we're generally reducing the height of the contents.
Set the charts to
flex-grow: 3;
and the table contents toflex-grow: 7;
.Change the default chart height to
288
The narrower panel size should decrease the height proportionally.
Add
gutterSize="s"
to the main panel flexgroups.Make the panel more condensed by adding a size
s
on the gutter of the containing flexgroup.Before
After
euiToolTip
'sdisplay: inline-block;
adds another 3 px padding per cell to the spacingRelated issue: #85755
The tables have an additional margin that is not needed because the pagination bar adds a spacer.
The text was updated successfully, but these errors were encountered: