-
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
[Dashboard Usability] Unified Dashboard Options #144532
Comments
Pinging @elastic/kibana-presentation (Team:Presentation) |
Here's an early design mock-up (definitely missing some of the options). The "Options" (maybe this should be "Settings") link on the nav bar opens a flyout showing the settings. This is similar to the new flyout for changing Panel Settings. However, there is one key difference that I want to get a consensus on. The Dashboard settings flyout does not have a "Save" button. Any changes to the settings in the flyout apply immediately to the dashboard (as the current "Options" do) which puts the dashboard in a dirty state triggering the "Unsaved changes" badge. Persisting the changes simply requires clicking the "Save" button in the Navigation bar. Also, we currently try to dissuade the user from saving a dashboard when a matching title already exists. The screenshot below shows how we warn the user about a duplicate title, but still allow the user to save, creating the duplicate titled dashboard. Should we warn the user in the flyout if their new title matches an existing dashboard? If so, when do we perform the duplicate title check? I think there are a few options, but happy to hear more suggestions.
Of those options, I'm leaning towards number 3. IMO, this is a very common (but maybe undesirable 🤔) UX pattern. But I would love to get other opinions. |
Hmmm... I wonder if the lack of a If we decide to give the Dashboard options flyout a If we continue with the Dashboard options being automatically applied, it might feel a bit awkward to change the title when you find out it is a duplicate... Open the flyout, change some settings, exit the flyout, go to save your changes, find out the title is a duplicate, press cancel on the confirm modal, go back in to the settings flyout, change the title, then click save again. That's a lot of steps! We could include a way to change the title in the confirm modal (as we currently do), which could make the experience a bit smoother... But if we go this route, I'm almost leaning towards something more like number 2 so that they don't have to leave the context of the flyout in order to determine that the title is a duplicate? |
The flyout looks great, and very standardized, nice work @nickpeihl! I think the only option it's missing at the moment is In regards to changes applying immediately vs using a If we did that, we could fire off the duplicate title check when the user hits The one problem I'm starting to see with this pattern is the copy. If we continue using the verbiage ✔️ @KOTungseth, Is there any precedent for using a word more like |
We have a Save button already for the Dashboard. I'm concerned that adding another Save button to the flyout would be confusing. In the Panel settings, the Save button applies the changes to the single panel, but doesn't save the dashboard. So the panel settings are still an ephemeral state and the dashboard has Unsaved changes. But you can move on to another panel and change its settings without saving the dashboard. The panel settings only persist when the entire dashboard is saved. Also a "Save" or "Apply" button in the flyout means (I presume) the user loses the ability to immediately see the results of changing options like "Show panel titles" or "Use margins between panels". These options would only update on the dashboard if the "Save"/"Apply" button is clicked. If the user doesn't like the results, they have to re-open the flyout again, adding another couple of clicks. dispatched-changes.mp4Although, now I realize that is exactly what we do with "Show panel title" in the panel settings. The change isn't applied to the panel until the "Save" button is clicked. 🤔 |
I forgot about tags! Man that flyout looks so nice with tags!
We discussed this when creating the Control editor and decided that it didn't make sense to have things change underneath the flyout in response to user action. The flyout feels to users like a separate context, so they expect their clicks to be localized in there until they close the panel. |
To get around this with Controls (and it looks like for the panel options as well), we disable the Dashboard |
Oh, yeah. I forgot that Controls uses pattern. 👍 |
## Summary Adds flyout for changing individual dashboard settings such as title, description, tags, and save time with dashboard. This also moves the existing dashboard options (show panel titles, sync colors, use margins, sync cursor, and sync tooltips) into the flyout. Fixes #144532 [Flaky test runner](https://buildkite.com/elastic/kibana-flaky-test-suite-runner/builds/2055) ### Checklist Delete any items that are not applicable to this PR. - [x] Any text added follows [EUI's writing guidelines](https://elastic.github.io/eui/#/guidelines/writing), uses sentence case text and includes [i18n support](https://github.com/elastic/kibana/blob/main/packages/kbn-i18n/README.md) - [x] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios - [x] Any UI touched in this PR is usable by keyboard only (learn more about [keyboard accessibility](https://webaim.org/techniques/keyboard/)) - [x] Any UI touched in this PR does not create any new axe failures (run axe in browser: [FF](https://addons.mozilla.org/en-US/firefox/addon/axe-devtools/), [Chrome](https://chrome.google.com/webstore/detail/axe-web-accessibility-tes/lhdoppojpmngadmnindnejefpokejbdd?hl=en-US)) - [x] This was checked for [cross-browser compatibility](https://www.elastic.co/support/matrix#matrix_browsers) ### For maintainers - [ ] This was checked for breaking API changes and was [labeled appropriately](https://www.elastic.co/guide/en/kibana/master/contributing.html#kibana-release-notes-process)
Describe the feature:
Currently, options and settings for dashboard are spread around the application. As part of the Dashboard Usability initiative we should seek to unify them into one pane for ease of editing. These options include:
This will allow dashboard authors to more easily rename their dashboards, and to change settings without opening up the
save as
panel and accidentally creating a new dashboard.The existing
options
top nav menu item should be extended to provide this functionality.The text was updated successfully, but these errors were encountered: