[PR #35] [MERGED] Hub: appeal page for bans, Cases tab on /hub/mod #37

Closed
opened 2026-11-03 04:02:33 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-site/pull/35
Author: @ludovic111
Created: 11/1/2026
Status: ✅ Merged
Merged: 11/1/2026
Merged by: @ludovic111

Base: main ← Head: feat/hub-appeal


📝 Commits (1)

  • fb8b721 Hub: /hub/appeal for banned users and official-server bans, and a Cases tab on /hub/mod

📊 Changes

5 files changed (+374 additions, -2 deletions)

View changed files

📝 README.md (+4 -1)
➕ app/hub/appeal/page.tsx (+12 -0)
➕ components/appeal-form.tsx (+224 -0)
➕ components/staff/cases.tsx (+128 -0)
📝 components/staff/mod.tsx (+6 -1)

📄 Description

🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself.

The website side of horizon-rust/kira#108 (mod cases, quarantine, appeals; pointofpressure's spec from #mod-chat).

  • /hub/appeal (new, noindex): for people banned from the Discord server and players banned from the official Minecraft server. Timeouts and quarantines are appealed inside Discord.
    • Identity comes from the link Kira DMs before /ban (#token, kept in localStorage so the person can come back for the answer). "Sign in with Discord" shows only once Kira's OAuth secret is set (appeal/config).
    • The form: the case (or "a Minecraft server ban" with the in-game name), what happened, why it should be lifted or shortened, anything else. Past appeals are listed with their outcome.
  • /hub/mod → Cases tab: open appeals, then the numbered cases (action, member, by, reason, when, lifted / appeal status), linking to #mod-actions and the #mod-mail threads. No appeal answers here.
  • Same proxy (/staff/api/*), the existing staff components, no change to the public pages' look.

Checks: tsc --noEmit (after next typegen) and eslint components app are clean.

🤖 Generated with Claude Code


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon-site/pull/35 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 11/1/2026 **Status:** ✅ Merged **Merged:** 11/1/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/hub-appeal` --- ### 📝 Commits (1) - [`fb8b721`](https://github.com/horizon-rust/horizon-site/commit/fb8b721adce6269bb64d5a623b6b9ecb694a07d9) Hub: /hub/appeal for banned users and official-server bans, and a Cases tab on /hub/mod ### 📊 Changes **5 files changed** (+374 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `README.md` (+4 -1) ➕ `app/hub/appeal/page.tsx` (+12 -0) ➕ `components/appeal-form.tsx` (+224 -0) ➕ `components/staff/cases.tsx` (+128 -0) 📝 `components/staff/mod.tsx` (+6 -1) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. The website side of horizon-rust/kira#108 (mod cases, quarantine, appeals; pointofpressure's spec from #mod-chat). - **`/hub/appeal`** (new, `noindex`): for people banned from the Discord server and players banned from the official Minecraft server. Timeouts and quarantines are appealed inside Discord. - Identity comes from the link Kira DMs before `/ban` (`#token`, kept in localStorage so the person can come back for the answer). "Sign in with Discord" shows only once Kira's OAuth secret is set (`appeal/config`). - The form: the case (or "a Minecraft server ban" with the in-game name), what happened, why it should be lifted or shortened, anything else. Past appeals are listed with their outcome. - **`/hub/mod` → Cases** tab: open appeals, then the numbered cases (action, member, by, reason, when, lifted / appeal status), linking to #mod-actions and the #mod-mail threads. No appeal answers here. - Same proxy (`/staff/api/*`), the existing staff components, no change to the public pages' look. Checks: `tsc --noEmit` (after `next typegen`) and `eslint components app` are clean. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 04:02:33 +07:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon-site#37
No description provided.