feat: location templates in NodeInfo + dashboard template UX - #258
Merged
RyanTheRobothead merged 2 commits intoMar 28, 2026
Merged
Conversation
…e UX (#204) Add location_templates and location_representation_templates fields to NodeInfo so consumers can discover what templates a node registers. Populate them from AbstractNode class variables at init. Dashboard changes: - SchemaForm component renders dynamic forms from template schema_def - LocationModal shows structured representation data with inline editing - CreateLocationFromTemplateModal for creating locations from templates - Template entry points on LocationsPanel, LocationTemplatesPanel, AddLocationModal - Fix LocationModal API URLs to use location_name instead of location_id - Fix modal reactivity by deriving location from store via computed Example lab & templates: - Add schema_def to RobotArmNode and LiquidHandlerNode representation templates - Add location_representation_templates boilerplate to robot_arm, device, and liquid_handler bundled module templates Documentation: - New integrator guide: docs/guides/integrator/10-location-templates.md - Update wiring guide, node development reference, example lab README, and template catalog Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Coverage reportClick to see where and how coverage changed
This report was generated by python-coverage-comment-action |
||||||||||||||||||||||||||||||||||||
- Fix getTemplateForNode to resolve correct template for multi-template nodes using location_template_name and node_bindings reverse-mapping - Extract locationApiUrl/locationBaseUrl helpers to eliminate 8 duplicated fragile URL construction patterns across 3 components - Always collect representation overrides regardless of UI toggle visibility - Wire up validateFormValues for override form validation on submission - Replace all alert() calls with reactive v-alert error display pattern - Fix SchemaForm emitting update to parent during mount initialization - Sync TypeScript Location interface with Python model (add 5 missing fields) - Tighten get_resource typing and remove unnecessary as-any casts Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
6 tasks
RyanTheRobothead
deleted the
feature/204-location-templates-nodeinfo-dashboard
branch
April 9, 2026 19:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Closes #204. Exposes location templates through
NodeInfoand adds comprehensive dashboard UX for template-aware location management.location_templatesandlocation_representation_templatesfields, populated fromAbstractNodeclass variables at initschema_def,default_values, andrequired_overridesLocationTemplatewith node role bindings and optional representation overrideslocation_name(notlocation_id); modal location data stays in sync after mutations via computed propertyschema_defto RobotArmNode and LiquidHandlerNode representation templatesmodule/robot_arm,module/device, andmodule/liquid_handlerscaffolding templates10-location-templates.md), updated wiring guide, node development reference, example lab README, and template catalogTest plan
🤖 Generated with Claude Code