Skip to content

[UI/UX Design] Design a compact "your role in this offering" chip surfaced on every offering page #304

Description

@thlpkee20-wq

Description

Design a chip that surfaces the viewer's role on the current offering (Issuer / Admin / Investor / Read-only), letting people instantly understand what actions they can take.

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/pages/OfferingDetail.tsx, src/components/RoleChip.tsx

Suggested execution

  • Fork the repo and create a branch
  • git checkout -b uiux/your-role-chip
  • Implement changes
    • Chip variants per role, color-coded from the palette
    • Tooltip explaining role and typical actions
    • Placement rules relative to page header
  • Validate accessibility and responsive assumptions

Test and commit

  • Run checks
    • npm run lint and component/visual tests
  • Cover edge cases
    • viewer with multiple roles, viewer with no role, admin-impersonation state
  • Include screenshots/before-after and accessibility (axe) notes

Example commit message

design: role chip on offering page

Guidelines

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

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions