feat(badges): plumb working group and refined conference role badges

Đang mở
#1,952 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
38/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ệ
typescript
Lĩnh vực
backend, databases

Hướng nghiên cứu

Start with Phase 1 issue #1951, then inspect badges.ts and loadMemberDossier to trace how computeBadges receives data. Load the named group, committee, session, and session-type rows, implement the listed badges and ranking changes, preserve the existing Talk and Poster fallback, and measure the added query count.

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

Mô tả

Summary

Phase 2 of the badge expansion. Wire `computeBadges` to consume tables that already exist in the schema but don't yet feed the recognition system: `group_memberships`, `event_committee_assignments`, `event_sessions`, and `event_session_types`. Adds ~10 new badges spanning sustained community participation and granular conference roles.

Requirements

  • Working Group Member / Working Group Chair badges from `group_memberships` joined to `groups` (filter to working-group type, distinguish chair/co-chair from rank-and-file).
  • Affinity Group Member / Affinity Group Coordinator from the same tables filtered to affinity-group type.
  • Program Committee badge from `event_committee_assignments`.
  • Reviewer badge from `event_committee_assignments` filtered to reviewer-style areas.
  • Refined conference-role badges using `event_sessions` and `event_session_types`: Keynote Speaker, Plenary Speaker, Lightning Talk, Tutorial Lead, Workshop Lead, Birds of a Feather Lead, Panelist. Replaces the current heuristic regex on `event_attendances.notes` with a proper join.
  • Backwards compatibility: existing `Talk` and `Poster` badges continue to work for events that don't have richer session data.
  • `pickFeaturedBadges` updated — Keynote and Plenary should rank near the top of the achievements strip alongside Service tier.

Context

Tables already exist (verified during the disciplines/skills work): `groups`, `group_memberships`, `event_committee_areas`, `event_committee_assignments`, `event_sessions`, `event_session_presenters`, `event_session_types`. Nothing in `badges.ts` reads them today.

The Phase 1 issue (#1951) is a prerequisite — its widened `computeBadges` signature is the natural place to add these new inputs. Phase 3 introduces the brand-new `awards` / `mentorship` / `contributions` tables.

Implementation Notes

  • `loadMemberDossier` will need to load these additional rows (or join them lazily) before passing to `computeBadges`. Worth measuring query count — the Promise.all batch is already a few queries deep.
  • Conference-role badges should prefer `event_sessions` data over `event_attendances.notes` regex. If a session matches via `event_session_presenters`, emit the session-type badge; otherwise fall back to the existing logic.
  • Group membership end-dating (if the join carries dates) should distinguish "current chair" from "former chair" — current rates higher in the visual hierarchy.
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ề Backend & API Design

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.