-
Notifications
You must be signed in to change notification settings - Fork 366
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improved tracking of which space views were generated by a heuristic (#…
…5419) ### What * Fixes #5404 We now track haches of all "recommended" space views that we spawned so far. Seems to work much more reliably so far than anything else we had so far. Natrually, I kept the "is this is a redundant space view" logic since it's still useful to have around both to figure duplicates within a set of recommendation and to figure out if user created space views cover what the heuristic suggests. ### 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/5419/index.html) * Using examples from latest `main` build: [app.rerun.io](https://app.rerun.io/pr/5419/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/5419/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 * [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/5419) - [Docs preview](https://rerun.io/preview/bd21f004abd144d1e57e7f12a7dd9f0bbfc57bf5/docs) <!--DOCS-PREVIEW--> - [Examples preview](https://rerun.io/preview/bd21f004abd144d1e57e7f12a7dd9f0bbfc57bf5/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
Showing
54 changed files
with
1,059 additions
and
551 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
22 changes: 0 additions & 22 deletions
22
crates/re_types/definitions/rerun/blueprint/components/entities_determined_by_user.fbs
This file was deleted.
Oops, something went wrong.
23 changes: 23 additions & 0 deletions
23
crates/re_types/definitions/rerun/blueprint/components/viewer_recommendation_hash.fbs
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
include "arrow/attributes.fbs"; | ||
include "python/attributes.fbs"; | ||
include "rust/attributes.fbs"; | ||
|
||
include "rerun/datatypes.fbs"; | ||
include "rerun/attributes.fbs"; | ||
|
||
namespace rerun.blueprint.components; | ||
|
||
// --- | ||
|
||
/// Hash of a viewer recommendation. | ||
/// | ||
/// The formation of this hash is considered an internal implementation detail of the viewer. | ||
table ViewerRecommendationHash ( | ||
"attr.arrow.transparent", | ||
"attr.rerun.scope": "blueprint", | ||
"attr.python.aliases": "str", | ||
"attr.rust.derive": "PartialEq, Eq, PartialOrd, Ord", | ||
"attr.rust.repr": "transparent" | ||
) { | ||
value: rerun.datatypes.UInt64 (order: 100); | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
include "arrow/attributes.fbs"; | ||
include "python/attributes.fbs"; | ||
include "fbs/attributes.fbs"; | ||
include "rust/attributes.fbs"; | ||
include "docs/attributes.fbs"; | ||
|
||
namespace rerun.datatypes; | ||
|
||
/// A 64bit unsigned integer. | ||
struct UInt64 ( | ||
"attr.arrow.transparent", | ||
"attr.python.aliases": "int", | ||
"attr.python.array_aliases": "int, npt.NDArray[np.uint64]", | ||
"attr.rust.derive": "Copy, PartialEq, Eq, PartialOrd, Ord", | ||
"attr.rust.override_crate": "re_types_core", | ||
"attr.rust.tuple_struct", | ||
"attr.docs.unreleased" | ||
) { | ||
value: uint64 (order: 100); | ||
} |
53 changes: 6 additions & 47 deletions
53
crates/re_types/src/blueprint/archetypes/space_view_contents.rs
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.