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

add "realtime is disabled" dialog #3405

Open
wants to merge 2 commits into
base: main
Choose a base branch
from
Open

Conversation

adbenitez
Copy link
Member

@adbenitez adbenitez commented Oct 31, 2024

also add window.webxdc.isRealtimeSupported() so apps that don't require the feature to work can avoid the dialog pop up and just keep working without real-time, to mitigate annoyances when apps work without realtime and use it only to add extra features opportunistically

window.webxdc.isRealtimeSupported() makes sense in general as some webxdc implementations besides allowing to disable it, might just not support realtime channels feature, as it is more work to implement than the simple basic API, giving the client a way to communicate that the feature is missing without silently doing nothing, so apps can realize the lack of support and adapt or show a warning if they can't work without realtime

I guess this requires the Webxdc spec to be updated as well in some our repos

@adbenitez adbenitez requested review from r10s and Hocuri October 31, 2024 22:48
@adbenitez adbenitez added the enhancement actually in development, user visible enhancement label Oct 31, 2024
Copy link

To test the changes in this pull request, install this apk:
📦 app-preview.apk

Copy link

github-actions bot commented Nov 1, 2024

To test the changes in this pull request, install this apk:
📦 app-preview.apk

@adbenitez adbenitez marked this pull request as ready for review November 12, 2024 02:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement actually in development, user visible enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants