Skip to content

feat(dashboard): level-up actions configuration page #372

@BillChirico

Description

@BillChirico

Parent: #364

Dashboard page for configuring level-up actions, using the WYSIWYG editor (#370) and embed builder (#371).

Scope

Page: XP & Leveling → Level-Up Actions

Global toggles:

  • Enable/disable level-up actions
  • Stack roles vs replace (highest only)
  • Remove roles on level down

Default actions section:

  • Actions that fire on every level-up
  • Same action card UI as per-level

Per-level action editor:

  • Level selector (pick or type a number)
  • Ordered action list per level
  • Each action = a card with:
    • Type selector dropdown (grantRole, removeRole, sendDm, announce, xpBonus, addReaction, nickPrefix, webhook)
    • Type-specific config fields (role picker, channel picker, message editor, etc.)
  • Drag-and-drop to reorder actions
  • Add action button + delete per action

Message editing (per action):

Test/Preview:

  • Simulate a level-up for a specific level
  • Show what would happen: roles granted/removed, messages sent, channels, rendered previews

Depends On

Acceptance Criteria

  • Config page with global toggles
  • Default actions section
  • Per-level action editor with drag-and-drop
  • All 8 action types have appropriate config UIs
  • Role picker for role actions
  • Channel picker for announce action
  • Inline message editor with variable picker
  • Format selector + embed builder integration
  • Level-up simulation/preview
  • Save/load config via API
  • Tests for config page rendering and interaction

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions