Skip to content
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

[7.x] [Lens] Thresholds: Add text to markers body (#113629) #114460

Merged
merged 2 commits into from
Oct 13, 2021

Conversation

kibanamachine
Copy link
Contributor

Backports the following commits to 7.x:

* 🐛 Add padding to the tick label to fit threshold markers

* 🐛 Better icon detection

* 🐛 Fix edge cases with no title or labels

* 📸 Update snapshots

* ✨ Add icon placement flag

* ✨ Sync padding computation with marker positioning

* 👌 Make disabled when no icon is selected

* ✨ First text on marker implementation

* 🐛 Fix some edge cases with auto positioning

* Update x-pack/plugins/lens/public/xy_visualization/xy_config_panel/threshold_panel.tsx

Co-authored-by: Michael Marcialis <michael@marcial.is>

* 🐛 Fix minor details

* 💄 Small tweak

* ✨ Reduce the padding if no icon is shown on the axis

* ✅ Fix broken unit tests

* 💄 Fix vertical text centering

* 🚨 Fix linting issue

* 🐛 Fix issue

* 💄 Reorder panel inputs

* 💄 Move styling to sass

* 👌 Address feedback

Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com>
Co-authored-by: Michael Marcialis <michael@marcial.is>
@dej611
Copy link
Contributor

dej611 commented Oct 13, 2021

@elasticmachine merge upstream

@kibanamachine
Copy link
Contributor Author

💚 Build Succeeded

Metrics [docs]

Module Count

Fewer modules leads to a faster build time

id before after diff
lens 825 834 +9

Public APIs missing comments

Total count of every public API that lacks a comment. Target amount is 0. Run node scripts/build_api_docs --plugin [yourplugin] --stats comments for more detailed information.

id before after diff
lens 234 235 +1

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
lens 1.0MB 1.0MB +3.7KB

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
lens 39.1KB 39.2KB +88.0B
Unknown metric groups

API count

id before after diff
lens 252 253 +1

History

To update your PR or re-run it, just comment with:
@elasticmachine merge upstream

cc @dej611

@kibanamachine kibanamachine merged commit 8fe5d89 into elastic:7.x Oct 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants