-
Notifications
You must be signed in to change notification settings - Fork 4
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
Display active models in sidebar of session viewer #1016
Comments
Identification of open models and elements can be implemented by listening to file events in the Capella session. It needs a bit of reverse engineering. If you want to implement the "backend"-service in the Capella session, get in touch with me. I can provide more information. |
Discussed with Moritz:
Next steps: before going further with frontend I'll start exploring Capella with a local install and seeing what kinds of messages Eclipse plugins can expose, since that will dictate what we can show anyway. |
@romeonicholas Due to limited progress in the development of the Capella plugin and due to many open other issues, @romeonicholas will focus on other tasks. @jamilraichouni and I will discuss how to further address this issue. |
The issue will be on hold and will be further processed after the 5th of February by @jamilraichouni. The initial goal is to inject a small Capella/Eclipse plugin into a session, which can identify changes of selected elements and communicate that to a server via HTTP. Alternatively, this could be realized with an internal timer, which checks every 0.5 seconds for the currently selected element. If this turns out to be impossible, is would be good to receive the currently selected element per request. |
@jamilraichouni had some success with the development of a Capella addon. My proposal for the interface would be: import requests
requests.post(
f"{api_url}/sessions/{session_id}/activity",
json={
"selected": [
{
"model": {
"uuid": f"{uuid_of_model}",
"path": f"{path_to_model_relative_to_workspace}",
},
"elements": [{
"uuid": f"{uuid_of_element}",
"name": f"{name_of_selected_element}",
}],
}
]
},
) |
@MoritzWeber0 , let us continue with the broadcasting of (a) selected element(s) here: |
Parallel working on the same model can lead to conflicts, especially with the Git workflow. Right now, there are often chats in Teams where all team members communicate on which elements they are currently working on. However, chats are sometimes unreliable because they are not always read.
The workflow can be integrated in the Collaboration Manager directly.
For a persistent Capella session, we should identify all open models in the workspace. It would be great if we can also identify open elements.
All other team members should then see during the session creation and in a sidebar of the session viewer who is currently working on the same models / elements.
This should prevent that people work on the same elements at the same time accidentally. In addition, the feature could be used in the future to allocate session costs to specific projects.
The text was updated successfully, but these errors were encountered: