feat(metric): add medium (500) title font weight option to Metric chart#2792
Merged
maryam-saeidi merged 4 commits intoelastic:mainfrom Mar 2, 2026
Merged
Conversation
markov00
approved these changes
Mar 2, 2026
nickofthyme
pushed a commit
that referenced
this pull request
Mar 3, 2026
maryam-saeidi
added a commit
to elastic/kibana
that referenced
this pull request
Mar 3, 2026
## Summary This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@elastic/charts](https://github.com/elastic/elastic-charts) | dependencies | minor | [`71.2.0` -> `71.3.0`](elastic/elastic-charts@v71.2.0...v71.3.0) | ### Release Notes ## [71.3.0](elastic/elastic-charts@v71.2.0...v71.3.0) (2026-03-03) ### Features * **metric:** add secondary badge text color ([#2799](elastic/elastic-charts#2799)) ([5c765e8](elastic/elastic-charts@5c765e8)) * **metric:** expose medium (500) title font-weight in Metric chart ([#2792](elastic/elastic-charts#2792)) ([c582e81](elastic/elastic-charts@c582e81))
rbrtj
pushed a commit
to rbrtj/kibana
that referenced
this pull request
Mar 5, 2026
## Summary This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@elastic/charts](https://github.com/elastic/elastic-charts) | dependencies | minor | [`71.2.0` -> `71.3.0`](elastic/elastic-charts@v71.2.0...v71.3.0) | ### Release Notes ## [71.3.0](elastic/elastic-charts@v71.2.0...v71.3.0) (2026-03-03) ### Features * **metric:** add secondary badge text color ([elastic#2799](elastic/elastic-charts#2799)) ([5c765e8](elastic/elastic-charts@5c765e8)) * **metric:** expose medium (500) title font-weight in Metric chart ([elastic#2792](elastic/elastic-charts#2792)) ([c582e81](elastic/elastic-charts@c582e81))
DennisKo
pushed a commit
to DennisKo/kibana
that referenced
this pull request
Mar 6, 2026
## Summary This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@elastic/charts](https://github.com/elastic/elastic-charts) | dependencies | minor | [`71.2.0` -> `71.3.0`](elastic/elastic-charts@v71.2.0...v71.3.0) | ### Release Notes ## [71.3.0](elastic/elastic-charts@v71.2.0...v71.3.0) (2026-03-03) ### Features * **metric:** add secondary badge text color ([elastic#2799](elastic/elastic-charts#2799)) ([5c765e8](elastic/elastic-charts@5c765e8)) * **metric:** expose medium (500) title font-weight in Metric chart ([elastic#2792](elastic/elastic-charts#2792)) ([c582e81](elastic/elastic-charts@c582e81))
qn895
pushed a commit
to qn895/kibana
that referenced
this pull request
Mar 11, 2026
## Summary This PR contains the following updates: | Package | Type | Update | Change | |---|---|---|---| | [@elastic/charts](https://github.com/elastic/elastic-charts) | dependencies | minor | [`71.2.0` -> `71.3.0`](elastic/elastic-charts@v71.2.0...v71.3.0) | ### Release Notes ## [71.3.0](elastic/elastic-charts@v71.2.0...v71.3.0) (2026-03-03) ### Features * **metric:** add secondary badge text color ([elastic#2799](elastic/elastic-charts#2799)) ([5c765e8](elastic/elastic-charts@5c765e8)) * **metric:** expose medium (500) title font-weight in Metric chart ([elastic#2792](elastic/elastic-charts#2792)) ([c582e81](elastic/elastic-charts@c582e81))
1 task
maryam-saeidi
added a commit
to elastic/kibana
that referenced
this pull request
Apr 7, 2026
…#254941) Closes #252834 ## Summary This PR removes the font-weight configuration in Metric charts and defaults it to **medium**. - [x] TODO: Add another option for the Metric font-weight: medium to the elastic-charts. - elastic/elastic-charts#2792 - elastic/elastic-charts#2802 |State|Screenshot| |---|---| |Before|<img width="1511" height="652" alt="image" src="https://github.com/user-attachments/assets/a82617f9-5c81-4c58-8084-a0ab333b2b16" />| |After|<img width="1509" height="786" alt="image" src="https://github.com/user-attachments/assets/ad7790dd-812a-43c0-b832-602b610d7ca5" />| ### How to test 🧪 - Create two metric chart in main: one with the font weight: Regular and another with default bold font weight - Switch to this branch and make sure that the related metric chart is loaded correctly with the **medium (500)** font weight. - Make a change in the regular font weight metric and save. Now, you should not see the font weight property in the saved object anymore. I also followed the same steps in the Cases, and it worked as expected: |State|Screenshot| |---|---| |Before|<img width="1510" height="804" alt="image" src="https://github.com/user-attachments/assets/1266d92f-8ec0-4199-86e8-c89520f15fa9" />| |After|<img width="1512" height="783" alt="image" src="https://github.com/user-attachments/assets/f1ae0989-4320-456e-a0b4-770a4a1e550e" />| ### Release Note Removed the font-weight parameter for Metric chart titles. Titles now use a consistent default font weight of Medium. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
kelvtanv
pushed a commit
to kelvtanv/kibana
that referenced
this pull request
Apr 7, 2026
…elastic#254941) Closes elastic#252834 ## Summary This PR removes the font-weight configuration in Metric charts and defaults it to **medium**. - [x] TODO: Add another option for the Metric font-weight: medium to the elastic-charts. - elastic/elastic-charts#2792 - elastic/elastic-charts#2802 |State|Screenshot| |---|---| |Before|<img width="1511" height="652" alt="image" src="https://github.com/user-attachments/assets/a82617f9-5c81-4c58-8084-a0ab333b2b16" />| |After|<img width="1509" height="786" alt="image" src="https://github.com/user-attachments/assets/ad7790dd-812a-43c0-b832-602b610d7ca5" />| ### How to test 🧪 - Create two metric chart in main: one with the font weight: Regular and another with default bold font weight - Switch to this branch and make sure that the related metric chart is loaded correctly with the **medium (500)** font weight. - Make a change in the regular font weight metric and save. Now, you should not see the font weight property in the saved object anymore. I also followed the same steps in the Cases, and it worked as expected: |State|Screenshot| |---|---| |Before|<img width="1510" height="804" alt="image" src="https://github.com/user-attachments/assets/1266d92f-8ec0-4199-86e8-c89520f15fa9" />| |After|<img width="1512" height="783" alt="image" src="https://github.com/user-attachments/assets/f1ae0989-4320-456e-a0b4-770a4a1e550e" />| ### Release Note Removed the font-weight parameter for Metric chart titles. Titles now use a consistent default font weight of Medium. --------- Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related to elastic/kibana#252834
Summary
Expose title font-weight: 500 (medium) in Metric chart.