-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
[DISCUSS] Top Nav \ Search Bar behavior consistency #41900
Comments
One suggestion was showing the unused components as disabled. |
Pinging @elastic/kibana-app-arch |
Pinging @elastic/kibana-design |
We will most likely add the filter bar to the maps application in 7.4. #34663 |
@cchaos Do you think this is going to happen for 7.4? |
Filter bar has been added to maps application with #42756 |
@nreese I removed maps from the exceptions list @chrisronline I remember you had mentioned that you are planning to add a custom configuration of TopNavMenu to monitoring, right (timepicker + menu). You can link the issue here to track UI updates. |
@lizozom The different combinations of the query and filter bars, time picker, top menu, and possible tab navigation is making it hard to define a pattern. I don't foresee a solution being derived at for 7.4. However, can we make one small change? When the query input is not available, can we keep the time picker flush right? This will at least keep the position stable across (most) apps and especially keeps the Refresh button in the same position as well. |
cc @katrin-freihofner and @hbharding on this thread as well so they have some background for the challenges. |
@cchaos I could do that if you like. But what do you think about this - If only timepicker is required - show a disabled query input + timepicker, and a collapsed + disabled filter bar. This solution would cover For the weird case of However, I wonder if this could maybe be solved from a product standpoint (@AlonaNadler, I know I've asked you about it, but I'm still wondering why it's the only place with this configuration in all of Kibana :) ) |
My only issue with the new implementation is how the time picker isn't flushed to the right, like it has been historically. If the plan is to change the implementation to do that, I'm all for it! |
@chrisronline originally, the timepicker wasn't only flushed to the right, but it was in the same row with the menu. I think the latest suggestion is to flush it right, but it still won't be in the same row, so there will be quite a lot of blank space. I could implement either option @cchaos and design team prefer of course. |
I think that's better than the alternative. I'll defer to the design team for the whitespace concerns, but I think the consistency of the placement is important for our users |
Yes! The current situation is obviously bad and temporary. @cchaos I could implement this solution or if you like my idea, we could try that. |
In general the preference is to have consistency on the location of the elements, we had an issue in the past that users couldn't find the time picker. The location was improved in 7.x and I will like to ask we keep it in the same place for every app/page no matter which of the query bar or filter elements are used.
I'm not sure I see the benefits of having elements that are disabled like the search bar, I think it raises missing capabilities in our product, what do you think is the benefit of doing that? For |
The search bar was removed from the controls visualize editor because the search bar does not effect the results of the control. Users were getting confused when they entered/saved queries with their controls visualization and the results were not filtered by the query. |
@lizozom I think for now, just stick with having that empty space there. I think we're going to find more problems with disabled controls than we will with not great layouts. |
No problem @cchaos |
Controls needs the filter bar so users can see what the component does. Controls also needs time picker since time picker is used to limit the search results |
I wouldn't quite consider this one closed. The problem still exists, but #43255 was mainly a shim for now. We do have some designers thinking on this so I'd like to leave this issue open as a reference. |
@cchaos any updates on this? Can we close it? |
No there hasn't been any movements on this yet. This is a very hard problem to solve as different apps require different components and different teams implement different layouts. We do have some current efforts happening around trying to unify this experience across all plugins, but there most likely won't be a (final) solution until 8.0. I can create a sort of "Meta" ticket to congregate the different individual items being discussed and reference this particular issue. But we can close it out since it was mainly Kibana App specific. |
I'll close this issue for now @cchaos |
NOTE
While working on #40262, @cchaos requested to remove the old custom behavior that used to "tuck"
EuiSuperDataPicker
in the same row withTopNavMenu
, if it was the onlySearchBar
component.The goal of this issue is to define and implement consistent behavior for
TopNavMenu
andSearchBar
.Summary
Our top navigation section (aka
TopNavMenu
orkbn_top_nav
) consists of:SearchBar
component that contains theFilterBar
andQueryBar
.QueryBar
is also a composite component that wraps aroundQueryInputBar
,EuiSuperDataPicker
andEuiSuperUpdateButton
.While the general rule is that apps show
SearchBar
in it's full configuration, there are some exceptions. These exceptions create inconsistent UX when navigating between apps (and even within the same app).Current exceptions
Visualizations
Most visualizations use
SearchBar
in it's full configuration, but there are some edge cases.Controls
Has
FilterBar
andEuiSuperDataPicker
.I think we could show
QueryInputBar
in disabled mode here.TSVB and Timelion
Show only
EuiSuperDataPicker
, as filters and query are set by the visualization editor itself.Query input inside TSCB:
Markdown
Shows only the autorefresh component of
EuiSuperDataPicker
.I think we could show the rest of the components in disabled mode here.
Timelion App
--> Screenshot needed
The text was updated successfully, but these errors were encountered: