Skip to content

Remove remaining hurdles to embedding <Visualizer /> in Test Widgets - #1207

Merged
Micheal Parks (micheal-parks) merged 6 commits into
mainfrom
machine-plugin-3
Nov 25, 2026
Merged

Micheal Parks (micheal-parks) merged 6 commits into
mainfrom
machine-plugin-3

Conversation

@micheal-parks

Copy link
Copy Markdown
Member

Removes the remaining setup and dependency hurdles to embedding <Visualizer /> in another app, such as test widgets.

Library

  • Core no longer imports @zag-js/tabs. DetailsTabs uses prime-ui's Tabs.
  • /lib no longer loads @viamrobotics/sdk. The resource palette moves from color.ts to resourceColors.ts, and resourceNameToColor is inlined into useFrames.
  • The world-tree filter, bounds wall checkboxes, and scene-builder prompt use prime components, so no host needs @tailwindcss/forms.
  • Scene.svelte loads the HDR through new URL(..., import.meta.url), so no host needs assetsInclude.

Package

  • New @viamrobotics/visualization/styles.css adds @source './dist' for a host's Tailwind 4 build.
  • @viamrobotics/sdk and @viamrobotics/prime-editor are optional peers.
  • Drops the unused @ag-grid-community/* peers (still dev dependencies, since prime-core imports them) and d3-force.

@changeset-bot

changeset-bot Bot commented Nov 25, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 390568f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@viamrobotics/visualization Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions

github-actions Bot commented Nov 25, 2026 •

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.2
Preview removed because the pull request was closed.
2026-11-25 21:23 UTC

@micheal-parks
Micheal Parks (micheal-parks) merged commit ce19c70 into main Nov 25, 2026
8 checks passed
@micheal-parks
Micheal Parks (micheal-parks) deleted the machine-plugin-3 branch November 25, 2026 21:23
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