diff --git a/crates/viewer/re_component_ui/tests/snapshots/all_components_list_item_narrow/Uri_simple.png b/crates/viewer/re_component_ui/tests/snapshots/all_components_list_item_narrow/Uri_simple.png new file mode 100644 index 000000000000..d15bd68dcd62 --- /dev/null +++ b/crates/viewer/re_component_ui/tests/snapshots/all_components_list_item_narrow/Uri_simple.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e37bf2ee953fe4844b3670420b25ed639dbb4933f0e4461326bba604cbfe09d6 +size 4449 diff --git a/crates/viewer/re_component_ui/tests/snapshots/all_components_list_item_wide/Uri_simple.png b/crates/viewer/re_component_ui/tests/snapshots/all_components_list_item_wide/Uri_simple.png new file mode 100644 index 000000000000..b93fc17ba556 --- /dev/null +++ b/crates/viewer/re_component_ui/tests/snapshots/all_components_list_item_wide/Uri_simple.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff80ffa7af61934c38617125131fb5bf2dbe5f109c1e3e2976e61aea474054b9 +size 5121 diff --git a/crates/viewer/re_component_ui/tests/test_all_components_ui.rs b/crates/viewer/re_component_ui/tests/test_all_components_ui.rs index 5b230215cf56..dd24ad1ef88a 100644 --- a/crates/viewer/re_component_ui/tests/test_all_components_ui.rs +++ b/crates/viewer/re_component_ui/tests/test_all_components_ui.rs @@ -14,7 +14,7 @@ use re_component_ui::create_component_ui_registry; use re_log_types::{EntityPath, Timeline}; use re_types::{ blueprint::components::{ComponentColumnSelector, QueryExpression}, - components::{self, GraphEdge, GraphNode, ImageFormat, RecordingUri, Text}, + components::{self, GraphEdge, GraphNode, ImageFormat, RecordingUri, Text, Uri}, datatypes::{ChannelDatatype, PixelFormat}, }; use re_types_core::{reflection::Reflection, Component, ComponentName, LoggableBatch}; @@ -68,6 +68,7 @@ fn test_cases(reflection: &Reflection) -> Vec { RecordingUri::from("rerun://0.0.0.0:1234/recordings/XYZ"), "simple", ), + TestCase::from_component(Uri::from("https://rerun.io"), "simple"), TestCase::from_component(Text::from("Hello World!"), "simple"), ];