-
Notifications
You must be signed in to change notification settings - Fork 373
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 UI for components when a single item is s…
…elected (#4416) ### What This PR: - adds a new UI verbosity level to distinguish between single- and multi-selection in the Selection Panel; - adjusts `DataUi` impls accordingly; - update the UI of for `AnnotationContext` to use collapsible headers instead of inner scroll areas (there can be *many* tables for one instance, so inner scroll bars are really annoying); - adds a script to log very long `AnnotationContext` for UI test purposes. * Is affected by (and doesn't fix): #4367 * Follow-up to #4370 * Fixes #4375 ### Screenshot New collapsible-header-based UI for annotation context: https://github.com/rerun-io/rerun/assets/49431240/435566a0-420b-48d7-8ea4-026d02d903a2 Also fix this spurious separator (and the related sizing issue) at the top of the hover box: <img width="662" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/077a3af4-2a5d-423a-8609-46bbc4f66221"> ### 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): * Full build: [app.rerun.io](https://app.rerun.io/pr/4416/index.html) * Partial build: [app.rerun.io](https://app.rerun.io/pr/4416/index.html?manifest_url=https://app.rerun.io/version/nightly/examples_manifest.json) - Useful for quick testing when changes do not affect examples in any way * [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/4416) - [Docs preview](https://rerun.io/preview/83f1bdcdcd055dd46658343a44f9ae7022c64f45/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/83f1bdcdcd055dd46658343a44f9ae7022c64f45/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]>
- Loading branch information
Showing
14 changed files
with
285 additions
and
172 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.