feat(badges): add Phase 1 identity and milestone badges
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 64/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bien especificado
- Estado de actividad
- Tranquilo
- Stack tecnológico
- typescript
- Área
- full-stack
Línea de trabajo
Start in packages/api/src/lib/badges.ts and trace the existing computeBadges inputs from loadMemberDossier, then inspect HexStamp.tsx and pickFeaturedBadges for rendering and ordering. Done means all listed badge thresholds and suppression rules work without schema changes, the new glyphs match the existing visual system, and the priority order surfaces the specified milestones.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Summary
Extend `computeBadges` with ~12 new badges derived entirely from existing data — no schema changes, no new tables, no R2 artwork. Account-anniversary, profile-completeness, identity-link, and breadth-of-craft badges that surface immediately for any active member.
Requirements
- Anniversary 1-Year / 5-Year / 10-Year milestones from `users.createdAt`. Emit only the highest tier the user qualifies for.
- ORCID Linked / GitHub Linked / LinkedIn Linked identity badges from non-null `profile.{orcid,githubUrl,linkedinUrl}`.
- Profile Complete milestone — earned when displayName + headline + bio + jobTitle + institution + publicLocation are all non-empty.
- Polyglot milestone — 5+ entries in `user_languages`.
- Polymath milestone — 10+ entries in `user_skills`.
- Cross-Disciplinary milestone — 3+ entries in `user_disciplines`.
- Decade Roster milestone — 10+ event participations of any role.
- Speaker Streak milestones — Speaker Decade (10+ talks) and Speaker Quarter (25+ talks). Suppress the lower tier when the higher is earned.
- Globetrotter milestone — events attended in 3+ distinct countries.
- New glyphs in `HexStamp.tsx` for each kind, geometric primitives matching the existing visual system.
- `pickFeaturedBadges` priority updated so identity / streak / completion milestones surface in the hero strip ahead of plain attendance.
Context
`packages/api/src/lib/badges.ts` today only sees `event_attendances`, `leadership_terms`, `users.createdAt`, and `users.isLegacyImport`. This phase widens its inputs to include profile fields and discipline/skill/language counts (all already loaded by `loadMemberDossier`) without touching the schema. Phase 2 and Phase 3 follow in separate issues.
Implementation Notes
- Identity badges (ORCID/GitHub/LinkedIn) are verification marks, not contribution marks — give them a distinct visual sub-tier so they don't compete with event chips for prestige weight.
- Anniversary badges emit at-most-one — a 12-year member shouldn't carry 1, 5, and 10 simultaneously.
- For the Speaker Streak threshold (10 vs 25), count distinct `event_attendances` rows with role=speaker; ignore poster-only attendances.
- Globetrotter needs a country signal on `events.location` — if missing, use the event's joined country reference, or skip if neither is present (don't emit false positives).
- Lenguaje dominante
- HTML
- Estrellas
- 33
- Forks
- 107
- Merge medio
- 14 h 6 min
- PR fusionados (30 d)
- 19
Preparar el entorno
- Incluye un Dockerfile o un archivo de Docker Compose
- Tiene una plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de USRSE/usrse.github.io
-
update community awardsAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
USRSE/usrse.github.io#2117 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 63/100
USRSE/usrse.github.io#2115 · 1 comentario ·
Los mantenedores suelen responder en 1 día
-
Broken URLs on the websiteAbiertobroken-links
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
USRSE/usrse.github.io#2099 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
USRSE/usrse.github.io#2085 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 85/100
USRSE/usrse.github.io#2001 ·
Los mantenedores suelen responder en 1 día
Todos los issues de USRSE/usrse.github.io
Issues similares
-
area:sessions bug needs-info platform:windows
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
openchamber/openchamber#7919 · 1 comentario ·
Los mantenedores suelen responder en 2 días
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
Los mantenedores suelen responder en 1 día
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
ietf-tools/errata#109 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
Los mantenedores suelen responder en 1 día