-
Notifications
You must be signed in to change notification settings - Fork 393
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
Improve UI for arrow components #836
Conversation
5c13127
to
b1a3469
Compare
b1a3469
to
f668c6e
Compare
} | ||
} | ||
|
||
pub fn format_field_or_component_name(name: &FieldOrComponent) -> String { |
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.
Soon we can get rid of this, when we delete the non-arrow code
display(&mut repr, 0).unwrap(); | ||
ui.label(repr); | ||
} else { | ||
ui.label(format!("{} bytes", bytes)); |
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.
full display on hover still?
it rarely makes sense to show number of bytes, maybe it would be better to cut off the display string? with ...
?
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.
If it is this big it is likely a binary blob, so displaying it is probably not very useful. We never hit this path with any standard component btw
Closes #675
Checklist
CHANGELOG.md
(if this is a big enough change to warrant it)