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

Serve a different index.html and url for the hosted app.rerun.io #1665

Merged
merged 4 commits into from
Mar 22, 2023

Conversation

jleibs
Copy link
Member

@jleibs jleibs commented Mar 21, 2023

We want the default behavior of app.reun.io to load an rrd (also hosted at app.rerun.io).

This introduces a new index.html specifically for app.rerun.io, and does a bit of different url-handling in this case. We want to use the same basic path to get an rrd file from the matching commit or version.

For the bundled app we now serve index_bundle.html, which still defaults to the websocket connection as before.

Builds on top of: https://github.com/rerun-io/rerun/pull/1666/files

See the results here:

Checklist

@jleibs jleibs added the 🕸️ web regarding running the viewer in a browser label Mar 21, 2023
@jleibs jleibs marked this pull request as ready for review March 21, 2023 22:44
@@ -0,0 +1,163 @@
<!DOCTYPE html>
<!-- The version of index.html bundled with the Rerun SDK. -->
Copy link
Member Author

Choose a reason for hiding this comment

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

This is the only change relative to the original index.html

@jleibs jleibs changed the base branch from main to jleibs/upload_rrd March 22, 2023 00:07
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!

@emilk emilk merged commit bfda281 into jleibs/upload_rrd Mar 22, 2023
@emilk emilk deleted the jleibs/app_rrd_path branch March 22, 2023 07:14
jleibs added a commit that referenced this pull request Mar 22, 2023
… file to gcloud. (#1665) (#1666)

* Upload the colmap rrd file to gcloud.
* Serve a different index.html and url for the hosted app.rerun.io
* Add index_bundled.html
* consistent naming for colmap_fiat.rrd
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