Skip to content

fix: track offline status even when iframes are focused#43

Merged
kabaros merged 2 commits into
mainfrom
fix-offline-indicator
Apr 10, 2025
Merged

fix: track offline status even when iframes are focused#43
kabaros merged 2 commits into
mainfrom
fix-offline-indicator

Conversation

@KaiVandivier

@KaiVandivier KaiVandivier commented Apr 4, 2025

Copy link
Copy Markdown
Collaborator

DHIS2-19285

Uses a patch of app-runtime, since the implementation there (dhis2/app-runtime#1411) should be considered there before generalizing to all apps.

While an app is focused, visible, and inactive, this will result in some more pings being sent by the global shell than before. I don't think this is significant, because the number of pings is carefully managed to be low

offline-indicator.mov

@KaiVandivier KaiVandivier requested review from a team and amcgee April 4, 2025 10:20

@kabaros kabaros left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tested and works as described

@kabaros kabaros merged commit 34a3ebe into main Apr 10, 2025
dhis2-bot added a commit that referenced this pull request Apr 10, 2025
## [1.7.4](v1.7.3...v1.7.4) (2025-04-10)

### Bug Fixes

* track offline status even when iframes are focused ([#43](#43)) ([34a3ebe](34a3ebe))
@dhis2-bot

Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 1.7.4 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants