Skip to content

[UI/UX Design] Design Compliance Holds severity-tiering badges and legend #508

Description

@thlpkee20-wq

Description

Compliance holds vary in severity from advisory to blocking. Design a three-tier severity badge system (Advisory, Warning, Blocking) with a legend that appears on any page displaying holds.

Requirements and context

  • Must be accessible (WCAG 2.1 AA), responsive, and documented in the design system
  • Should be consistent with existing patterns and easy to review
  • Relevant code: src/components/ComplianceHoldBanner.tsx
  • Badges must convey severity via color plus icon/shape

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b uiux/compliance-severity-badges
  • Implement changes
    • Define three severity tokens and icon set
    • Design the compact and detailed badge variants
    • Draft the legend popover accessible via "?" affordance
  • Validate accessibility and responsive assumptions

Test and commit

  • Run checks
    • npm run lint and component/visual tests
  • Cover edge cases
    • Multiple concurrent holds, RTL layout, print stylesheet
  • Include screenshots/before-after and accessibility (axe) notes

Example commit message

design: compliance severity badges

Guidelines

  • Minimum 95 percent test coverage
  • Clear documentation
  • Timeframe: 96 hours

Metadata

Metadata

Assignees

Labels

Stellar WaveStellar Wave issue batch

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions