Group timetables that have the same slot layout

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

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

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

Direzione di ricerca

Start with src/lib/utils.ts and src/components/cards/ViewTimeTable.tsx to trace how timetable combinations are built and displayed. Compare layouts that differ only by faculty with layouts where one lab slot differs, then check how saving, sharing, filtering, and the timetable counter use the selected combination. Done means each unique layout appears once, its faculty alternatives remain accessible, and those actions still refer to the actual selection.

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

Descrizione

enhancement

Right now, two timetables can look exactly the same in the grid but still appear as separate results just because a faculty is different.

For example, three faculty choices for the same course in the same slot shouldn't force someone to scroll through three identical-looking timetables.

What needs to be done

  • Build a consistent signature from the occupied slots/course arrangement.
  • Group combinations with the same layout while keeping all their faculty alternatives accessible.
  • Show each unique layout once, with a way to inspect or choose the faculty combinations within it.
  • Make sure saving, sharing, filtering and the timetable counter still refer to the actual selection.
  • Test cases where faculty differ but slots match, and where only one lab slot differs.

Likely files: src/lib/utils.ts, src/components/cards/ViewTimeTable.tsx.

Keep this separate from the generator optimization so the grouping logic is easy to verify.

Lingua principale
TypeScript
Stelle
7
Fork
39
Merge medio
10h 59m
PR unite (30g)
62

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 CodeChefVIT/ffcs

Tutte le issue di CodeChefVIT/ffcs

Issue simili

Altre issue su TypeScript

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.