-
Notifications
You must be signed in to change notification settings - Fork 732
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
enables sync button in sync modal #10765
enables sync button in sync modal #10765
Conversation
Tagging @jtamiace @tomiwaoLE to advise on |
Build Artifacts
|
@akolson The client browser's connectivity isn't the same as Kolibri's connectivity. You of course could run Kolibri locally, be connected to Kolibri, but have no internet connection. That said, the string could/should be reworded along those lines for clarification. |
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 @akolson, my understanding is that the message You must be connected to the internet.
should be displayed not when the server is in a disconnected state but when the server is running while the person's device is with no internet access and therefore cannot sync with KDP.
See the following video:
2023-06-01_17-46-45.mp4
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.
Code LGTM!
Changes have been made following @pcenov 's feedback: Screen.Recording.2023-06-02.at.00.51.10.movAs a follow up to fully resolve this issue, there is need to check for;
|
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.
Excellent @akolson, this is implemented as specified now.
Summary
This pr enables the previously disabled
Sync
button in the facility syncing modal. It also corrects the display of theYou must be connected to the internet
message to only show when an internet connection is not available. The sync button is additionally disabled when there is no internet connection available. Finally, the tooltip has been removed.Before:
After:
References
Fixes #10758
Reviewer guidance
Device > Facilities
Sync all
You must be connected to the internet
message is displayed when you set your connection to offlineTesting checklist
PR process
Reviewer checklist
yarn
andpip
)