Skip to content

Commit

Permalink
Filter entities in the UI (part 6): Refactor re_blueprint_tree and …
Browse files Browse the repository at this point in the history
…add more tests (#8795)

Co-authored-by: Emil Ernerfeldt <[email protected]>
  • Loading branch information
abey79 and emilk authored Jan 28, 2025
1 parent 6ab4951 commit bf4c684
Show file tree
Hide file tree
Showing 68 changed files with 2,884 additions and 505 deletions.
57 changes: 57 additions & 0 deletions Cargo.lock
Original file line number Diff line number Diff line change
Expand Up @@ -3635,6 +3635,9 @@ dependencies = [
"console",
"lazy_static",
"linked-hash-map",
"pest",
"pest_derive",
"serde",
"similar",
]

Expand Down Expand Up @@ -4940,6 +4943,51 @@ version = "2.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e"

[[package]]
name = "pest"
version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8b7cafe60d6cf8e62e1b9b2ea516a089c008945bb5a275416789e7db0bc199dc"
dependencies = [
"memchr",
"thiserror 2.0.7",
"ucd-trie",
]

[[package]]
name = "pest_derive"
version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "816518421cfc6887a0d62bf441b6ffb4536fcc926395a69e1a85852d4363f57e"
dependencies = [
"pest",
"pest_generator",
]

[[package]]
name = "pest_generator"
version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7d1396fd3a870fc7838768d171b4616d5c91f6cc25e377b673d714567d99377b"
dependencies = [
"pest",
"pest_meta",
"proc-macro2",
"quote",
"syn 2.0.87",
]

[[package]]
name = "pest_meta"
version = "2.7.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e1e58089ea25d717bfd31fb534e4f3afcc2cc569c70de3e239778991ea3b7dea"
dependencies = [
"once_cell",
"pest",
"sha2",
]

[[package]]
name = "petgraph"
version = "0.6.5"
Expand Down Expand Up @@ -5638,6 +5686,8 @@ version = "0.22.0-alpha.1+dev"
dependencies = [
"egui",
"egui_kittest",
"egui_tiles",
"insta",
"itertools 0.13.0",
"re_chunk_store",
"re_context_menu",
Expand All @@ -5651,6 +5701,7 @@ dependencies = [
"re_view_spatial",
"re_viewer_context",
"re_viewport_blueprint",
"serde",
"smallvec",
]

Expand Down Expand Up @@ -9224,6 +9275,12 @@ version = "1.17.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825"

[[package]]
name = "ucd-trie"
version = "0.1.7"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2896d95c02a80c6d6a5d6e953d479f5ddf2dfdb6a244441010e373ac0fb88971"

[[package]]
name = "uds_windows"
version = "1.1.0"
Expand Down
12 changes: 10 additions & 2 deletions crates/viewer/re_blueprint_tree/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ workspace = true
[package.metadata.docs.rs]
all-features = true

[features]
default = []
testing = ["dep:serde"]


[dependencies]
re_context_menu.workspace = true
re_data_ui.workspace = true
Expand All @@ -31,14 +36,17 @@ re_viewer_context.workspace = true
re_viewport_blueprint.workspace = true

egui.workspace = true
egui_tiles.workspace = true
itertools.workspace = true
serde = { workspace = true, optional = true }
smallvec.workspace = true


[dev-dependencies]
re_viewer_context = { workspace = true, features = ["testing"] }
re_viewport_blueprint = { workspace = true, features = ["testing"] }
re_chunk_store.workspace = true
re_view_spatial.workspace = true
re_viewer_context = { workspace = true, features = ["testing"] }
re_viewport_blueprint = { workspace = true, features = ["testing"] }

egui_kittest.workspace = true
insta = { workspace = true, features = ["redactions", "yaml"] }
Loading

0 comments on commit bf4c684

Please sign in to comment.