Replace the timetable filter pills with one Filters button and popover
Los mantenedores suelen responder en 1 día
Evaluación
- Dificultad
- 4/5
- Tiempo estimado
- 3-5 días
- Aptitud para principiantes
- 42/100
- Tipo de issue
- Nueva funcionalidad
- Claridad
- Bastante claro
- Estado de actividad
- Activo
- Stack tecnológico
- react, typescript
Línea de trabajo
Start with ViewTimeTable.tsx, FacultySelector.tsx, and the Figma frame “Timetable filters” (node 2560:1371); check the open work on #266, #283, and #262 before editing. Build the Filters button, popover, active filter tags, and clear/remove interactions while keeping faculty and same-building behavior. Done when the design and listed interactions work; coordinate the remaining timetable logic with #289.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Scroll down for design
Is your feature request related to a problem? Please describe.
Next to "Your Timetables" there are Morning, Evening and Mixed pills, a Same Building checkbox and a Filter by Faculty box. They take a lot of room and each one is a separate control.
Describe the solution you'd like
One Filters button replaces all of them. Pressing it opens a popover.
- A count badge on the button shows how many filters are on.
- Popover options:
- Theory time (Morning, Evening, Mixed)
- Class time: a range bar with two handles that snap to class start and end times, with the times shown under the handles
- Fewest lab days
- Same building
- A faculty field
- Clear all
- Active filters show as small removable tags beside "Your Timetables", and the × removes one.
- Same building and the faculty field keep working as they do today, just moved into the popover. How the other options pick and order timetables is in the logic issue (#289).
Additional context
Related: #187 (filter by multiple faculties), #188 (filter by slots) and #263 (same-building filtering), all closed.
ViewTimeTable.tsx is changing in other work, so expect merge conflicts:
- #266 (open): splits
FacultySelector.tsxandViewTimeTable.tsxinto smaller modules. - #283 (open PR): changes timetable state in
ViewTimeTable.tsx. - #262 (open): changes the saved-timetable local storage syncing in the same file.
- #267 (merged): groups timetables with the same slot layout. The tags and counts must still refer to the real timetable selection.
Design
- Figma frame:
Timetable filters(node2560:1371) on the page "FFCS revamp". It contains theFilters button, theFilters popoverand theActive filtersrow. - Link: https://www.figma.com/design/uCP8B7drfprKgsHYjB8sYs?node-id=2560-1371
- The Figma frame still shows the old Fewest 8 am / Fewest 7:20 pm options; the range bar replaces them.
Example
One way to build it (just an idea):
ZButtonfor the Filters button- A popover built like the other popups
- The existing faculty
ComboBoxfor the faculty field
<ZButton type="regular" text={`Filters${count ? ` (${count})` : ''}`} onClick={togglePopover} />
{open && <FiltersPopover value={filters} onChange={setFilters} onClear={clearAll} />}
- Lenguaje dominante
- TypeScript
- Estrellas
- 6
- Forks
- 37
- Merge medio
- 11 h 13 min
- PR fusionados (30 d)
- 55
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de CodeChefVIT/ffcs
-
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
CodeChefVIT/ffcs#295 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 4/5 1-2 días Aptitud para principiantes 48/100
CodeChefVIT/ffcs#292 ·
Los mantenedores suelen responder en 1 día
-
Edit a course from Your Courses with a pencil buttonPosiblemente ocupada @Aiden-Trindade la tomó hace 1 día. Abierto
Dificultad 5/5 Más de una semana Aptitud para principiantes 43/100
CodeChefVIT/ffcs#291 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Put the selection box and Your Courses side by side and restyle themPosiblemente ocupada @Aiden-Trindade la tomó hace 1 día. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 55/100
CodeChefVIT/ffcs#290 · 1 asignado ·
Los mantenedores suelen responder en 1 día
-
Filter timetables by a class time range and rank by fewest lab daysPosiblemente ocupada Un pull request vinculado a esta issue está abierto o ya se fusionó. Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 43/100
CodeChefVIT/ffcs#289 ·
Los mantenedores suelen responder en 1 día
Todos los issues de CodeChefVIT/ffcs
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
better-auth/better-auth#12132 · 1 reacción ·
Los mantenedores suelen responder en 1 día
-
o8 next debug build aborts on Glass to Dark appearance switch (nil identifier messaged before check)Abiertobug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
hurttlocker/o8#5112 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
webrecorder/wabac.js#386 ·
-
needs-triage
Dificultad 1/5 1-3 horas Aptitud para principiantes 92/100
agent-of-empires/agent-of-empires#5098 · 1 comentario · 1 reacción ·
Los mantenedores suelen responder en 1 día