Skip to content

Guidelines for bottom bars #5330

Closed
Closed

Description

@formgeist

Summary

I noticed when creating a new policy, that after creating the policy successfully the toast covers the control bar. This might be a component issue where the toast should not cover the control bar which is a fixed element, but position itself above it.

Screenshot 2021-05-06 at 10 48 51

Activity

  1. elasticmachine commented on May 6, 2021

    @elasticmachine
    Collaborator

    Pinging @elastic/fleet (Team:Fleet)

  2. jen-huang commented on May 6, 2021

    @jen-huang
    Contributor

    Hi @hbharding, usually we would just fix smaller UI issues but this one I'm not really sure how to handle the design pattern so looking for input.

  3. transferred this issue fromelastic/kibanaon Oct 27, 2021
  4. changed the title [-][Fleet] Creating a new policy toast covers the save integration button the control bar[/-] [+]Design pattern for toasts and CTAs on bottom bars[/+] on Oct 27, 2021
  5. jen-huang commented on Oct 27, 2021

    @jen-huang
    Contributor

    Hiya design team, I transferred this issue to EUI as I think it's a general design pattern question. In this Fleet form, we allow the user to create a new policy (via flyout) in-line and show a toast message after the new policy is created. But this form uses a bottom bar for its CTAs (Save, Cancel), so those get covered by the toast until it is dismissed or expires.

  6. cchaos commented on Oct 27, 2021

    @cchaos
    Contributor

    Yeah this will happen 😦 . An honestly there's not much we can do from EUI because we don't have control over the implementation of the different portalled layers from outside of the consuming application. Maybe someday...

    I'm sure what we need is actual better documentation/guidelines around the usage of bottom bars. Typically, we don't recommend them for forms that require users to fill out portions of it. It would make it too easy for users to miss necessary content.

    A good example of the bottom bar use case is in Advance Settings, where it only appears when changes have been made (to a REALLY long list of items). Then once the user commits those changes, the bottom bar goes away and the confirmation toast appears. It's intermittent, not persistent which means it's less likely to interfere with other notifications.

    I think you all have two pathways:

    • Revert back to the old, "Submit" buttons at the bottom of the page
    • Only show the bottom bar when changes have been made/it's ready to submit.
      Though I don't really recommend this route either because it would completely hide the submit button until everything is filled out, but without being able to attempt a submit they may get lost in terms of what still needs to be completed to submit.
  7. added
    documentation
    on Oct 27, 2021
  8. changed the title [-]Design pattern for toasts and CTAs on bottom bars[/-] [+]Guidelines for bottom bars[/+] on Oct 27, 2021
  9. github-actions commented on Apr 26, 2022

    @github-actions

    👋 Hey there. This issue hasn't had any activity for 180 days. We'll automatically close it if that trend continues for another week. If you feel this issue is still valid and needs attention please let us know with a comment.

  10. added
    stale-issue
    on Apr 26, 2022
  11. added and removed
    stale-issue
    on Apr 26, 2022
  12. dborodyansky commented on Apr 26, 2022

    @dborodyansky

    In addition to overlapping toast/chat elements, we recently found some proximity issues with the main control bar action being anchored to a corner. Proposing consideration for a max-width limited control bar, to alleviate proximity to discover, and mouse travel distance on large screens.
    image

  13. elizabetdev commented on Feb 27, 2023

    @elizabetdev
    Contributor

    We need to establish better guidelines for the bottom bar. Our team is currently working on a new documentation site, and I created a new issue to track its progress.

    So I'm closing this issue in favor of https://github.com/elastic/design-system-team/issues/175.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentation

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions