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

[Discover] Aggregate metric field columns display oddly in Discover #210234

Open
davismcphee opened this issue Feb 7, 2025 · 1 comment
Open
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Feature:UnifiedDataTable impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.

Comments

@davismcphee
Copy link
Contributor

When adding an aggregate metric field as a column to the Discover table, it displays oddly.

It displays reasonably in the Summary column:
Image

But not as an individual column:
Image

The issue seems to be a combination of two things:

  • We auto format the JSON for object field values when added as a column.
  • We right-align number field values when added as a column, and aggregate metric fields seem to have type: number.

Together this causes it to render as right-aligned and JSON formatted, which doesn't really work.

@davismcphee davismcphee added bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Feature:UnifiedDataTable Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL. labels Feb 7, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-data-discovery (Team:DataDiscovery)

@kertal kertal added the impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. label Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Feature:UnifiedDataTable impact:medium Addressing this issue will have a medium level of impact on the quality/strength of our product. Team:DataDiscovery Discover, search (e.g. data plugin and KQL), data views, saved searches. For ES|QL, use Team:ES|QL.
Projects
None yet
Development

No branches or pull requests

3 participants