Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Single-selection drag-and-drop demos (#4879)
### What This PR implements a couple of single-selection drag-and-drop demo with `ListItem`s in `re_ui_example`. One is flat, the other is hierarchical. Most of it happens in `re_ui_example`, with some minimal support for draggability in `ListItem`. The goal is to identify proper patterns (and egui TODOs) for drag-and-drop support in the blueprint tree UI. TODO: - [x] iron out some bug where items disappear - [x] highlight destination container - [x] ascii art documentation for the drag areas - [x] apply any change from: - emilk/egui#3859 - emilk/egui#3860 https://github.com/rerun-io/rerun/assets/49431240/54588326-7e69-4d38-b16d-da17fc88b6b7 Contributes towards: - #2652 ### 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/4879/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/4879/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/4879/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 - [PR Build Summary](https://build.rerun.io/pr/4879) - [Docs preview](https://rerun.io/preview/94b9a81e7d5b2934b44919453ce2c92257b46a73/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/94b9a81e7d5b2934b44919453ce2c92257b46a73/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 <emil.ernerfeldt@gmail.com>
- Loading branch information