-
Notifications
You must be signed in to change notification settings - Fork 374
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add clickable URI component #8567
base: main
Are you sure you want to change the base?
Changes from all commits
58730c9
731756c
ab082ad
55246ed
5119031
ff8df79
a217b55
e779124
027af22
f320df1
dc93588
327e6dc
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
namespace rerun.components; | ||
|
||
// --- | ||
|
||
/// A general URI (Uniform Resource Identifier). | ||
/// | ||
/// To specify a recording, use [archetypes.RecordingUri]. | ||
table Uri ( | ||
"attr.rust.derive": "PartialEq, Eq, PartialOrd, Ord, Hash", | ||
"attr.docs.unreleased" | ||
) { | ||
uri: rerun.datatypes.Utf8 (order: 100); | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use super::Uri; | ||
|
||
impl Uri { | ||
/// Return the URI contained in this component. | ||
pub fn uri(&self) -> &str { | ||
self.0.as_str() | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this seems incorrect. it should truncate with the
…
normally