-
-
Notifications
You must be signed in to change notification settings - Fork 262
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
Migrate to version 2.x antv/x6 #1099
Conversation
@lreading feel free to progress this, there is a lot of work still to do |
Looking at the tests right now, they're giving me a hard time. 😩 I only tested the history implementation, and that seems to work. I'll want to test all the other functions that are implemented via plugin now, as they may or may not work the same. I found that calling |
Wait, let me try again - I had my wires crossed. I'm going to start anew from this branch! I had created a new branch and copied some of the work from your old PR. This is even better, thank you @jgadsden ! |
Do we want to delete the trust boundary curve and flow stencils? |
Many thanks for the additions @lreading |
definitely want to keep trust boundary curve and flow stencils, it was only that I could not see how to migrate them when I committed these changes |
There's a bug when clicking undo very quickly after populating the history stack. No fix for it yet, but I wanted to comment on it so that I don't forget to look into it more. :) [Thanks for fixing this @lreading ] |
yes, agreed -we probably should check for
|
The only thing left is the unit tests which are in progress and a bug where the the diagram in the report is still modifiable - freeze/unfreeze was removed from antv/x6 1.x -> 2.x and the only reference I can find for something similar in version 2.x is to do with graph.async boolean, and this does not seem to be effective @lreading I can work on the unit tests and raise an issue for the mutable report diagram - unless you want to determine how it can be done, possibly use graph.toPNG instead ? |
It looks like setting I'm going to take a peek at the unit tests as well! |
The unit tests are now passing, and it looks like the e2e tests did as well! 🎉 The coverage is probably down from where it once was, I was primarily focused on getting them passing. :) |
thanks @lreading for all this - we are ready to commit it I think? The honour is yours :) |
I'll leave it up to you @jgadsden ! If you feel it's ready for merge, by all means 🙌 |
apologies @lreading , I was sneaking in a last minute change which removes the ports from the text box - the thinking being that we don't want dataflows attaching to a text box |
Summary:
first pass at migrating to version 2.x antv/x6
unit tests broken
stencil incomplete
various unfinished features
Description for the changelog:
migrate to version 2.x antv/x6
Other info:
Closes #722