feat(admin): organizations — logos, memberships, sponsorships

Aperta
#1,959 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
html
Ambito
cloud, full-stack

Direzione di ricerca

Start with the specification under docs/superpowers/specs/ and verify the existing schema from commit 4a89a55, then inspect wrangler.jsonc and the deferred binding from d1140c8. Done means the admin organization list and detail workflows, consent-gated logo storage, membership and sponsorship management, and the required R2 configuration are implemented after foundation #1956 ships.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

Summary

Admin surface for managing organizations: logo uploads, recurring org memberships, and per-event sponsorships. Schema already in place (organizations.logo_* columns, org_memberships, event_sponsorships); this issue is the UI + storage wiring.

Requirements

  • Brainstorming → spec under docs/superpowers/specs/.
  • Provision the usrse-organization-logos R2 bucket; uncomment the binding in wrangler.jsonc and fill in ORGANIZATION_LOGOS_PUBLIC_URL (the binding was deferred in commit d1140c8).
  • /admin/orgs — searchable list with active-membership and active-sponsorship facets.
  • /admin/orgs/:id — detail view: edit name / slug / shortName / url, upload primary + dark + mark logos with consent capture, manage org_memberships rows (tier + dates), manage event_sponsorships rows.
  • Logo upload flow: file or URL import to R2, persist logo_storage_key, gate display on logo_usage_consent truthiness.
  • Membership lifecycle: open / renew / close, with renewal_due_at for the dashboard tile.
  • Public surface follow-on: /about/sponsors page becomes data-driven from event_sponsorships once this lands.

Context

Foundation must ship first (#1956). Phase 2 schema (4a89a55) added all the relevant columns and tables; nothing is wired to UI yet.

Implementation Notes

  • Policy: canEditOrganization is staff+. Future: an org-rep role could earn scoped edit on their own org.
  • OrgLogo component already falls back to InitialsHex — once real logos start landing, the public surface picks them up automatically.
  • Sponsor tier enum: platinum / gold / silver / bronze / supporter / in_kind.
Lingua principale
HTML
Stelle
33
Fork
107
Merge medio
14h 6m
PR unite (30g)
19

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di USRSE/usrse.github.io

Tutte le issue di USRSE/usrse.github.io

Issue simili

Altre issue su Cloud

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.