fix(web): replace the hero feed's pull request event with one the GitHub adapter reads

Aperta Adatta ai principianti
#432 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à
1/5
Tempo stimato
1-3 ore
Idoneità per principianti
85/100
Tipo di issue
Bug
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
nextjs, playwright, react, typescript
Ambito
frontend

Direzione di ricerca

Inizia in src/components/live-event-feed.tsx e individua l'array feedEvents; la riga GitHub da sostituire è la voce "Pull request #128 merged in acme/api". Leggi docs/providers/github.md e i tipi di evento in src/lib/adapters/github per confermare quali eventi (star, fork, billing) produce effettivamente l'adattatore, poi scegli una sostituzione che mantenga la combinazione esistente di severità. Controlla e2e/landing.spec.ts per le asserzioni che nominano la vecchia riga e aggiornale, poi esegui npx playwright test e2e/landing.spec.ts; fatto significa che ogni riga GitHub in feedEvents è un evento supportato dall'adattatore e la spec passa.

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

Descrizione

area: web bug priority: P3 size: XS

Context

The hero feed's example events (feedEvents in src/components/live-event-feed.tsx) include "Pull request #128 merged in acme/api". The GitHub adapter does not read pull requests. It reads billing, stars and forks; see docs/providers/github.md and the GitHub event types in src/lib/adapters/github. So the landing page shows an event DevMacro cannot produce.

Fable found this while reviewing #431, which changed the matching label in the data-flow constellation to "New fork of acme/api". The feed itself is outside that pull request.

Plan

Replace the feed row with a GitHub event the adapter reads, for example a star milestone or a fork. Keep the feed's severity mix.

Acceptance criteria

  • Every GitHub row in feedEvents is an event the GitHub adapter reads
  • e2e/landing.spec.ts still passes; update any assertion that names the old row

Files and areas

src/components/live-event-feed.tsx only.

Verification

npx playwright test e2e/landing.spec.ts

Model: anthropic/claude-opus-5-5 | Reasoning effort: not reported by the harness

Lingua principale
TypeScript
Stelle
1
Fork
1
Merge medio
6h 56m
PR unite (30g)
136

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 eddiejaoude/StackDash

Tutte le issue di eddiejaoude/StackDash

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.