[MetricVis] Add possibility to apply color background for whole container in metric#125217
Conversation
…colorize_container
Kuznietsov
left a comment
There was a problem hiding this comment.
Code mostly looks good to me, it has left to address a few comments I've left.
@VladLasitsa, thanks for your efforts 👍
...ugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts
Outdated
Show resolved
Hide resolved
...ugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts
Outdated
Show resolved
Hide resolved
src/plugins/chart_expressions/expression_metric/public/components/metric_value.test.tsx
Show resolved
Hide resolved
|
Pinging @elastic/kibana-vis-editors @elastic/kibana-vis-editors-external (Team:VisEditors) |
|
@elasticmachine merge upstream |
@flash1293 , I fixed it, could you please recheck? |
|
@VladLasitsa Still doesn't work for me: |
flash1293
left a comment
There was a problem hiding this comment.
LGTM, works as expected 👍
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
Kuznietsov
left a comment
There was a problem hiding this comment.
Mostly LGTM 👍 Need to test it locally. Could you, please, address all the issues I've mentioned below. Thanks.
src/plugins/chart_expressions/expression_metric/public/components/with_auto_scale.tsx
Outdated
Show resolved
Hide resolved
src/plugins/chart_expressions/expression_metric/public/components/with_auto_scale.tsx
Show resolved
Hide resolved
src/plugins/chart_expressions/expression_metric/public/components/metric_component.tsx
Outdated
Show resolved
Hide resolved
|
Tested locally, works fine. Waiting for the code updates and going to approve this PR. @VladLasitsa, thanks for the efforts. |
MichaelMarcialis
left a comment
There was a problem hiding this comment.
I've left a few small wording suggestions, but nothing worth holding you up for. Approving, assuming those get made.
...ugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts
Outdated
Show resolved
Hide resolved
...ugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts
Outdated
Show resolved
Hide resolved
...ugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts
Outdated
Show resolved
Hide resolved
...ugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts
Outdated
Show resolved
Hide resolved
…ion_functions/metric_vis_function.ts Co-authored-by: Michael Marcialis <michael@marcial.is>
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
|
@elasticmachine merge upstream |
💚 Build SucceededMetrics [docs]Public APIs missing comments
Async chunks
Page load bundle
Unknown metric groupsAPI count
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @VladLasitsa |
…iner in metric (elastic#125217) * Add `colorFullBackground` arg which allow to colorize full container * Fix Checks * Fix condition * Fix CI * Fix snapshots * Fixed remarks * Fix full color background for auto scaling * Fix CI * Fix autoscale styles * Fix nit's * Update src/plugins/chart_expressions/expression_metric/common/expression_functions/metric_vis_function.ts Co-authored-by: Michael Marcialis <michael@marcial.is> * Fix some nit's Co-authored-by: Kibana Machine <42973632+kibanamachine@users.noreply.github.com> Co-authored-by: Michael Marcialis <michael@marcial.is>



Part of: #123797
Summary
colorFullBackgroundarg which allow to colorize full containercolorFullBackgroundas true for configuration when we set several metrics (split by bucket, add several metrics, useheadarg in canvas expression)My.Canvas.Workpad.-.Kibana.mp4