New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feature/31 create graphical error notifications #118
feature/31 create graphical error notifications #118
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good attempt, we could improve the error reporting technique though
@maxwowo Ahh I see, that makes sense. I'm probably being a bit pedantic, unlikely that anyone will notice. But if it's an easy fix, might as well. |
…ears just before the notification dissapears and changed snackbar design for higher contrast with background
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good
client/src/App.tsx
Outdated
const newSelectedCourses = [...selectedCourses, selectedCourseClasses]; | ||
populateTimetable(selectedCourseClasses); // TODO: temp until auto-timetabling is done | ||
setSelectedCourses(newSelectedCourses); | ||
} catch (e) { | ||
console.log('here'); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Probably don't need this here
…e/31-create-graphical-error-notifications
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some minor issues here and there :P
client/src/api/getCourseInfo.ts
Outdated
if (data.status === 400) { | ||
throw new NetworkError('Internal server error'); | ||
} | ||
console.log(); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't need this
…e/31-create-graphical-error-notifications
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No description provided.