-
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] Custom interval appends "per <unit>" post fix to datatable header title #98054
Comments
Pinging @elastic/kibana-app (Team:KibanaApp) |
We probably need to have a toggle for whether to apply the Not blocked by, but related to #84419 |
A toggle sounds good, but I'm concerned about the config flyout getting too busy. @MichaelMarcialis do you think an accordion like for top values would be the right answer here? |
@flash1293: I agree with your concerns about making the interface busier for such a small issue. Rather than adding a new toggle to determine whether to apply the suffix, could we not just apply the suffix (and also show it in the "Display name" field) by default when a configuration is being auto-named? Then, if a user chooses to customize the "Display name", there is no application of any suffix, as the user has opted to no longer rely on auto-naming. Thoughts? |
@MichaelMarcialis I'm not sure it's accurate to say that a user who has changed the label is opting out of the suffix. For example, the default
The auto-suffix is important because it's the only way we communicate the interval to the user. Sometimes the interval matches what they configured, but Lens rewrites the interval if it's too small. So for example you might request a metric at a 5 second interval, but Lens might rewrite it to 60 seconds. |
Thanks for those details, @wylieconlon. So in your example, just because the user requests a certain interval doesn't necessarily mean that's the interval that Lens will display, hence the need for the suffix to remain dynamic (even after a potential change the the display name). Is my understanding correct? If so, that's interesting. I wasn't aware that was the case. Given that information, I would be inclined to agree with you that an @flash1293, as for your placement comment above, do you mean placing such a switch inside the advanced settings accordion? My primary concern with that approach is that it would cause the switch to appear both before and apart from the "Display name" field. Since this option directly affects the display name output, I'd be more inclined to place it as a field immediately after "Display name". |
Yeah, that would be weird as well. I think we can put one other switch in there - it will only be visible for date histogram. |
Maybe it's a bad pattern, but I'll try: what about a checkbox within an
|
Since Lens automatically applies configuration changes to the visualization, I'd suggest an |
In order to provide better transparency of priorities, issues that will not be prioritized within the next 24 months are being closed. Tracking request in Lens general improvements ice box #184459 |
Describe the bug:
When using a date histogram on a Lens datatable, if the custom interval feature is enabled, it will append a post fix "per day/hour/minute/etc..." to the table dimension title
Steps to reproduce:
Expected behavior:
The
Display name
field should be first updated with the postfix, and the user should be able to customize it.Screenshots (if relevant):
The text was updated successfully, but these errors were encountered: