Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Generate archetype field info (opt-in for a single type so far) and u…
…se it in blueprint property ui (#6413) ### What * Part of #6237 * I think the "only" part left now is to use this for all blueprint properties * the tricky bit here is that this is dependent on #4194 This creates an tight nit & generic coupling from our type definitions to the ui! This is to be used in all blueprint properties, so far used on `PlotLegend` only. <img width="320" alt="image" src="https://github.com/rerun-io/rerun/assets/1220815/405b6ecc-2db1-4ad5-9b3c-aad96c8ad074"> Drawbacks: * lower snake case because that's what our fields look like - we could change that easily but there's some value to that because that's what all SDKs use as field names. Very much open for discussion! * some parts of the doc strings might be weird outside of the context of the ui, but I can live with that Future stuff: * we could very very easily now also add reference doc links in there via some linking mechanism (viewer could choose depending on preference or source sdk) ### 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 examples from latest `main` build: [rerun.io/viewer](https://rerun.io/viewer/pr/6413?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/6413?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/6413) - [Recent benchmark results](https://build.rerun.io/graphs/crates.html) - [Wasm size tracking](https://build.rerun.io/graphs/sizes.html) To run all checks from `main`, comment on the PR with `@rerun-bot full-check`.
- Loading branch information