-
Notifications
You must be signed in to change notification settings - Fork 451
Add TableStore
for table/dataframe entries + basic UI
#9437
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
Conversation
Web viewer built successfully. If applicable, you should also test it:
Note: This comment is updated whenever you push a commit. |
StoreHub
TableStore
for table/dataframe entries + basic UI
ui.ctx().screen_rect().width(), | ||
)); | ||
|
||
left_panel.show_animated_inside( |
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.
lotsa cruft in this and it's clearly meant to closely mimick the code below doing the same thing. We can't move that out into a function and re-use?
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.
Yeah that would be nice, but that function would need many parameters, and that part of the code will probably change again anyways soon.
I left a TODO
to help with discoverability.
// TODO: This has no business in `StoreHub` because it is an UI implementation detail | ||
fn _find_closest_recording(&self, id: &StoreId) -> Option<StoreId> { |
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.
and looks like it's no longer used anywhere, so just remove?
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 is not used right now, because I commented out the relevant code. I should sync with @lucasmerlin, he probably has ideas on how to handle finding the next entry in the updated "cataloged" recording panel.
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.
Will remove, created follow up issue: #9464
Related
send_dataframe
should generate a an index column #8593What
This brings a very basic table entry to the Rerun viewer. Tables are essentially dataframes, can contain Rerun-native components, but don't have to adhere to some of the restrictions that we place on regular entities (i.e. we don't require indexation columns).
Testing
The following will create a very basic table in-memory. A follow-up PR will add GRPC-based sending of dataframes.
Known issues