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

Đang mở
#1,959 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
5/5
Thời gian dự kiến
Hơn một tuần
Mức phù hợp với người mới
35/100
Loại issue
Tính năng
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Ít trao đổi
Công nghệ
html
Lĩnh vực
cloud, full-stack

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.
Ngôn ngữ chính
HTML
Star
33
Fork
107
Merge trung bình
14 giờ 6 phút
Pull request đã merge (30 ngày)
19

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của USRSE/usrse.github.io

Tất cả issue của USRSE/usrse.github.io

Issue tương tự

Thêm issue về Cloud

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.