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

[Map of Classes] Render numbered day pins through supplied map adapter

Aperta
#867 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
35/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
react, typescript
Ambito
frontend

Direzione di ricerca

Create the new component in src/components/map/ClassMap.tsx, using src/app/plans/[id]/layout.tsx as the starting example for how the day's data reaches the page. Do not start until #806 publishes the adapter signatures and #864 provides the sorted meetings. Write the tests in src/components/map/ClassMap.test.tsx with a fake adapter, and check that two rows produce labels 1 and 2 and that switching days replaces the pins. Done when pnpm test, pnpm lint and pnpm typecheck pass for that file.

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

Descrizione

map

What to build

Place numbered class markers on the selected day’s map using the approved map wrapper. The numbers should follow class order so students can match the map to their day.

Files

Steps

  1. Wait for the map-contract officer prerequisite to publish adapter signatures. Build pins from ordered mapped meetings with id CRN/index, lat,lng and label index+1.
  2. Call the adapter’s replacePins on day/data change and forward selection ID; dispose adapter according to prerequisite contract.
  3. Fake adapter records pins; no Maps key/network in widget tests.

Example

Two valid rows produce pin labels1,2 in class order; switching day replaces old pins.

Check it works

In src/components/map/ClassMap.test.tsx, check the example above and the failure or limit described in the steps. Run pnpm test -- src/components/map/ClassMap.test.tsx, pnpm lint and pnpm typecheck.

Before starting

  • #864 — Sort day meetings and list unmapped entries
  • #806 — Record the approved Maps adapter contract

References

Assign yourself before starting, or comment to claim the issue. Project setup.

Lingua principale
TypeScript
Stelle
19
Fork
94
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

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 DevDogsUGA/DogDays

Tutte le issue di DevDogsUGA/DogDays

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.