feat(admin): recognition — awards, mentorship, contributions

Đang mở
#1,962 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
25/100
Loại issue
Tính năng
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Ít trao đổi

Hướng nghiên cứu

Start by confirming foundation issue #1956 and reviewing the Phase 3 recognition schema plus packages/api/src/lib/badges.ts. Draft the required spec under docs/superpowers/specs/, resolve the lifetime-tier approval decision, then define the awards, nominations, mentorship, and contributions workflows with audit coverage; done means the listed admin flows and recognition writes are complete.

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

Mô tả

Summary

Recognition workflows: award nomination → review → approval, mentorship pair management, community contribution logging. Schema landed in Phase 3 (daa677b).

Requirements

  • Brainstorming → spec under docs/superpowers/specs/.
  • /admin/awards — manage the awards vocabulary (tier, accent, description) — staff+.
  • /admin/awards/:slug/nominations — nomination intake + review workflow — super_admin (lifetime tier) or staff (other tiers).
  • User awards CRUD: add / revoke entries on user_awards with citation text.
  • /admin/mentorship — match mentor / mentee pairs, manage active pairings, capture privacy preferences (partner names visible only when partnerIsPublic).
  • /admin/contributions — log community contributions (newsletters, tutorials, guides, etc.) for badge calculation.
  • All recognition writes flow through audit middleware so the trail of "who awarded what to whom" is complete.

Context

Foundation must ship first (#1956). Schema: awards, user_awards, mentorship_pairings, community_contributions, plus the award_tier, award_accent, contribution_kind enums.

Implementation Notes

  • Policy: canManageRecognition is staff+. Lifetime-tier awards may need an additional gate or a board-quorum-style approval (defer the decision to brainstorm).
  • Existing badge engine (packages/api/src/lib/badges.ts) is computed-on-read, so recognition data flows automatically into dossiers once admin writes land.
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ề Security

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.