-
Notifications
You must be signed in to change notification settings - Fork 4
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
[WIP] - Displays an error message when Planex/ADE is down #52
base: master
Are you sure you want to change the base?
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.
Looks like a good start !
"docjyj": "Étudiant en 2MIC FAS (2020). Il a ajouté quelques nouvelles fonctionnalités et corrigé des bugs.", | ||
"yohan": "Étudiant en 4IR (2020). Il a aidé à corriger des bug et a proposé quelques idées.", | ||
"docjyj": "Étudiant en 2MIC FAS (2020). Il a ajouté quelques nouvelles fonctionnalités et corrigé des bugs.", | ||
"yohan": "Étudiant en 4IR (2020). Il a aidé à corriger des bug et a proposé quelques idées.", |
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.
This is outdated, consider merging master
into this branch
@@ -129,7 +130,13 @@ function PlanexWebview(props: Props) { | |||
showControls={props.currentGroup !== undefined} | |||
incognito={true} | |||
/> | |||
{!props.currentGroup ? ( | |||
{props.isPlanexDown ? ( | |||
<ErrorView |
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.
Current behavior is to wait until webview has loaded (showing loading animation) before showing unavailable error message. See getRenderLoading
in src/components/Screens/PlanexWebview.tsx
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.
Isn't the loading animation already showed until the error/calendar is shown ?
Are you talking about this ?
showLoading?: boolean; |
I can't seem to locate where the changes need to be made, but when pressing the reload button (top-right), the api end-point is not checked again (in case planex has gone back up since first check). ie the reload button doesn't reload |
When trying to load Planex Screen, without any internet I am met with a infinite loading indicator. Expected behavior would be for a network error message to be shown.
|
Je sais pas si c'est ce qui était attendu pour #25
TODOS: