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

fix(metric): icon alignment defaults #2489

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

nickofthyme
Copy link
Collaborator

@nickofthyme nickofthyme commented Jul 15, 2024

Summary

Fixes the iconAlign default on Metric to right.

Details

In #2437 we set the iconAlign defaults to the left which was broke the previous default of it being aligned to the right of the titles.

Checklist

  • The proper chart type label has been added (e.g. :xy, :partition)
  • The proper feature labels have been added (e.g. :interactions, :axis)
  • Unit tests have been added or updated to match the most common scenarios

@nickofthyme
Copy link
Collaborator Author

buildkite update screenshots

@nickofthyme nickofthyme merged commit bba76fa into elastic:main Jul 15, 2024
14 checks passed
@nickofthyme nickofthyme deleted the fix-icon-align branch July 15, 2024 20:29
nickofthyme pushed a commit that referenced this pull request Jul 15, 2024
# [66.1.0](v66.0.5...v66.1.0) (2024-07-15)

### Bug Fixes

* **deps:** update dependency @elastic/eui to ^95.3.0 ([#2479](#2479)) ([d8c8a6a](d8c8a6a))
* **deps:** update dependency @playwright/test to ^1.45.0 ([#2480](#2480)) ([6b9935c](6b9935c))
* **deps:** update dependency @playwright/test to ^1.45.1 ([#2485](#2485)) ([8fe29f5](8fe29f5))
* **deps:** update dependency json-schema-to-typescript to v14.1.0 ([#2481](#2481)) ([b459a76](b459a76))
* **metric:** icon alignment defaults ([#2489](#2489)) ([bba76fa](bba76fa))

### Features

* **metric:** make value fit logic uniform across panels ([#2484](#2484)) ([991347d](991347d))
nickofthyme added a commit to nickofthyme/elastic-charts that referenced this pull request Jul 15, 2024
# Conflicts:
#	e2e/screenshots/all.test.ts-snapshots/baselines/metric-alpha/grid-chrome-linux.png
#	e2e/screenshots/chart.test.ts-snapshots/chart/sizing/should-accommodate-chart-title-and-description-metric-sm-chrome-linux.png
#	e2e/screenshots/metric_stories.test.ts-snapshots/metric/should-render-horizontal-progress-bar-chrome-linux.png
#	e2e/screenshots/metric_stories.test.ts-snapshots/metric/should-render-horizontal-progress-bar-in-dark-mode-chrome-linux.png
#	e2e/screenshots/metric_stories.test.ts-snapshots/metric/should-render-no-progress-bar-chrome-linux.png
#	e2e/screenshots/metric_stories.test.ts-snapshots/metric/should-render-no-progress-bar-in-dark-mode-chrome-linux.png
#	e2e/screenshots/metric_stories.test.ts-snapshots/metric/should-render-vertical-progress-bar-in-dark-mode-chrome-linux.png
#	e2e/screenshots/metric_stories.test.ts-snapshots/metric/should-render-with-empty-and-missing-background-colors-chrome-linux.png
nickofthyme pushed a commit that referenced this pull request Jul 15, 2024
## [66.0.6](v66.0.5...v66.0.6) (2024-07-15)

### Bug Fixes

* **metric:** icon alignment defaults ([#2489](#2489)) [66.0.x] ([#2490](#2490)) ([68acfda](68acfda))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant