Start editing a course by clicking its class in a generated timetable
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 4/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 48/100
- Tipo de issue
- Funcionalidade
- Clareza
- Claramente especificada
- Status de atividade
- Ativa
- Stack de tecnologia
- react, typescript
- Domínio
- frontend
Direção de pesquisa
Start by reading ViewTimeTable.tsx and the existing pencil edit flow referenced in #291; check the open changes in #266 and #283 before editing. Trace how timetable blocks expose course and lab codes, including grouped timetables from #267. Done when clicking a class starts editing the matching course, scrolls to the selection box, and saving regenerates the timetable while preserving filters and returning to timetable 1.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
Is your feature request related to a problem? Please describe.
After generating, a student who wants to change a course has to scroll up and find it in Your Courses.
Describe the solution you'd like
- Clicking a class in a generated timetable starts the same edit as the pencil (#291) for that course.
- The page scrolls up to the selection box.
- Save changes then works as in #291: it regenerates, keeps the filters and goes back to timetable 1.
Additional context
Depends on #291.
A timetable block only knows its course code, so lab blocks have to be matched on the lab code (courseCodeLab) too.
Related: #193 asks for clicking the grid on the Slot View page to pick slots. This issue is about generated timetables on the main page, so the two don't overlap.
ViewTimeTable.tsx is changing in other work, so expect merge conflicts:
- #266 (open): splits
ViewTimeTable.tsxinto smaller modules. - #283 (open PR): changes timetable state in
ViewTimeTable.tsx. - #267 (merged): groups timetables with the same slot layout. A click should still open the right course.
Design
- Same edit mode as
Quick modify, pencil pressed(node2558:1338) - Link: https://www.figma.com/design/uCP8B7drfprKgsHYjB8sYs?node-id=2558-1338
Example
One way to build it (just an idea):
onClickon the class block callsstartEditwith the course's id- Then scroll to the selection box
onClick={() => {
startEdit(courseId);
document.getElementById('start')?.scrollIntoView({ behavior: 'smooth' });
}}
- 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
-
Edit a course from Your Courses with a pencil buttonTalvez já em andamento @Aiden-Trindade assumiu há 5 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á 5 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
-
Dificuldade 4/5 3-5 dias Facilidade para iniciantes 42/100
CodeChefVIT/ffcs#288 ·
Mantenedores costumam responder em até 1 dia
Todas as issues de CodeChefVIT/ffcs
Issues semelhantes
-
needs-area
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 68/100
Azure/typespec-azure#5936 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 Meio dia Facilidade para iniciantes 72/100
vercel-labs/scriptc#2910 ·
Mantenedores costumam responder em até 1 dia
-
automation missing-model model-sync provider:fireworks-ai
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
anomalyco/models.dev#12458 ·
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 62/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 72/100
Mantenedores costumam responder em até 1 dia