Skip to content

Expose remaining blueprint view types in the Rust SDK#12767

Open
FredrikNoren wants to merge 1 commit into
rerun-io:mainfrom
FredrikNoren:expose-missing-blueprint-views-rust
Open

Expose remaining blueprint view types in the Rust SDK#12767
FredrikNoren wants to merge 1 commit into
rerun-io:mainfrom
FredrikNoren:expose-missing-blueprint-views-rust

Conversation

@FredrikNoren
Copy link
Copy Markdown

@FredrikNoren FredrikNoren commented May 13, 2026

Summary

The Python SDK exposes 11 blueprint view types, but the Rust SDK in re_sdk::blueprint only exposes 6 of them. This adds the missing ones:

  • BarChartView
  • DataframeView
  • StateTimelineView
  • TensorView
  • TextLogView

Each follows the existing minimal builder pattern used by Spatial2DView, TimeSeriesView, etc. — with_origin / with_contents / with_visible / with_defaults / with_override(s) — and gets a From<…> for ContainerLike impl so they can be placed inside Vertical / Horizontal / Grid / Tabs.

The original motivation was that TextLogView was unreachable from a downstream Rust crate building a blueprint — the others have the same gap.

View-specific property setters (e.g. TextLog columns/rows/format_options, Dataframe query options, TimeSeries axes, etc.) are not exposed in the Rust SDK for any view yet — that's a separate, larger gap.

Test plan

  • cargo clippy -p re_sdk passes clean

🤖 Generated with Claude Code

Adds `BarChartView`, `DataframeView`, `StateTimelineView`, `TensorView`,
and `TextLogView` to `re_sdk::blueprint`, matching the views already
available in the Python SDK. Each follows the existing minimal builder
pattern (origin/contents/visible/defaults/overrides) and gets a
`ContainerLike` conversion so they can be used inside layout containers.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot left a comment

Choose a reason for hiding this comment

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

Hi! Thanks for opening this pull request.

Because this is your first time contributing to this repository, make sure you've read our Contributor Guide and Code of Conduct.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant