-
Notifications
You must be signed in to change notification settings - Fork 373
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 a new CLI option / spawn options to hide the welcome screen #6262
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice. Looks straightforward to me.
@@ -4,6 +4,10 @@ mod welcome_section; | |||
use example_section::{ExampleSection, MIN_COLUMN_WIDTH}; | |||
use welcome_section::welcome_section_ui; | |||
|
|||
use crate::app_state::WelcomeScreenState; | |||
|
|||
use super::no_data_ui; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For reason that will become apparent in my UI fixup pr, I think no_data_ui
is better moved insde welcome_screen
. I'll do that in that PR.
Would it make sense to add a GET arg for |
### What Follow-up of #6262 to improve the default UI when the welcome screen is disabled and no recordings are loaded. - Fixes #6263 <img width="1522" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/ce7355e3-2aad-4171-9187-cda18df8aeaa"> ### Checklist * [x] I have read and agree to [Contributor Guide](https://github.com/rerun-io/rerun/blob/main/CONTRIBUTING.md) and the [Code of Conduct](https://github.com/rerun-io/rerun/blob/main/CODE_OF_CONDUCT.md) * [x] I've included a screenshot or gif (if applicable) * [x] I have tested the web demo (if applicable): * Using examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6287?manifest_url=https://app.rerun.io/version/main/examples_manifest.json) * Using full set of examples from `nightly` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6287?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG * [x] If applicable, add a new check to the [release checklist](https://github.com/rerun-io/rerun/blob/main/tests/python/release_checklist)! - [PR Build Summary](https://build.rerun.io/pr/6287) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
What
We still need to also tackle #6263 since the place-holder UI isn't great.
Details
Handling this via blueprint is awkward since the welcome screen presentation happens without respect to any given blueprint, or in cases when all the recordings and their blueprints have been closed.
I decided adding this as a spawn option makes the most sense, since this is the context where someone knows how they are embedding Rerun in another application.
Checklist
main
build: rerun.io/viewernightly
build: rerun.io/viewerTo run all checks from
main
, comment on the PR with@rerun-bot full-check
.