-
Notifications
You must be signed in to change notification settings - Fork 3
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
Feature/editable graph view #22
Conversation
- Minor code cleanup
…o feature/form-client-layout
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.
Hi @ozcanxbreeze, great work! I had a look at the code and tested the functionality: Adding, moving and deleting attributes works but I'm not sure about the editable labels. Overall the change works well but I do have some questions and suggestions:
- Deselecting an element does not clear the property view.
- Adding attributes and hitting save does not update the GLSP diagram - not even when closing and re-opening. Only after opening the affected entity file, the diagram loads the data correctly.
- In the 'Data type' field of the properties view, I can type custom text, is that expected?
- Name changes in the form break cross references since they are name-based. Probably we require a rename refactoring here. I don't suggest to do this as part of this PR but maybe we should create a ticket for that or make the field in the form read-only.
- The tickets you mentioned are talking about changes in the "graphical" view. Is this covered by the properties view or are you planning any in-line diagram changes?
@ozcanxbreeze I see that you pushed commit 693e8fc just now. I did not consider this in my review as I started before that. So please disregard any comments that are outdated because of it. |
Hey Martin, Thanks for the review. I indeed did push some changes, because I wanted to switch branches to review your pull request. I did not manage to get it functionally working yet, so https://dev.azure.com/x-breeze/CrossModel/_workitems/edit/834 is still open. I also just merged your branch into main, so I will have to do some merging and refactoring to get it working again. |
62bcd13
to
6d29932
Compare
feature/editable-graph-view
6d29932
to
9087904
Compare
@ozcanxbreeze I pushed an update that should resolve the issue we faced with the broken build. Basically what caused the problem was that in the Please note that I force pushed but I kept your changes. |
@martin-fleck-at Awesome, I am going to resolve the pull request review issues, and then I will notify you again |
@martin-fleck-at Hey Marin, I just pushed a new commit that implement your review points and your remarks.
|
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.
@ozcanxbreeze I added a minor fix to one of the package.json but otherwise everything looks good to me now! Thank you!
A pull request for the following tasks:
- Add editable labels to the graphical view
- Add "add attribute" action to the graphical view
- Add delete attribute action to the graphical view
- Make changing of attributes order possible in graphical view
check for documentation
Also did the following to get it working:
- Implemented a property view
- Moved the Form-server and Form-client to a seperate package, so the property view can also make use of it
Made new tasks for the following todo's:
- There are a couple of react views reuesed, These should be moved to a single package and imported.
- The glsp view does not get updated, when the property view changes the node.
- Error handling for the row processing