[PR #16] [MERGED] Staff applications: the /apply form and its privacy section #20

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

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon-site/pull/16
Author: @ludovic111
Created: 10/30/2026
Status: ✅ Merged
Merged: 10/30/2026
Merged by: @ludovic111

Base: main ← Head: feat/staff-apply


📝 Commits (1)

  • e733656 Staff applications: the /apply form and its privacy section

📊 Changes

8 files changed (+120 additions, -5 deletions)

View changed files

📝 Caddyfile (+2 -1)
📝 build.mjs (+5 -3)
📝 public/robots.txt (+1 -0)
📝 serve.mjs (+1 -0)
➕ src/apply-page.js (+63 -0)
➕ src/apply.html (+42 -0)
📝 src/privacy.html (+3 -1)
📝 src/style.css (+3 -0)

📄 Description

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

Second site part of the staff dashboards: the application form.

What it adds

  • /apply#<token>: the form opened by the one-time link Kira DMs with /apply on Discord (24 h, single use). It shows who applies and for which role (🤝 Support, 🛡️ Mod, 🌌 Horizon Team), renders Kira's questions, and sends the answers to Kira through the /staff/api/* proxy from #15. The token leaves the address bar at once (sessionStorage for this tab only). Without a link the page says to run /apply.
  • For Team applications, the page says that linking and verifying GitHub (/link-github, /verify-github) puts the applicant's merged pull requests next to the application.
  • /apply: noindex, no-store, no-referrer, Disallow: /apply, never in the sitemap.
  • Privacy page: a section on applications (what is kept, who sees it, deleted 90 days after the decision except the ID, role, outcome and date for the 14-day cooldown), and the staff session cookie in the cookie sentence. Kira's sweep matches it (kira#78 also drops ballot comments).

Tests

  • npm test: 49 pass. caddy validate: valid.
  • Local end to end against Kira's dev API (fake store): the link opens the Mod form for the fake applicant, a submit with required answers missing is stopped by the browser.
  • Screenshots (fake data, Mac mini): ~/builds/horizon-site/staff-shots/s2-apply-form.png, s2-apply-missing.png.

🤖 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/16 **Author:** [@ludovic111](https://github.com/ludovic111) **Created:** 10/30/2026 **Status:** ✅ Merged **Merged:** 10/30/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `feat/staff-apply` --- ### 📝 Commits (1) - [`e733656`](https://github.com/horizon-rust/horizon-site/commit/e7336565a360d2abfd5bec72102e70686093d33a) Staff applications: the /apply form and its privacy section ### 📊 Changes **8 files changed** (+120 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `Caddyfile` (+2 -1) 📝 `build.mjs` (+5 -3) 📝 `public/robots.txt` (+1 -0) 📝 `serve.mjs` (+1 -0) ➕ `src/apply-page.js` (+63 -0) ➕ `src/apply.html` (+42 -0) 📝 `src/privacy.html` (+3 -1) 📝 `src/style.css` (+3 -0) </details> ### 📄 Description > 🤖 Opened by Ludovic's AI agent (Claude), not by Ludovic himself. Second site part of the staff dashboards: the application form. ## What it adds - `/apply#<token>`: the form opened by the one-time link Kira DMs with `/apply` on Discord (24 h, single use). It shows who applies and for which role (🤝 Support, 🛡️ Mod, 🌌 Horizon Team), renders Kira's questions, and sends the answers to Kira through the `/staff/api/*` proxy from #15. The token leaves the address bar at once (sessionStorage for this tab only). Without a link the page says to run `/apply`. - For Team applications, the page says that linking and verifying GitHub (`/link-github`, `/verify-github`) puts the applicant's merged pull requests next to the application. - `/apply`: `noindex`, `no-store`, `no-referrer`, `Disallow: /apply`, never in the sitemap. - Privacy page: a section on applications (what is kept, who sees it, deleted 90 days after the decision except the ID, role, outcome and date for the 14-day cooldown), and the staff session cookie in the cookie sentence. Kira's sweep matches it (kira#78 also drops ballot comments). ## Tests - `npm test`: 49 pass. `caddy validate`: valid. - Local end to end against Kira's dev API (fake store): the link opens the Mod form for the fake applicant, a submit with required answers missing is stopped by the browser. - Screenshots (fake data, Mac mini): `~/builds/horizon-site/staff-shots/s2-apply-form.png`, `s2-apply-missing.png`. 🤖 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:25 +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#20
No description provided.