Skip to content

Implement send_table in re_grpc_server and re_viewer #9510

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 20 commits into from
Apr 7, 2025

Conversation

grtlr
Copy link
Contributor

@grtlr grtlr commented Apr 7, 2025

Related

What

The server-side and viewer logic for send_table. Also contains, the required changes for the notebook.

Copy link

github-actions bot commented Apr 7, 2025

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

  • I have tested the web viewer
Result Commit Link Manifest
53b0a82 https://rerun.io/viewer/pr/9510 +nightly +main

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

@grtlr grtlr force-pushed the grtlr/send-table-grpc-server branch from aacec47 to 95f6c7c Compare April 7, 2025 08:01
@grtlr grtlr changed the title Initial changes to viewer and re_grpc_server re_grpc_server and re_viewer preparation for send_table Apr 7, 2025
@grtlr grtlr marked this pull request as ready for review April 7, 2025 08:21
@grtlr grtlr added 📺 re_viewer affects re_viewer itself 🕸️ web regarding running the viewer in a browser feat-dataframe-api Everything related to the dataframe API labels Apr 7, 2025
@@ -171,6 +171,8 @@ struct PendingFilePromise {
promise: poll_promise::Promise<Vec<re_data_source::FileContents>>,
}

type ReceiveSetTable = parking_lot::Mutex<Vec<crossbeam::channel::Receiver<TableMsg>>>;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ReceiveSetTable reads weird to me

Suggested change
type ReceiveSetTable = parking_lot::Mutex<Vec<crossbeam::channel::Receiver<TableMsg>>>;
type TableReceiverSet = parking_lot::Mutex<Vec<crossbeam::channel::Receiver<TableMsg>>>;

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I named it this way to make it somewhat symmetric with ReceiveSet<LogMsg>.

@grtlr grtlr changed the title re_grpc_server and re_viewer preparation for send_table Implement send_table in re_grpc_server and re_viewer Apr 7, 2025
@grtlr grtlr merged commit b893f5f into main Apr 7, 2025
37 checks passed
@grtlr grtlr deleted the grtlr/send-table-grpc-server branch April 7, 2025 12:13
@emilk emilk mentioned this pull request Apr 11, 2025
16 tasks
@Wumpf Wumpf added 🪵 Log & send APIs Affects the user-facing API for all languages and removed 📺 re_viewer affects re_viewer itself labels Apr 11, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feat-dataframe-api Everything related to the dataframe API include in changelog 🪵 Log & send APIs Affects the user-facing API for all languages 🕸️ web regarding running the viewer in a browser
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants