[Stack Monitoring] Visual refresh changes#204258
[Stack Monitoring] Visual refresh changes#204258weronikaolejniczak merged 35 commits intoelastic:mainfrom
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 |
consulthys
left a comment
There was a problem hiding this comment.
Everything looks good on both Amsterdam and Borealis.
Thank you everyone again for helping us on this!
mgadewoll
left a comment
There was a problem hiding this comment.
🚢 🐈⬛ 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 |
2e2db71 to
a64a966
Compare
|
@elasticmachine merge upstream |
|
/ci |
|
@elasticmachine merge upstream |
💚 Build Succeeded
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 (elastic#199715): - replacing `euiThemeVars` with `euiTheme` context - replacing old tokens with `euiTheme` - making sure all color palette functions are run within the context of the `EuiProvider` Additionally: - I migrated Sass to `@emotion/react` - I migrated `euiStyled` to `@emotion/react` - I extended `emotion.d.ts` in `tsconfig.json` for typing of the EUI theme closes [elastic#8228](elastic/eui#8228) ### QA We need to test the critical paths in the Stack monitoring, paying close attention to: - [ ] color palette, visibility and contrast ratio of elements in Amsterdam / Borealis Specific paths: - [ ] Monitoring time-series "Zoom out" button hover behavior - `x-pack/plugins/monitoring/public/components/chart/monitoring_timeseries_container.tsx` - [ ] Shard allocation (especially color mapping with shard type and status): - [ ] `x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.js` - [ ] `x-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.js` - [ ] Kuery bar suggestions and autocomplete field: - [ ] `x-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsx` - [ ] `x-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsx` ### Checklist - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated - [x] The PR description includes the appropriate Release Notes section, and the correct `release_note:*` label is applied per the [guidelines](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process) --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>




Summary
This PR introduces changes to
x-pack/plugins/monitoringnecessary for the Visual Refresh project (#199715):euiThemeVarswitheuiThemecontexteuiThemeEuiProviderAdditionally:
@emotion/reacteuiStyledto@emotion/reactemotion.d.tsintsconfig.jsonfor 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.tsxx-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/assigned.jsx-pack/plugins/monitoring/public/components/elasticsearch/shard_allocation/components/shard.jsx-pack/plugins/monitoring/public/components/kuery_bar/autocomplete_field.tsxx-pack/plugins/monitoring/public/components/kuery_bar/suggestion_item.tsxChecklist
release_note:*label is applied per the guidelines