ApplETS / ApplETS/planifETS-frontend
[Bug]: Add more error handling in planner page
- Dominant language
- TypeScript
- Stars
- 1
- Forks
- 1
- Avg merge
- 1h 36m
- Merged PRs (30d)
- 1
Description
### What happened?
When database or backend is down, we only send a toast saying something like "Internal Server Error".
### What is the expected behaviour?
We also to add a clear message that we couldnt find any programs when user tries to search for a program, or a course.
So :
- Add toast in Programs selector
- Add toast in CoursesList
### Steps to reproduce
You can stop the backend (locally ofc)
### Screenshots and additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Research direction
Search the frontend for the Programs selector and CoursesList components, since the issue names those as the places needing changes. Run the app locally with the backend stopped and try searching for a program or course. Done means those flows show a clear toast that no programs or courses could be found instead of only a generic internal server error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- nextjs, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 64/100