Skip to content

Workspace Side Menu: New component #2478

@bdfranck

Description

@bdfranck

Create a new workspace-specific side menu component based on GovAlta/ui-components-design#47.

Acceptance criteria

  • Aligns with Figma design.

  • Has a title for the service's name

  • Has a URL for the service's home address

  • Has account info for the current user:

    • Name
    • Email
  • Has primary, secondary, and account menus

    • Accepts one or more menu items
    • Hidden if has no items
  • Each menu item has:

    • A label
    • A URL
    • A mandatory icon* (The user may not supply an icon but then they will not be able to collapse the menu)
    • An optional badge
      • "Always visible" property to show the badge in the collapsed state
      • Normal, important, emergency, and success variants
    • An optional submenu:
      • Has one or more items
      • Can be expanded and collapsed
  • User profile menu

    • Slot for Display name (optional)
    • Slot for email address (optional)
  • Meets accessibility requirements:

    • All interactive elements have the appropriate ARIA labels
    • All interactions can be done by keyboard
    • Has a logical tab order

Sub-issues

Metadata

Metadata

Assignees

Projects

Status

Testing/Review

Relationships

None yet

Development

No branches or pull requests

Issue actions