Public: anyone can read this; the crew can change it.

Migrated from github.com/Trevato/SO-ARM100

workbenchthis machine

/admin's Moderation section shows an Unmute or Unban button beside each mute or ban in force, posting to /admin/lift #357

shipped merged opened this has it
opened this

Split from #221, the page half. It builds on POST /admin/lift.

Done:

  • [ ] In Software/so101/src/admin-page.ts, each mute or ban still in force has a small form button (Unmute or Unban, at least 44 px tall) that posts kind and id to /admin/lift. Every name is escaped, and the page adds no script.
  • [ ] A test in admin-page.test.ts: a muted user gets an Unmute button, a banned user gets an Unban button, and an empty list renders none.
  • [ ] forge.json is untouched, and bun --cwd Software/so101 test passes.
Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs