-
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
[Stack Monitoring] Visual refresh changes #204258
base: main
Are you sure you want to change the base?
[Stack Monitoring] Visual refresh changes #204258
Conversation
x-pack/plugins/monitoring/public/components/cluster/listing/listing.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/chart/horizontal_legend.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/listing/listing.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/status_icon/_status_icon.scss
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/apm/instances/instances.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/chart/horizontal_legend.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/chart/horizontal_legend.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/cluster/listing/listing.js
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/kibana/cluster_status/index.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/metric.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/logstash/pipeline_viewer/views/statement.tsx
Outdated
Show resolved
Hide resolved
Thank you everyone for helping us on this, truly appreciated! I've made a first test run with Amsterdam to verify that everything was still looking "as usual". I've been through all screens and I have nothing to report, everything looks great! I'm not able to start Kibana with the Borealis theme (errors out), I've shared some details here so I'll do another test run with Borealis once we get that sorted out. |
/ci |
Totally agree with @patpscal it can definitely be |
@patpscal @consulthys great catch! Just fyi, |
Thanks @weronikaolejniczak I think instead of |
@andreadelrio @mgadewoll @patpscal @consulthys thank you so much for the testing and suggestions! 💚 I updated the PR with the changes. Let me know the final decision on those legend badge colors and I'd appreciate a double-check of the paths I defined in the PR description (where I made riskier style changes). Testing: - ✅ Removing wrapping
- ✅ Removing wrapping
Warning The issue with the Badge overlapping the next column is reproducible regardless of the changes made in this PR. If you have a ready solution, I'd appreciate it! Otherwise, let's leave it like so. Untested paths (fyi @consulthys): - Removing wrapping - Removing wrapping - Removing |
I think sticking with |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everything looks good on both Amsterdam and Borealis.
Thank you everyone again for helping us on this!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🚢 🐈⬛ Thanks for the additional changes! Great work on this 🎉
I just left two small non-blocking comments.
x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx
Outdated
Show resolved
Hide resolved
x-pack/plugins/monitoring/public/components/elasticsearch/nodes/nodes.js
Outdated
Show resolved
Hide resolved
/ci |
- Replace euiZLevel1 with levels.maskBelowHeader
- Remove tintOrShade() because of minimal difference of 2% - Use EuiProvider context for the theme
- use font-weight tokens - use `euiFontSize` for the font-size - use `euiTextTruncate` utility - use semantic tokens e.g. `backgroundBasePlain` - use `logicalCSS` with border-left in shard allocation - fix width calculation in shard allocation - rename `css` style variables
- use `logicalCSS` utility for `padding/margin/border-top/bottom/left/right` - destructure `euiTheme` wherever applicable
2e2db71
to
a64a966
Compare
💔 Build Failed
Failed CI StepsTest Failures
Metrics [docs]Module Count
Async chunks
Page load bundle
Unknown metric groupsasync chunk count
ESLint disabled line counts
Total ESLint disabled count
History
|
Summary
This PR introduces changes to
x-pack/plugins/monitoring
necessary for the Visual Refresh project (#199715):euiThemeVars
witheuiTheme
contexteuiTheme
EuiProvider
Additionally:
@emotion/react
euiStyled
to@emotion/react
emotion.d.ts
intsconfig.json
for typing of the EUI themecloses #8228
QA
We need to test the critical paths in the Stack monitoring, paying close attention to:
Specific paths:
x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx
x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js
x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js
x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx
x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx
Checklist
release_note:*
label is applied per the guidelines