Skip to content

Commit

Permalink
Update welcome screen panel illustrations (#5394)
Browse files Browse the repository at this point in the history
### What

- Closes #4961

### 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 newly built examples:
[app.rerun.io](https://app.rerun.io/pr/5394/index.html)
* Using examples from latest `main` build:
[app.rerun.io](https://app.rerun.io/pr/5394/index.html?manifest_url=https://app.rerun.io/version/main/examples_manifest.json)
* Using full set of examples from `nightly` build:
[app.rerun.io](https://app.rerun.io/pr/5394/index.html?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/5394)
- [Docs
preview](https://rerun.io/preview/3231306a2d157645aad657bd8cbeeb1141682a69/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/3231306a2d157645aad657bd8cbeeb1141682a69/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
  • Loading branch information
jprochazk authored Mar 5, 2024
1 parent 9d0d2a3 commit 9b149ef
Show file tree
Hide file tree
Showing 9 changed files with 4 additions and 9 deletions.
Binary file added crates/re_ui/data/images/configure-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added crates/re_ui/data/images/live-data-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed crates/re_ui/data/images/onboarding-configure.png
Binary file not shown.
Binary file removed crates/re_ui/data/images/onboarding-examples.jpg
Binary file not shown.
Binary file removed crates/re_ui/data/images/onboarding-live-data.png
Binary file not shown.
Binary file not shown.
Binary file added crates/re_ui/data/images/recorded-data-card.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
11 changes: 3 additions & 8 deletions crates/re_ui/src/icons.rs
Original file line number Diff line number Diff line change
Expand Up @@ -147,20 +147,15 @@ pub const STORE: Icon = Icon::new("store", include_bytes!("../data/icons/store.p

pub const WELCOME_SCREEN_CONFIGURE: Icon = Icon::new(
"welcome_screen_configure",
include_bytes!("../data/images/onboarding-configure.png"),
include_bytes!("../data/images/configure-card.png"),
);

pub const WELCOME_SCREEN_LIVE_DATA: Icon = Icon::new(
"welcome_screen_live_data",
include_bytes!("../data/images/onboarding-live-data.png"),
include_bytes!("../data/images/live-data-card.png"),
);

pub const WELCOME_SCREEN_RECORDED_DATA: Icon = Icon::new(
"welcome_screen_recorded_data",
include_bytes!("../data/images/onboarding-recorded-data.png"),
);

pub const WELCOME_SCREEN_EXAMPLES: Icon = Icon::new(
"welcome_screen_examples",
include_bytes!("../data/images/onboarding-examples.jpg"),
include_bytes!("../data/images/recorded-data-card.png"),
);
2 changes: 1 addition & 1 deletion crates/re_viewer/src/ui/welcome_screen/welcome_section.rs
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ fn onboarding_content_ui(ui: &mut Ui, command_sender: &CommandSender, accepts_co

let panel_count = panels.len();

const MAX_COLUMN_WIDTH: f32 = 255.0;
const MAX_COLUMN_WIDTH: f32 = 280.0;
const MIN_COLUMN_WIDTH: f32 = 164.0;

let grid_spacing = egui::vec2(12.0, 16.0);
Expand Down

0 comments on commit 9b149ef

Please sign in to comment.