-
Notifications
You must be signed in to change notification settings - Fork 55
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
Add model comparison #441
Add model comparison #441
Conversation
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.
Why do we need to add web/coffee-comparison/model/org.eclipse.emfcloud.coffee.model-0.1.0-SNAPSHOT.jar ? Can't we take it from the backend build via a copy?
Please also double check headers of new files
...low.glsp.server/src/org/eclipse/emfcloud/coffee/workflow/glsp/server/gmodel/FlowFactory.java
Outdated
Show resolved
Hide resolved
...low.glsp.server/src/org/eclipse/emfcloud/coffee/workflow/glsp/server/gmodel/NodeFactory.java
Outdated
Show resolved
Hide resolved
web/coffee-comparison/src/browser/coffee-comparison-frontend-configuration.ts
Outdated
Show resolved
Hide resolved
web/coffee-comparison/src/browser/coffee-comparison-frontend-module.ts
Outdated
Show resolved
Hide resolved
web/coffee-comparison/src/node/coffee-comparison-backend-configuration.ts
Show resolved
Hide resolved
I updated the header eslint config and updated all of the headers. Additionally one of the target platforms locations broke. I changed to location to a (hopefully) more stable release link. Furthermore i consumed the new comparison-extension version to remove the need of the codicon map and removed the duplicated model from the client. |
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.
Looks good, only two small remarks.
web/coffee-comparison/src/browser/coffee-comparison-frontend-configuration.ts
Outdated
Show resolved
Hide resolved
web/coffee-workflow-glsp-editor/src/browser/diagram/workflow-diagram-manager.ts
Outdated
Show resolved
Hide resolved
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.
Looks good, thank you!
Would it make sense to add a section on how to use this to the readme?
I added a description for the validation and comparison to the getting started widget. |
I rebased the branch to master, which should resolve the issue, where nodes could not be added anymore. I also created #449 as a follow up, as it is not relevant to this change, but should be fixed next. (Still testing in the docker container) |
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.
Looks good overall.
We should split this into two commits so that we have the commit actually doing changes and one doing cleanup, eg prettier fixes
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.
Code looks good. There are some weird formatting issues though.
...sp.server/src/org/eclipse/emfcloud/coffee/workflow/glsp/server/model/WorkflowModelState.java
Outdated
Show resolved
Hide resolved
...sp.server/src/org/eclipse/emfcloud/coffee/workflow/glsp/server/model/WorkflowModelState.java
Outdated
Show resolved
Hide resolved
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.
Looks good. Works well.
Please squash first and third commit into one so that we have two commits in the end. Thank you!
Added coffee-comparison extension, that communicates via @eclipsesource/comparison-extension. Uses git integration to retrieve head file and compare it with current state. Update node colors to better display the comparison state. Tree view can be triggered on the coffee file -> Compare with HEAD. Graphical view can be triggered on the notation file -> Compare with HEAD. Resolves eclipse-emfcloud#438.
Fix headers and format files.
Thanks for the feedback Eugen! I squashed the third commit into the first one. Could you reapprove? |
Added coffee-comparison extension, that communicates via @eclipsesource/comparison-extension.
Uses git integration to retrieve head file and compare it with current state.
Update node colors to better display the comparison state.
Tree view can be triggered on the coffee file -> Compare with HEAD.
Graphical view can be triggered on the notation file -> Compare with HEAD.
Resolves #438.