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

Better crash reports on Web + WebGPU support detection #1975

Merged
merged 6 commits into from
May 2, 2023

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Apr 26, 2023

Using egui's new ability to pass through errors on panic and otherwise for better crashes on the web:

Screen.Recording.2023-04-26.at.14.28.30.mov

Additionally, added detection for running webgpu version on a non-webgpu browser:
image

What

Checklist

PR Build Summary: https://build.rerun.io/pr/1975

@Wumpf
Copy link
Member Author

Wumpf commented Apr 26, 2023

image

;)

@Wumpf Wumpf added the 🕸️ web regarding running the viewer in a browser label Apr 26, 2023
emilk
emilk previously requested changes Apr 26, 2023
Copy link
Member

@emilk emilk left a comment

Choose a reason for hiding this comment

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

Looks good, except that you try to call into the wasm if the wasm fails to load.

Also: please make sure examples/python/notebook/cube.ipynb still work before merging!

web_viewer/index.html Outdated Show resolved Hide resolved
web_viewer/index_bundled.html Outdated Show resolved Hide resolved
@Wumpf
Copy link
Member Author

Wumpf commented May 2, 2023

still need to test the notebook, waiting for webbuilder to finish because it's easiest using https://app.rerun.io/commit/5e26952

@Wumpf
Copy link
Member Author

Wumpf commented May 2, 2023

confirmed working!

@Wumpf Wumpf merged commit cc769d5 into main May 2, 2023
@Wumpf Wumpf deleted the andreas/better-web-crash branch May 2, 2023 08:26
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