Skip to content
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

fix: local offline handling [DHIS2-12937] [v40] #2264

Merged
merged 4 commits into from
Mar 22, 2023

Conversation

jenniferarnesen
Copy link
Collaborator

@jenniferarnesen jenniferarnesen commented Mar 22, 2023

Fixes the error in DHIS2-12937

Description
Switches from useOnlineStatus to useDhis2ConnectionStatus to detect
connection to the DHIS2 server instead of the network status

Backport of #2230

* fix: migrate to useDhis2ConnectionStatus

* chore: update @dhis2/analytics for offline support

---------

Co-authored-by: Edoardo Sabadelli <[email protected]>
@dhis2-bot
Copy link
Contributor

dhis2-bot commented Mar 22, 2023

🚀 Deployed on https://pr-2264--dhis2-dashboard.netlify.app

@dhis2-bot dhis2-bot temporarily deployed to netlify March 22, 2023 08:01 Inactive
Updated:
* @dhis2/d2-ui-core
* @dhis2/d2-ui-interpretations
* @dhis2/d2-ui-mentions-wrapper
* @dhis2/d2-ui-rich-text
Removed:
* @dhis2/data-visualizer-plugin
@dhis2-bot dhis2-bot temporarily deployed to netlify March 22, 2023 08:15 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 22, 2023 09:49 Inactive
@dhis2-bot dhis2-bot temporarily deployed to netlify March 22, 2023 09:59 Inactive
@cypress
Copy link

cypress bot commented Mar 22, 2023

Passing run #3189 ↗︎

0 51 0 0 Flakiness 0

Details:

Merge branch 'v40' into fix/local-offline-handling-v40
Project: dashboards-app Commit: 3262f9a6cb
Status: Passed Duration: 05:05 💡
Started: Mar 22, 2023 9:59 AM Ended: Mar 22, 2023 10:04 AM

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

@jenniferarnesen jenniferarnesen merged commit 9cf62d6 into v40 Mar 22, 2023
@jenniferarnesen jenniferarnesen deleted the fix/local-offline-handling-v40 branch March 22, 2023 10:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants