Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

The contributor page links to an org-wide PR search instead of the program's repos

Chiusa Adatta ai principianti
#101 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
2/5
Tempo stimato
1-3 ore
Idoneità per principianti
88/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
github, typescript

Direzione di ricerca

Leggi la costruzione del link in src/index.ts intorno alla riga 324 e confronta la relativa query con searchMergedPrs in src/github.ts intorno alle righe 123–131. Aggiorna il test della scheda del contributor in test/card.test.ts per coprire un programma con un proprio elenco di repos. Il lavoro è completato quando il link usa i repository del programma mantenendo i filtri per autore, etichetta e data, e typecheck e test passano.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug good first issue hacktoberfest

On a contributor card page, "See 's merged pull requests on GitHub" links to a GitHub search built with org:codercops (src/index.ts, line 324). The number on the card comes from searchMergedPrs (src/github.ts, line 123), which only searches the program's repos (repo:codercops/<repo> for each one, line 131). So the link can list PRs the card didn't count. For a program with its own repos list it always does, and for the current one it would as soon as another codercops repo gets a labeled PR.

What to do

  • Build the link's query from program.repos the same way searchMergedPrs does, instead of org:.

Where to look

  • src/index.ts, line 324, and src/github.ts, lines 123 to 131
  • test/card.test.ts: the expected search string at line 317 needs updating, and a case with a program that sets its own repos would cover the fix

Acceptance criteria

  • The link searches only the program's repos, with the same author, label and dates as now
  • Tests that fail on the current code
  • npm run typecheck and npm test pass

Want to work on this? Comment below and I'll assign it to you. Please take one issue at a time, branch off develop, and open your PR against develop with Closes #101 in the description.

Lingua principale
TypeScript
Stelle
0
Fork
1
Merge medio
8h 27m
PR unite (30g)
56

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di codercops/discord-bot

Tutte le issue di codercops/discord-bot

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.