-
Notifications
You must be signed in to change notification settings - Fork 32
🐛 [Frontend] FIXES: Add nodes #8312
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
Conversation
🧪 CI InsightsHere's what we observed from your CI run for 958e654. 🟢 All jobs passed!But CI Insights is watching 👀 |
…into fixes/add-nodes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR fixes several bugs related to adding parameters and probes to nodes in the frontend. The primary focus is on handling cases where node metadata is not immediately available when creating new nodes.
Key changes:
- Added proper metadata availability checks before accessing node properties
- Moved event listener registration to ensure proper initialization order
- Fixed width settings for parameter nodes
- Added return statements to ensure error propagation in study loading
Reviewed Changes
Copilot reviewed 6 out of 6 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| WorkbenchUI.js | Moved edge highlighting event listener registration outside metadata check |
| NodeUI.js | Added metadata checks and deferred initialization for node layout population |
| PropForm.js | Added metadata availability checks before accessing node outputs |
| MainPageHandler.js | Added return statements to ensure proper error propagation |
| Workbench.js | Added deferred initialization pattern for parameter/probe node creation |
| NodeStatus.js | Moved lock state initialization to constructor to avoid timing issues |
services/static-webserver/client/source/class/osparc/workbench/NodeUI.js
Outdated
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/workbench/NodeUI.js
Show resolved
Hide resolved
…into fixes/add-nodes
|



What do these changes do?
There were a few nasty bugs found during the testing of adding parameters and probes to a node.
These bugs were introduced in this PR, while this PR fixes several bugs related to adding parameters and probes to nodes in the frontend. The primary focus is on handling cases where node metadata is not immediately available when creating new nodes.
Related issue/s
How to test
Dev-ops