Augeo AI Docs
Augeo Design SystemComponents

AchievementDetailDialog

One badge in full, with where it stands, its facts, the badges beside it and the people who hold it. The art flies in from the tile it opened from.

AchievementDetailDialog

AchievementDetailDialog shows one badge beyond what its tile can carry: its facts, its steps or levels, the related badges and the people who hold it. The holder also gets the switch that takes an earned badge off their profile, so a host leaves it out for anyone else. The host owns which badge is open, so a related badge the reader presses replaces the content in place rather than stacking a second dialog. The dialog reports its own render while it is open, and nothing when it goes away, because no stage-1 name reports a dismissal.

Interaction Phases

State space: none. This item renders no phase treatment of its own.

Politeness is not announced — this item carries no live region.

Storybook

Loading

Props

Prop

Type

Also takes the attributes of the element it renders.

Tokens

Derived from the component source at docs-generation time — these are the --augds-* variables it reads. Re-theme the colour slots by constructing a partner DesignSystemTheme and wrapping the consumer subtree in <ThemeProvider>, never by hard-coding values.

  • --augds-background-brand
  • --augds-background-sunken-1
  • --augds-background-sunken-2
  • --augds-border-default
  • --augds-border-subtle
  • --augds-foreground-brand
  • --augds-foreground-brand-readable
  • --augds-foreground-on-brand
  • --augds-foreground-primary
  • --augds-foreground-quaternary
  • --augds-foreground-tertiary
  • --augds-interaction-focus-ring
  • --augds-radius-primitive-12
  • --augds-radius-primitive-16
  • --augds-radius-primitive-20
  • --augds-radius-primitive-24
  • --augds-radius-primitive-999
  • --augds-shadow-1
  • --augds-surface-current
  • --augds-surface-page
  • --augds-surface-sunken-1
  • --augds-type-heading-md-font-family
  • --augds-type-heading-md-font-size
  • --augds-type-heading-md-font-weight
  • --augds-type-heading-md-letter-spacing
  • --augds-type-heading-md-line-height

Source

  • src/components/ui/achievement-detail-dialog/achievement-detail-dialog.tsx