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

Enforce root layout container to be always present #5856

Draft
wants to merge 31 commits into
base: main
Choose a base branch
from

Conversation

Wumpf
Copy link
Member

@Wumpf Wumpf commented Apr 8, 2024

What

Previously, it was possible to end up without a root blueprint container which can cause weird ui behavior like not being able to add space views.
This is now solved by making up a root container upon reading the blueprint layout from the data store.

(Review with whitespace diff disabled!)

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 the web demo (if applicable):
  • The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG
  • If applicable, add a new check to the release checklist!

jleibs and others added 30 commits April 5, 2024 14:22
### What
Blueprint objects can now be used directly to spawn or connect to an
existing viewer, matching the behavior of save.

Required a bit of refactoring of spawn into a helper utility.

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5814)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5814?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/5814?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/5814)
- [Docs
preview](https://rerun.io/preview/8395f8354d2c443c14ba9a83c2fa5090e11bd247/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/8395f8354d2c443c14ba9a83c2fa5090e11bd247/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### What

That check dates back from when we used the screenshot as thumbnail, so
we needed it to have some sensible aspect ratio. That's history now, and
bypassing this check every time is most annoying.

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5806)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5806?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/5806?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/5806)
- [Docs
preview](https://rerun.io/preview/3382c7c3964426d42115a8b9e3476c313145a153/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/3382c7c3964426d42115a8b9e3476c313145a153/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### What

☝🏻 

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5813)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5813?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/5813?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/5813)
- [Docs
preview](https://rerun.io/preview/05296af7fcc64cce31a9a454a07ce0867c8e4915/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/05296af7fcc64cce31a9a454a07ce0867c8e4915/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### What

☝🏻 

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5810)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5810?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/5810?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/5810)
- [Docs
preview](https://rerun.io/preview/8b3283ee2b7863ee1d52674a292c188246d2c2ac/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/8b3283ee2b7863ee1d52674a292c188246d2c2ac/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Second attempt at #5778

### What

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5811)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5811?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/5811?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/5811)
- [Docs
preview](https://rerun.io/preview/b5c7f424890c4cb71b9198e46718839da11fdef0/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/b5c7f424890c4cb71b9198e46718839da11fdef0/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

---------

Co-authored-by: Jeremy Leibs <[email protected]>
### What

Documentation previews are now built from the latest production
deployment on every PR that includes changes to markdown files in `docs`
or `examples`.

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5805)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5805?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/5805?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/5805)
- [Docs
preview](https://rerun.io/preview/35c5f659949fd08ce283f077ea6de6217b38d432/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/35c5f659949fd08ce283f077ea6de6217b38d432/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### What

`<h1>` is for the page title, that is autogenerated by the front end.
The README should only contains `<h2>` and lower. This PR fixes all the
readme and adds a lint for that (available with `python scripts/lint.py
--extra`).

Would benefit from rerun-io/landing#521 being
solved.

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5817)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5817?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/5817?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/5817)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### What
Slightly unconventionally I decided to add the changelog under the `#
Unreleased` heading so we can merge this right away, without having to
wait for a release.


[Rendered](https://github.com/rerun-io/rerun/blob/emilk/0.15.0-changelog/CHANGELOG.md)

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5809)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5809?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/5809?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/5809)
- [Docs
preview](https://rerun.io/preview/8aed4a43cc19d8f59ea4cad14884c223f14a96fd/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/8aed4a43cc19d8f59ea4cad14884c223f14a96fd/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

---------

Co-authored-by: Clement Rey <[email protected]>
Co-authored-by: Antoine Beyeler <[email protected]>
Co-authored-by: Antoine Beyeler <[email protected]>
Co-authored-by: Jeremy Leibs <[email protected]>
### What
Needed for the filter to work properly.

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5818)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5818?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/5818?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/5818)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### Next steps
- Test the release
- If this is an 'alpha' release, you can just merge the pull request.
- Otherwise:
  - For any added commits, run the release workflow in 'rc' mode again
  - After testing, run the release workflow in 'release' mode
- Once the final release workflow finishes it will create a GitHub
release for you. Then:
    - [ ] Sanity check the build artifacts:
      - [ ] pip install: does it install and run?
      - [ ] cargo install of cli tool: does it install and run?
      - [ ] C++ SDK zip: does it contain rerun_c for all platforms?
- [ ] Populate the release with the changelog and a nice header
video/picture, check , then click .
- [ ] Make sure the [conda feedstock
PR](https://github.com/conda-forge/rerun-sdk-feedstock/pulls) gets
merged. This will be created by the once the GitHub release is created.
- [ ] Update the [google colab
notebooks](https://drive.google.com/drive/folders/0AC0q24MFKh3fUk9PVA)
to install this version and re-execute the notebook.

- [ ] Tests
  - [ ] Windows
  - [ ] Linux
  - [ ] MacOS
### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5829)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5829?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/5829?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/5829)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
A pass on the "What is Rerun?" page to both simplify it a bit, explain a
bit more and make it blueprint aware. I think it might be a good idea to
actually explain a little about how it works under the hood as well but
will leave that for a separate PR and do it if I have time.
<img width="403" alt="Screenshot 2024-04-07 at 10 42 08"
src="https://github.com/rerun-io/rerun/assets/2624717/69560b0e-1861-4ba0-b4c6-d9d308e1c277">


### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5828)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5828?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/5828?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/5828)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### What
We were duplicating descriptions for no gain. Indeed, we were showing
them double on https://www.rerun.io/examples/:

<img width="636" alt="Screenshot 2024-04-07 at 18 31 25"
src="https://github.com/rerun-io/rerun/assets/1148717/c281dfc1-337c-491d-942f-8323d0c6b09b">

This PR simplifies things a lot, and unifies the look.

The duplicated description is fixed in
rerun-io/landing@af157fa

The result looks like this:
<img width="811" alt="Screenshot 2024-04-07 at 18 37 55"
src="https://github.com/rerun-io/rerun/assets/1148717/3013ca71-c68e-465a-91ca-711c2c129abe">

An added bonus is that the description now can have hyperlinks in it.

I also updated the template README.md:s so they can be used as
templates.

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5832)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5832?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/5832?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/5832)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
Updated READMEs for the examples: 
- Signed Distance Fields
- ROS Nodes
- Segment Anything Model
- RGBD
- Structure for motion
- RRT star
- Eigen OpenCV (C++)
- VRS (C++)
- Minimal Example
- Clock
- Multithreading
- Multiprocessing
- Plots

### What

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5784)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5784?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/5784?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/5784)
- [Docs
preview](https://rerun.io/preview/27ab45ba41c1efa935b04e6f9d4fcc3babe03e1d/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/27ab45ba41c1efa935b04e6f9d4fcc3babe03e1d/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

---------

Co-authored-by: Emil Ernerfeldt <[email protected]>
…nd (#5780)

### What
If the Rerun Viewer does _not_ have focus and the user sends it a new
recording or blueprint, the viewer will now gently request attention
_once_. On macOS it looks like this (notice the Rerun icon in the bottom
left):


https://github.com/rerun-io/rerun/assets/1148717/b7f8696c-c674-4db5-ad5d-08c1cc837de0

This does NOT happen if the Rerun Viewer window already has focus (is on
top).

On native this uses:
* https://docs.rs/winit/latest/winit/window/enum.UserAttentionType.html

On web this does nothing.

### Testing
* [x] Linux
* [x] macOS
* [x] Windows

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5780)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5780?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/5780?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/5780)
- [Docs
preview](https://rerun.io/preview/31cdad871a470b3dab022f8b774f91cc73745457/docs)
<!--DOCS-PREVIEW-->
- [Examples
preview](https://rerun.io/preview/31cdad871a470b3dab022f8b774f91cc73745457/examples)
<!--EXAMPLES-PREVIEW-->
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### What
#### Before
<img width="310" alt="image"
src="https://github.com/rerun-io/rerun/assets/1148717/d4cae3cd-171a-4eaa-967e-d35a228c87eb">

<img width="239" alt="Screenshot 2024-04-07 at 16 58 57"
src="https://github.com/rerun-io/rerun/assets/1148717/228f25a6-22af-48f3-aea1-12e451e82b41">


#### After

<img width="338" alt="Screenshot 2024-04-07 at 17 01 59"
src="https://github.com/rerun-io/rerun/assets/1148717/6ca042a4-3f71-4d46-8555-dd22c30d6cfb">


<img width="339" alt="Screenshot 2024-04-07 at 17 02 05"
src="https://github.com/rerun-io/rerun/assets/1148717/6a6bc327-6445-4820-a180-f8860da93671">


### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5831)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5831?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/5831?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/5831)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5833)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5833?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/5833?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/5833)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

---------

Co-authored-by: Emil Ernerfeldt <[email protected]>
Co-authored-by: Clement Rey <[email protected]>
### What

- add a current/default/heuristic bp section
- move blueprint section higher up
- fix order param

New order:
<img width="185" alt="image"
src="https://github.com/rerun-io/rerun/assets/49431240/01a85c87-63be-4127-9e2d-b123f483f61c">


### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5834)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5834?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/5834?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/5834)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

---------

Co-authored-by: Emil Ernerfeldt <[email protected]>
### What
Write a migration guide for 0.15 covering the removal of instance keys
from our archetypes.

### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5830)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5830?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/5830?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/5830)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)

---------

Co-authored-by: Jeremy Leibs <[email protected]>
### What

- Closes #5835

<img width="291" alt="image"
src="https://github.com/rerun-io/rerun/assets/49431240/6a7a204a-53d8-48ec-8e31-3f08619380ea">


### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5840)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5840?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/5840?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/5840)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
### Next steps
- Test the release
- If this is an 'alpha' release, you can just merge the pull request.
- Otherwise:
  - For any added commits, run the release workflow in 'rc' mode again
  - After testing, run the release workflow in 'release' mode
- Once the final release workflow finishes it will create a GitHub
release for you. Then:
    - [ ] Sanity check the build artifacts:
      - [ ] pip install: does it install and run?
      - [ ] cargo install of cli tool: does it install and run?
      - [ ] C++ SDK zip: does it contain rerun_c for all platforms?
- [ ] Populate the release with the changelog and a nice header
video/picture, check , then click .
- [ ] Make sure the [conda feedstock
PR](https://github.com/conda-forge/rerun-sdk-feedstock/pulls) gets
merged. This will be created by the once the GitHub release is created.
- [ ] Update the [google colab
notebooks](https://drive.google.com/drive/folders/0AC0q24MFKh3fUk9PVA)
to install this version and re-execute the notebook.

- [ ] Tests
  - [ ] Windows
  - [ ] Linux
  - [ ] MacOS
### What

Technically two separate fixes:
* visualizability for 1 x n and n x 1 was blocked
* real single dimension tensors are now supported


Test code:

```py
import rerun as rr
import numpy as np

rr.init("1dtensor", spawn=True)
x = np.linspace(0.0, 100.0, 100)
rr.log("n", rr.Tensor(x))
rr.log("n_x_1", rr.Tensor(np.reshape(x, (100, 1))))
rr.log("1_x_n", rr.Tensor(np.reshape(x, (1, 100))))
```

Before:
<img width="1683" alt="Screenshot 2024-04-08 at 10 00 40"
src="https://github.com/rerun-io/rerun/assets/1220815/2f2850dd-2d17-40af-ab3b-d5b86fa20f04">
After first commit:
<img width="1698" alt="Screenshot 2024-04-08 at 10 02 53"
src="https://github.com/rerun-io/rerun/assets/1220815/ae4108f2-199e-4c92-9575-13d232146efd">

After second commit:


https://github.com/rerun-io/rerun/assets/1220815/18b3fc7a-c0d6-4fff-8d3d-ab7d26d5d2fe


### 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:
[rerun.io/viewer](https://rerun.io/viewer/pr/5837)
* Using examples from latest `main` build:
[rerun.io/viewer](https://rerun.io/viewer/pr/5837?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/5837?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/5837)
- [Recent benchmark results](https://build.rerun.io/graphs/crates.html)
- [Wasm size tracking](https://build.rerun.io/graphs/sizes.html)
@Wumpf Wumpf added 🪳 bug Something isn't working 🟦 blueprint The data that defines our UI exclude from changelog PRs with this won't show up in CHANGELOG.md labels Apr 8, 2024
.into_iter()
.filter_map(|id| ContainerBlueprint::try_from_db(blueprint_db, query, id))
.map(|c| (c.id, c))
.collect();

let root_container = root_container.map(|id| id.0.into());
let root_container = root_container.map_or_else(
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 dangerous part, everything else is just trivial simplification

@Wumpf Wumpf marked this pull request as draft April 8, 2024 16:10
@Wumpf
Copy link
Member Author

Wumpf commented Apr 8, 2024

looks like some examples stop working with this!

@Wumpf
Copy link
Member Author

Wumpf commented Apr 9, 2024

Issue is getting fixed elsewhere in a more simple fashion now!
We still want this changeset, but we'll do this in combination with removing the auto_layout flag since this causes other issues right now - the blueprint tree becomes non-empty causing auto layout to no longer do an initial population.

Base automatically changed from release-0.15.0 to main April 9, 2024 16:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🟦 blueprint The data that defines our UI 🪳 bug Something isn't working exclude from changelog PRs with this won't show up in CHANGELOG.md
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

8 participants