[Map of Classes] Sort day meetings and list unmapped entries
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 3/5
- Tempo stimato
- Mezza giornata
- Idoneità per principianti
- 52/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Stack tecnologico
- typescript
- Ambito
- frontend
Direzione di ricerca
Start with src/lib/domain/section.ts to see how a meeting's time and building fields are shaped, then check whether src/lib/map/meetings.ts exists yet, since the issue says to extend the file from #804, which should land first. Implement prepareDay(items) so timed rows with finite lat/lon go to mapped in HH:mm order, and untimed or unlocated rows go to fallback in class order. Done means the cases in src/lib/map/meetings.test.ts pass with pnpm test -- src/lib/map/meetings.test.ts, and pnpm lint and pnpm typecheck are clean.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
What to build
Put a day’s classes in time order and separate classes that cannot be placed on the map. Missing locations and unknown times must remain visible in a text list rather than disappearing.
Files
src/lib/map/meetings.ts(extend the prerequisite’s file)- Starting example: src/lib/domain/section.ts
Code to add or extend:prepareDay(items): {mapped:MapMeeting[];fallback:MapMeeting[]}.
Steps
- Sort timed rows by parsed HH:mm start time, untimed rows last.
- Put finite lat/lon timed rows in mapped; missing coordinate or untimed rows in fallback.
- Keep timed remote/missing-building rows in fallback with their time, not silently dropped.
Example
Valid coordinate timed class → mapped; null lat or TBA → fallback; rows stay in class order.
Check it works
In src/lib/map/meetings.test.ts, check the example above and the failure or limit described in the steps. Run pnpm test -- src/lib/map/meetings.test.ts, pnpm lint and pnpm typecheck.
Before starting
- #804 — Group plan meetings by weekday
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
- Nessun Dockerfile né file Docker Compose
- Ha un modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di DevDogsUGA/DogDays
-
map
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DevDogsUGA/DogDays#868 ·
-
map
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DevDogsUGA/DogDays#865 ·
-
sharing
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
DevDogsUGA/DogDays#854 ·
-
import-export
Difficoltà 2/5 1-3 ore Idoneità per principianti 70/100
DevDogsUGA/DogDays#850 ·
-
import-export
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
DevDogsUGA/DogDays#842 ·
Tutte le issue di DevDogsUGA/DogDays
Issue simili
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 73/100
anomalyco/opencode#56380 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
enhancement
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
BUG | `MCP 服务器` | 全局层行的停用/启用与删除报 404 server row not found,编辑保存会在 profile 层复制出重复行Forse già presa @w6242652 l’ha presa oggi. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
Chocobozzz/PeerTube#7832 ·
I maintainer di solito rispondono entro 3 giorni
-
Pay to use?Aperta
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 66/100
darkreader/darkreader#16108 · 1 commento ·
I maintainer di solito rispondono entro 2 giorni