Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve the Selection Panel with better title, context, and Space Vie…
…w key properties (#4324) ### What ~~Do not merge until after 0.11.~~ This PR reworks the Selection Panel to improve the title ("What is selected?"), the context ("Where is the selected thing to be found?"), and the key properties of Space Views (name, origin, type). This is a first step towards the WIP designs by @martenbjork related to blueprints. Changes: - Full-width, blue title bar consistent with other panel's style and with the idea that this thing is selected. - "Context" section listing the place(s) this thing is to be found. - This is much more consistant across `Item` kinds. Previously, stuff was displayed all over the place. - From StreamEntity, it's now it's possible to navigate to any related SpaceViewEntity _or_ Space Views. Previously, a button confusingly named after the space view would actually lead to the SpaceViewEntity. - For Space Views, the Name/Origin/Type are now displayed on top (for all types of space views). - This greatly increase the discoverability of the "Name" property. Previously it was hiding in plain sight in what appeared to be contextual information. **Note**: the end-game for context is bread-crumbs like these, but that's for another day as we're don't yet have an easy way to walk _up_ the hierarchy: <img width="628" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/8f241bfe-c348-41a6-aa13-dde76475b6c2"> <br/> <br/> * Closes #4159 * Closes #4288 * Closes #4160 ### Screenshots Space View: <img width="380" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/cd6c3e2f-4a34-44b2-b0ff-604274459298"> Group: <img width="429" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/362ae16b-c821-420d-a1c3-2da514c14ba4"> Entity in Space View: <img width="380" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/ab609404-f41c-4ffe-8035-7f69ea697c44"> Entity in Streams: <img width="424" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/97995350-ab55-471d-a6f1-34ab208a6a5b"> Component: <img width="428" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/0ac3f439-fd32-4c90-99e9-409aea9676c9"> ### 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 [demo.rerun.io](https://demo.rerun.io/pr/4324) (if applicable) * [x] The PR title and labels are set such as to maximize their usefulness for the next release's CHANGELOG - [PR Build Summary](https://build.rerun.io/pr/4324) - [Docs preview](https://rerun.io/preview/ed064713de2471df1cac9eeeea2173a4f4fd7c7e/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/ed064713de2471df1cac9eeeea2173a4f4fd7c7e/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