Skip to content

Improve hover state interaction for dropdowns and buttons #3155

Description

@mike-j-thomas

We don't have a hover state for secondary buttons, and dropdowns in the Fleet UI.

Goal

Add a consistent hover state interaction for all dropdowns and secondary buttons in the Fleet UI.

Figma

https://www.figma.com/file/hdALBDsrti77QuDNSzLdkx/?node-id=3717%3A126303

Notes:

  1. All interaction elements outlined in this ticket have the following states. All screenshots below show state in the following order:
  • Enabled
  • Disabled
  • Hover
  • Pressed
  • Focused
  1. As part of this effort, we will be updating all components we update to functional components, TypeScript and switch from Redux to Context.

Tasks

1

  • Set all states for primary button.
  • Ensure all states match design specs in Figma.

image


2

  • Set all states for secondary button.
  • Ensure all states match design specs in Figma.

image


3

  • Set all states for dropdown menus.
  • Ensure all states match design specs in Figma.

image


4

  • Set all states for hotdog button.
  • Ensure all states match design specs in Figma.

image


5

  • Set all states for action button.
  • Ensure all states match design specs in Figma.
  • Note gradient fade background that appears when action button is shown in a table row.

image

image


6

  • Update all states for tab navigation button.
  • Ensure all states match design specs in Figma.

image


7

  • Validate that implementation of all global component changes are displaying as intended throughout the app.

8

  • Identify and resolve any "wildcard" implementations of buttons or dropdowns that are outside of these global changes.
  • Will need to work with product to determine how to adjust wildcard elements on case-by-case.

Activity

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions