You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Metrics][Discover] Adds dimension type icons to metrics flyout (#235421)
## 🍒 Summary
This pull request adds support for different dimension types in the
unified metrics grid flyout. It maps various dimension types to their
corresponding `EuiToken` icons, providing a more informative and
visually consistent user experience.
## 🛠️ Changes
- Maps dimension types to EuiToken icons
- Displays a token icon for boolean, ip, keyword, and numeric types
## 🎙️ Prompts
- "I just merged this PR: #235276
I would like to add support for the different dimension types defined in
`src/platform/plugins/shared/metrics_experience/common/fields/constants.ts`.
I would like to `EuiToken` to replace type of dimension in the list."
- "Here are the tokens and how they should map:"
- "`tokenBoolean`: boolean"
- "`tokenIP`: ip"
- "`tokenKeyword`: keyword"
- "`tokenNumber`: long, integer, short, byte, unsigned_long"
<img width="2047" height="1003" alt="image"
src="https://github.com/user-attachments/assets/1a3af13b-f8bb-44ac-8d90-e260c6bb8786"
/>
🤖 This pull request was assisted by Gemini CLI
0 commit comments