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

Show a warning by default on mobile browsers #1670

Merged
merged 1 commit into from
Mar 22, 2023
Merged

Conversation

jleibs
Copy link
Member

@jleibs jleibs commented Mar 22, 2023

Very simple logic to detect mobile, show an alternative view, and a button to forge ahead anyways.

This also keeps mobile browsers from inadvertantly downloading the largish wasm binary.

image

Checklist

@jleibs jleibs marked this pull request as ready for review March 22, 2023 14:23
@jleibs jleibs added the 🕸️ web regarding running the viewer in a browser label Mar 22, 2023
@jleibs jleibs force-pushed the jleibs/detect_mobile branch from 035e452 to a44a26d Compare March 22, 2023 14:29
@jleibs jleibs force-pushed the jleibs/detect_mobile branch from a44a26d to e9bd154 Compare March 22, 2023 14:30
@jleibs jleibs merged commit 2e64016 into main Mar 22, 2023
@jleibs jleibs deleted the jleibs/detect_mobile branch March 22, 2023 16:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants