Public profile: "Merged into" open-source logo wall

Abierto
#3,995 6 comentarios 0 reacciones 1 asignado Ver en GitHub

Los mantenedores suelen responder en 1 día

@SynthReaper ya está trabajando en esto.

Desde el 3/12/2026.

  • #4026 de @SynthReaper — abierto

Evaluación

Este issue todavía no se ha evaluado.

Descripción

level 2 level:intermediate status:assigned type:feature
Summary

Show a member's open-source contributions on their public profile, using the data from #3994.

What counts as an open-source contribution
  • A merged pull request (not just opened) into a public repository the user does not own.
  • The repository has at least 1,000 stars at sync time. This is meant to be something to brag about, so small or personal repos don't count.
  • PRs the author merged themselves (merged_by is the author) don't count.
  • Grouped by the repository owner (an organisation like pytorch, or a person). The logo is the owner's GitHub avatar (https://avatars.githubusercontent.com/<owner>), so no logo files are hosted.
  • Members only (people signed up on DevTrack). Guest profiles never show it and never trigger GitHub calls.
Expected outcome
  • A section on /u/<login> (members only): heading like "Merged into 7 organisations", then a grid of owner logos (GitHub avatars, pixelated frame like the rest of the profile), each with the owner name, merged PR count and the biggest repo's stars (e.g. pytorch · 4 PRs · 85k★). Top 6, then "+N more" that expands.
  • Links go to the owner on GitHub (rel="noopener noreferrer").
  • Arcade design: px-frame panel, pixel-font heading, theme tokens, no rounded cards or gradients. Works at 390px.
  • Privacy: add "opensource" to PublicWidgetKey (src/lib/public-profile-data.ts) and to the public widgets list in Settings, on by default for new data, so members can hide it.
  • Empty state: hide the section entirely when there's nothing to show (don't show "0").
  • Translated (messages/*.json, all four locales) for the signed-in Settings toggle; the profile section text follows the profile's existing approach.
Acceptance criteria
  • Component tests: renders logos and counts, "+N more", hidden when empty or when the widget is off
  • The profile page makes no extra GitHub calls (reads #3994's API/table only)
  • Screenshots at 1280px and 390px, Arcade and Daylight

Depends on #3994.

Lenguaje dominante
TypeScript
Estrellas
246
Forks
436
Merge medio
9 h 33 min
PR fusionados (30 d)
213

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de Priyanshu-byte-coder/devtrack

Todos los issues de Priyanshu-byte-coder/devtrack

Issues similares

Más issues de TypeScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.