UI Filters are currently based on EUISelectable. There are a couple of drawbacks with it and we might either take ownership of it and fix those, use another component (EUI Combobox?) or build something from scratch. The things we have talked about are:
Pinging @elastic/apm-ui
My preference would be: show the top 3/5 terms as buttons below the filter title, if there are more than that, add a button (9+ more options) that opens the popover.
@dgieselaar Good idea. Would make it much simpler to filter by transaction result that most only has a couple of options (2xx, 3xx, 4xx, 5xx).
@katrin-freihofner Unless you have already started on this, I can jump on this. Just wanted to make sure that the description contains all the feedback/changes that we wanted to make for upcoming release before I start making the design changes. @sqren @dgieselaar Should we have a talk soon just to get aligned?
@sqren @dgieselaar Should we have a talk soon just to get aligned?
Yeah, that might be a good idea. With the first iteration we constrained ourselves to what was possible with the existing EUI components. For the second iterations I'd like to see what we can come up with without this constraint.
I've invited the usual suspects to a call tomorrow about this. I agree that we need to take a look at what can be achieved without the specific components restraints, but perhaps also some assumptions were made about the filters and their cardinality that might be looked at differently now. Let's talk it out 馃槃
Notes from our Zoom meeting;
EuiSelectable component to a simple EuiForm checkbox component instead.Closed https://github.com/elastic/kibana/issues/45501 since this will make it obsolete.
I've put together new screens that will show off the redesigned filter UI. In this design I've made the following changes and additions;
EuiPopover to using the EuiForm checkbox for the immediate selection of filter values per filter.


@elastic/apm-ui @elastic/observability-design @roncohen @nehaduggal Thoughts on the design updates?
Looks great! I like the proposal for transaction type as well. Couple of questions:
Do you mean that there can only be one filter open at any time, like a harmonica? Or are they collapsed by default?
No, they can all be open at the same time, but we default to collapse i.e. select filters like container ID and pods. It's not critical to its implementation, but a nice-to-have.
When a filter is collapsed, do we (should we) show the selected/available options in the title? It might be nice for the user to not have to expand the filter to see what options are selected and/or available.
Agreed, we can add a selected values indicator in the title. Something like;

Do we need some kind of explainer that the user should fall back to the Query bar if they are looking for an option that is not listed
I can look at adding some info text at the bottom of the panel when expanded with 15 values. Is that what you mean?

This looks great! Good job 馃憤
From an implementation perspective I think I'd make sense to separate the transaction type changes from the ui filter changes.
From an implementation perspective I think I'd make sense to separate the transaction type changes from the ui filter changes.
Makes sense - if we agree on its design, I can create a separate ticket for it.
@formgeist great work! 馃ぉ
hey! Sorry to drop in. I understand the facet count shows number of transactions. I think it could be confusing. To know that, users must intuitively know that the data shown in the rest of the view is based on transactions - and i don't think they are conscious about that. Something else: have you considered lots of people might have millions of transactions there? what does the UI look like when the count is huge?
I understand the facet count shows number of transactions. I think it could be confusing. To know that, users must intuitively know that the data shown in the rest of the view is based on transactions - and i don't think they are conscious about that
For pages with lists it is not the number of transactions but the number of "results". So on the service overview page the count shows the number of services, on the transactions overview page the count denotes the number of transaction groups. Error overview page: number of error groups.
It is only on the details pages that we end up counting documents. So on transaction details page it'll be number of transactions and error details page it'll be number of errors. For those pages we could hide the count, since that is not that useful. But I think we should keep it for the "list pages".
Btw. this seems like a separate discussion since none of this is being changed here (this is a purely design change) so perhaps we can discuss it in a separate issue?
@formgeist should we get started with this for 7.6? From your comments in above the design looks fairly finished, and implementation-wise the effort-to-impact ratio should be pretty good.
@sqren I think we wanted to wait a couple of cycles to see how the current design would get adopted and get some customer feedback on it first. Mostly to see if there was any other feedback or suggestions we'd consider implementing around the same time. cc @nehaduggal
Ah okay, I thought we agreed to push it to 7.6 but I'm probably misremembering.
I don't think that was a wrong assumption, but I don't think we've focused on getting the feedback we wanted yet. Perhaps @nehaduggal can weigh in on the priorities. I would like to note that I believe the design updates we'd be making would vastly improve the UX of the feature.
I would like to note that I believe the design updates we'd be making would vastly improve the UX of the feature
Totally agree! Which is why I'm eager to get started. I agree it's better to get feedback on the current design if possible though.
We've decided to convert the proposed design solution into an implementation issue so it's ready to get picked up when we've received from customer feedback and are ready to start on it.
@roncohen As we're moving this design into implementation, I just wanted to follow up on your comment and perhaps get your thoughts on @sqren's reply ^ https://github.com/elastic/kibana/issues/45503#issuecomment-534490123
Do you think we should drop the counts and facets entirely in the upcoming redesign?
Thanks
Opened an implementation issue for the design enhancements showcased above https://github.com/elastic/kibana/issues/49153
hey! We don't have to drop those now. Let's keep discussing separately as @sqren suggested. Thanks for asking 馃憤
Closed in favor of https://github.com/elastic/kibana/issues/49153
Most helpful comment
I've invited the usual suspects to a call tomorrow about this. I agree that we need to take a look at what can be achieved without the specific components restraints, but perhaps also some assumptions were made about the filters and their cardinality that might be looked at differently now. Let's talk it out 馃槃