-
Notifications
You must be signed in to change notification settings - Fork 717
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
Better setup wizard errors #11655
Better setup wizard errors #11655
Conversation
Always show retry and restart buttons when there is an error.
Build Artifacts
|
@@ -166,7 +163,7 @@ | |||
return this.wizardContext('onMyOwnOrGroup') == UsePresets.ON_MY_OWN; | |||
}, | |||
}, | |||
mounted() { | |||
created() { |
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.
Curious why the change from mounted -> created?
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.
"Do you need to access the DOM? If no, don't use mounted." - past Richard (to me)
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.
Well from the look of it, we are not manipulating the DOM(at least not directly) so it justifies the change.
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.
Changes look correct to me. With additional manual QA, we should be good to go! Thanks @rtibbles!
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.
Overall this LGTM!
<KButtonGroup> | ||
<slot name="buttons"> |
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.
Nice <3
@radinamatic - could we get some manual QA here? One use case to test Radina was the issue you reported some time ago with running into issues with Android "On My Own" setup with earlier android devices. Testing on this would be helpful because it would be two for the price of one - seeing if the updates here are working, and it would give us more useful error messages for that problem to see if we can continue to make some progress on it, since I've been a bit blocked in being able to figure out what's wrong. Thank you! |
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.
Requesting changes just to block for merge until manual QA happens. Noting that I have not done code review here and have deferred to @akolson and @nucleogenesis on this one, but I would be happy to review the code if needed.
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.
Hi @rtibbles, unfortunately now the error page gets briefly displayed in all setup flows just after having successfully completed the setup process. It won't let me click on Help us by reporting this error
. Here's an example for On my own
:
2024-01-04_16-24-21.mp4
The same is also happening in the Android app:
2024-01-04_16-01-02.mp4
Otherwise I can confirm that in a scenario where there is an actual error it's now being handled gracefully:
2024-01-04_16-29-41.mp4
Logs:
UbuntuLogs.zip
Thanks @pcenov a simple oversight on my part to not conditionalize the display of the error - should be fixed now. |
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.
Implemented as specified above, no regression issues observed - good to go!
dismissing as only blocker was manual QA approval
dfe1a9d
into
learningequality:release-v0.16.x
Summary
References
Fixes #11574
Reviewer guidance
I tested this by adding
raise Exception
here: https://github.com/learningequality/kolibri/blob/release-v0.16.x/kolibri/core/device/api.py#L101Testing checklist
PR process
Reviewer checklist
yarn
andpip
)