Skip to content

Move MotionPlanReplayer and single-plugin code out of core, and show one appearance editor in build mode - #1203

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

Micheal Parks (micheal-parks) merged 9 commits into
mainfrom
machine-plugin-2

Conversation

@micheal-parks

Copy link
Copy Markdown
Member

Moves MotionPlanReplayer out of <Machine> and moves code that only one plugin uses from core into that plugin, so core carries less machine-only code. In build mode, the details panel no longer shows Machine's session appearance editor next to Build's config editor.

Components

  • DetailsSections takes an ownsAppearance prop. When it is set, sections registered with replacesAppearance are left out, so a panel with its own appearance editor doesn't show a second one.
  • DetailsSections shows "Some selected objects keep their appearance differently. Select only one kind to edit it." when a replacesAppearance section matches only part of the selection. Other sections keep "Not every selected object supports this."

Plugins

  • BuildDetails passes ownsAppearance, because Build saves appearance to the part config.
  • EditGeometryDetails moves from components/overlay/details/ into plugins/BuildFrames/.
  • useParentFrameOptions, parentFrameOptions and useTakenResourceNames move from core into plugins/BuildFrames/.
  • useFramelessComponentEntities moves from hooks/ into plugins/Machine/. Its provider, useFramelessComponents, stays in core because XR's frame-configure controllers also read it.
  • Nothing moved was exported from the package, so the public API doesn't change.

App

  • +layout.svelte mounts <MotionPlanReplayer> outside <Machine>. The plugin reads no machine context, and its IK resolver talks to the draw server.

@changeset-bot

changeset-bot Bot commented Nov 25, 2026 •

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 7ad44be

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 Patch

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 15:38 UTC

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