[Dashboard] Rewrite scss to emotion#220520
Conversation
8fc4325 to
28b58df
Compare
| if (id && panelRef) { | ||
| untilLoaded(id).then(() => { | ||
| panelRef.classList.add('dshDashboardGrid__item--highlighted'); | ||
| // Adds the highlight class in the next event loop to allow the DOM to update |
There was a problem hiding this comment.
this fixes a previously broken highlighting the vis when coming back from Lens
|
Pinging @elastic/kibana-presentation (Team:Presentation) |
131d2c3 to
3eca20d
Compare
ThomThomson
left a comment
There was a problem hiding this comment.
Changes LGTM! Looked through the code and ran this locally. Found one strange behaviour which could be fixed as part of this PR.
For some reason, when a panel is highlighted - i.e. after adding it covers up the hover actions on the panel below. Not sure if this is in main or not, but could be something to clean up.
💚 Build Succeeded
Metrics [docs]Module Count
Async chunks
Page load bundle
History
|
|
Starting backport for target branches: 8.19 https://github.com/elastic/kibana/actions/runs/15584628914 |
## Summary Part of elastic#207852 II tested printed styles via exporting PDF and comparing. I prioritized classes over overly complex emotion props. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
## Summary Part of elastic#207852 II tested printed styles via exporting PDF and comparing. I prioritized classes over overly complex emotion props. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
2 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
## Summary Part of elastic#207852 II tested printed styles via exporting PDF and comparing. I prioritized classes over overly complex emotion props. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> (cherry picked from commit 1dfc7ce) # Conflicts: # src/platform/plugins/shared/dashboard/public/dashboard_app/_dashboard_app.scss # src/platform/plugins/shared/dashboard/public/dashboard_renderer/viewport/_dashboard_viewport.scss # src/platform/plugins/shared/dashboard/public/dashboard_top_nav/_dashboard_top_nav.scss
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
2 similar comments
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |
1 similar comment
|
Friendly reminder: Looks like this PR hasn’t been backported yet. |

Summary
Part of #207852
II tested printed styles via exporting PDF and comparing.
I prioritized classes over overly complex emotion props.