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 "spawn" variants for Quick Start guides #3912

Merged
merged 5 commits into from
Oct 19, 2023
Merged

Conversation

abey79
Copy link
Member

@abey79 abey79 commented Oct 18, 2023

What

By default, the Quick Start guides show instructions that will send a recording to the current viewer. This is only possible if the viewer accepts TPC connection (which is not the case of Web-based viewers). This PR adds a varient for the guides that will instead spawn a local viewer whenever TCP connections aren't accepted.

In a connection-accepting viewer:

image

In a web viewer:

image

Checklist

  • I have read and agree to Contributor Guide and the Code of Conduct
  • I've included a screenshot or gif (if applicable)
  • I have tested demo.rerun.io (if applicable)
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG

@abey79 abey79 added ui concerns graphical user interface include in changelog labels Oct 18, 2023
@abey79 abey79 changed the title Added "spawn" variants for Quick Start guides Add "spawn" variants for Quick Start guides Oct 18, 2023
docs/code-examples/quick_start_spawn.rs Outdated Show resolved Hide resolved
docs/code-examples/quick_start_spawn.py Outdated Show resolved Hide resolved
crates/re_viewer/src/ui/welcome_screen/welcome_page.rs Outdated Show resolved Hide resolved
@abey79 abey79 merged commit f3a5ae2 into main Oct 19, 2023
32 checks passed
@abey79 abey79 deleted the antoine/web-quick-start branch October 19, 2023 06:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
include in changelog ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Quick start: add alternative content for non-serving viewers
2 participants