Replace the timetable filter pills with one Filters button and popover
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 3-5 dias
- Facilidade para iniciantes
- 42/100
- Tipo de issue
- Funcionalidade
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- react, typescript
Direção de pesquisa
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.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
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} />}
- Linguagem predominante
- TypeScript
- Estrelas
- 6
- Forks
- 37
- Merge médio
- 11h 13min
- PRs com merge (30d)
- 55
Preparar o ambiente
- Sem Dockerfile nem arquivo Docker Compose
- Sem modelo de pull request
- Ler o guia de contribuição
Primeiros passos
- Leia a issue inteira e depois o guia de contribuição do projeto.
- Comente na issue dizendo que vai assumir — evita que duas pessoas façam o mesmo trabalho.
- Faça um fork do repositório e trabalhe em uma branch.
- Abra um pull request que referencie o número da issue.
Mais de CodeChefVIT/ffcs
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
CodeChefVIT/ffcs#295 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 1-2 dias Facilidade para iniciantes 48/100
CodeChefVIT/ffcs#292 ·
Mantenedores costumam responder em até 1 dia
-
Edit a course from Your Courses with a pencil buttonTalvez já em andamento @Aiden-Trindade assumiu há 2 dias. Aberta
Dificuldade 5/5 Mais de uma semana Facilidade para iniciantes 43/100
CodeChefVIT/ffcs#291 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Put the selection box and Your Courses side by side and restyle themTalvez já em andamento @Aiden-Trindade assumiu há 2 dias. Aberta
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 55/100
CodeChefVIT/ffcs#290 · 1 responsável ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 43/100
CodeChefVIT/ffcs#289 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de CodeChefVIT/ffcs
Issues semelhantes
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
components-web-app/docs#307 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 78/100
localstack/localstack-mcp-server#112 ·
Mantenedores costumam responder em até 1 dia
-
area:frontend kind:bug priority:p1 ready
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 85/100
Mantenedores costumam responder em até 1 dia
-
bug ready-for-agent
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 73/100
PhyberApex/kuroshiro#1687 ·
Mantenedores costumam responder em até 1 dia
-
Performance (Web Vitals) collector: LCP/FCP from background tabs are not discarded, inflating p75Aberta
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 74/100
umami-software/umami#4720 ·
Mantenedores costumam responder em até 3 dias