-
Notifications
You must be signed in to change notification settings - Fork 32
✨ [Frontend] RTC: Support for adding nodes #8196
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
✨ [Frontend] RTC: Support for adding nodes #8196
Conversation
…osparc-simcore into feature/render-unknown-service
…osparc-simcore into feature/render-unknown-service
…osparc-simcore into feature/render-unknown-service
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 pull request adds support for adding nodes in Real-Time Collaboration (RTC) mode, enabling collaborative editing features in the frontend. The changes focus on handling collaborative node creation and updates through improved serialization, event handling, and UI updates.
- Introduces asynchronous node metadata fetching and real-time node addition support
- Implements throttled project document updates to handle concurrent modifications
- Adds support for unknown/placeholder nodes during metadata loading
Reviewed Changes
Copilot reviewed 31 out of 31 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
| services/static-webserver/client/source/class/osparc/workbench/WorkbenchUI.js | Refactors node creation to use new addNode method and updates event listener names |
| services/static-webserver/client/source/class/osparc/workbench/NodeUI.js | Major refactoring of node UI creation with new type system and metadata handling |
| services/static-webserver/client/source/class/osparc/data/model/Workbench.js | Extensive changes to support async node creation and RTC patch handling |
| services/static-webserver/client/source/class/osparc/data/model/Node.js | Refactors constructor and metadata handling for async loading |
| services/static-webserver/client/source/class/osparc/data/model/NodeUnknown.js | New class for handling nodes with unknown metadata |
| services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js | Implements throttled project document updates for RTC |
| Multiple other files | Various supporting changes including method renames, UI updates, and bug fixes |
services/static-webserver/client/source/class/osparc/store/Services.js
Outdated
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/data/model/Workbench.js
Outdated
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/data/model/NodeUnknown.js
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/data/model/NodeUnknown.js
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js
Outdated
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/desktop/StudyEditor.js
Outdated
Show resolved
Hide resolved
services/static-webserver/client/source/class/osparc/data/model/Workbench.js
Outdated
Show resolved
Hide resolved
…l/Workbench.js Co-authored-by: Copilot <[email protected]>
…osparc-simcore into feature/render-unknown-service
|
|
@mergify queue |
🟠 Waiting for conditions to match
|
matusdrobuliak66
left a comment
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.
Nice!



What do these changes do?
This pull request adds support for adding nodes in Real-Time Collaboration (RTC) mode. The changes focus on handling collaborative node creation and updates through improved serialization, event handling, and UI updates.
Next step:
Related issue/s
How to test
Dev-ops