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

オープン
#1,959 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
html
領域
cloud, full-stack

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.
主要言語
HTML
スター
33
フォーク
107
平均マージ
14時間 6分
マージ済み PR(30日)
19

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

USRSE/usrse.github.io のほかの issue

USRSE/usrse.github.io の issue をすべて見る

似ている issue

Cloud の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。