Skip to content

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

Merged
merged 24 commits into from
Apr 2, 2025
Merged

Conversation

grtlr
Copy link
Contributor

@grtlr grtlr commented Mar 31, 2025

Related

What

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).

image

Testing

The following will create a very basic table in-memory. A follow-up PR will add GRPC-based sending of dataframes.

RERUN_EXPERIMENTAL_TABLE=1 pixi run rerun

Known issues

Copy link

github-actions bot commented Mar 31, 2025

Web viewer built successfully. If applicable, you should also test it:

  • I have tested the web viewer
Result Commit Link Manifest
0457b19 https://rerun.io/viewer/pr/9437 +nightly +main

Note: This comment is updated whenever you push a commit.

@grtlr grtlr force-pushed the grtlr/store-hub branch from db8aca8 to 5a01b3c Compare March 31, 2025 19:40
@grtlr grtlr force-pushed the grtlr/store-hub branch from 11db063 to bb8d7a6 Compare April 1, 2025 12:52
@grtlr grtlr changed the title Adding table storage to StoreHub Add TableStore for table/dataframe entries + basic UI Apr 2, 2025
@grtlr grtlr added ui concerns graphical user interface 🔩 data model Sorbet feat-dataframe-view Everything related to the dataframe view feat-dataframe-api Everything related to the dataframe API include in changelog and removed feat-dataframe-api Everything related to the dataframe API labels Apr 2, 2025
@grtlr grtlr marked this pull request as ready for review April 2, 2025 10:28
@Wumpf Wumpf self-requested a review April 2, 2025 11:11
ui.ctx().screen_rect().width(),
));

left_panel.show_animated_inside(
Copy link
Member

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?

Copy link
Contributor Author

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.

Comment on lines 346 to 347
// TODO: This has no business in `StoreHub` because it is an UI implementation detail
fn _find_closest_recording(&self, id: &StoreId) -> Option<StoreId> {
Copy link
Member

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?

Copy link
Contributor Author

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.

Copy link
Contributor Author

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

@grtlr grtlr merged commit 46de401 into main Apr 2, 2025
36 checks passed
@grtlr grtlr deleted the grtlr/store-hub branch April 2, 2025 15:41
@emilk emilk mentioned this pull request Apr 11, 2025
16 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat-dataframe-view Everything related to the dataframe view include in changelog ui concerns graphical user interface
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants