-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Lens] Use index pattern field property displayName #73021
Comments
@kertal it looks like in the current implementation, |
Pinging @elastic/kibana-app (Team:KibanaApp) |
in my current PoC I called the persisted property |
@kertal that sounds like it would be easy to integrate into Lens, since there would be something in the saved object. |
Why are we using the saved object directly in Lens, instead of consuming the instantiated index pattern class? Even with that label being present, ideally we should leave that decision to the index pattern implementation and not need to re-implement that in Lens. The main reason why solutions didn't consume the index pattern service was that it only ran on the frontend (yet) and not on the serverside, but we don't have that requirement for Lens (yet)? |
As discussed offline, it makes more sense to switch to the index pattern service when fixing this instead of using the next internal. I opened a separate issue for this: #73306 Closing this one because the other one should include all necessary information. |
Describe the feature:
Index pattern fields offer the property
displayName
.kibana/src/plugins/data/common/index_patterns/fields/field.ts
Line 60 in 2178a14
This is currently not used in Lens. Once #69908 is implemented, this property is customizable by the user. Note that this property is currently customizing the name given the ui setting
shortenDottedString
is enabled, like currently in Discover.kibana/src/plugins/data/common/index_patterns/fields/field.ts
Line 144 in 2178a14
Describe a specific use case for the feature:
E.g long fieldnames, there are lots of them in beats submitted data, could be customized (given #69908 is done)
The text was updated successfully, but these errors were encountered: