-
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
Fix auto-naming counter and align id with name when creating new entity #69
Conversation
- Add tests for utility functions Fixes #48
Changes look good, the behaviour on attribute is indeed as expected. Two things I notice:
|
@harmen-xb Thank you for the review! The first thing I can re-produce. I'll see what we can do about that in the short-term to make that nicer. However, the second point, i cannot really reproduce. Does that happen in the diagram or what is the exact workflow here? |
To reproduce:
Obervation: In the entity created in the last step attributes are already there as if the deleted entity object is re-used. |
- Introduce edit behavior for entity names in diagram - Fix problem of left-over text documents after deletion
@harmen-xb I had a deeper look into this and managed to fix both problems. |
@martin-fleck-at This indeed works better :) Is it possible to write the new entity file after the name is typed in the diagram? Cause now when you add a new entity to a diagram the 'NewEntity' file is already created (before typing the real name of the entity). Would be nice if file name would be the same as the ID. |
@harmen-xb I think I could look into that but it would be like developing a complete new tool so it might be some effort. Would it be an idea to simply rename the file according to the new name, similar to what Java usually proposes? |
@martin-fleck-at Yes, if you could rename the file if the |
@harmen-xb Great, should we create a ticket for this and then merge this PR? |
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 changs look good.
Yes, I reviewed code and approved it. |
Fixes #48