Handle saved timetable API failures properly
Mantenedores costumam responder em até 1 dia
Ninguém assumiu esta issue ainda.
Avaliação
- Dificuldade
- 3/5
- Tempo estimado
- 1-2 dias
- Facilidade para iniciantes
- 64/100
- Tipo de issue
- Bug
- Clareza
- Razoavelmente clara
- Status de atividade
- Ativa
- Stack de tecnologia
- react, typescript
- Domínio
- frontend
Direção de pesquisa
Start by reading src/app/saved/saved.tsx and src/app/saved/saved-mobile.tsx, then trace the fetch, rename, delete, share, and visibility actions. Check how each request handles failures and whether loading states prevent repeated requests. The work is done when failures show useful feedback, rejected visibility changes roll back, and offline or network errors are handled consistently on desktop and mobile.
Escrita pelo modelo de indexação a partir do texto da issue.
Descrição
A few saved-timetable actions don't handle errors consistently. For example, the mobile share-link handler has an empty catch, so failed requests look like nothing happened. Other actions update state optimistically without always rolling it back if the request fails.
What needs to be done
- Show useful feedback when fetching, renaming, deleting or sharing fails.
- Don't leave the UI showing a changed visibility state if the backend rejects the change.
- Add loading/disabled states to prevent repeated requests.
- Remove silent catches and keep error handling consistent between desktop and mobile.
- Check offline/network failure cases, not only successful requests.
Files: src/app/saved/saved.tsx, src/app/saved/saved-mobile.tsx.
- Linguagem predominante
- TypeScript
- Estrelas
- 7
- Forks
- 39
- Merge médio
- 4h 24min
- PRs com merge (30d)
- 53
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 livre de novo @Aiden-Trindade assumiu há 30 dias e não há nenhum pull request aberto. 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á 30 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
-
enhancement UX
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 67/100
online-go/online-go.com#4000 ·
Mantenedores costumam responder em até 1 dia
-
enhancement good first issue
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
Mantenedores costumam responder em até 1 dia
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 75/100
SnosMe/awakened-poe-trade#1976 ·
-
[BUG]Abertabug
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 63/100
jonp-h/TillerQuest#319 ·
-
Dificuldade 2/5 1-3 horas Facilidade para iniciantes 82/100
terrazzoapp/terrazzo#902 ·