-
Notifications
You must be signed in to change notification settings - Fork 405
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use
ListItem
in Stream Tree UI (#3153)
### What Use `ListItem` in the Stream Tree UI. - Consistent UI in the stream tree (vs. stuff in the left panel) - Revamped look of the selection/hovered state in the timeline itself. - Cleaned up the code for the "Entity/instance hover cards". Now hovering instances in the blueprint tree _also_ displays storage use from #2997 - Improved `ListItem` - New attribute to control the width allocation mode (currently: max width or fit to label) - Improved click/hover sensing to cover the full span area (= hover highlight), not just the actually allocated space (icon + label). That improves the behaviour of the left panel trees too. Fixes #3045 Fixes #2738 (if we accept that dropdown button are "close enough" and will be improved with #2734 anyways) Fixes #2860 <img width="1817" alt="image" src="https://github.com/rerun-io/rerun/assets/49431240/5492ae03-0da0-4417-b7a1-2bedd4da4e8c"> ### 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/3153) (if applicable) - [PR Build Summary](https://build.rerun.io/pr/3153) - [Docs preview](https://rerun.io/preview/2c54fda5373adf90d1407dc161f65f2242dcd4a3/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/2c54fda5373adf90d1407dc161f65f2242dcd4a3/examples) <!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--><!--EXAMPLES-PREVIEW--> - [Recent benchmark results](https://ref.rerun.io/dev/bench/) - [Wasm size tracking](https://ref.rerun.io/dev/sizes/)
Showing
6 changed files
with
314 additions
and
143 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
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