-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Remove 'asDiagram' infrastructure #5422
Remove 'asDiagram' infrastructure #5422
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.
LGTM
7669608
to
0874e9e
Compare
Note that Swirly currently introduces a pseudo-circular dependency. In order to parse the ASCII marble diagrams, it depends on the stable |
Good call regarding the circular dependency. I don't know about the |
timdp/swirly#2 Is kinda related to this pr as the generated SVGs could be improved in terms of accessibility |
I've also introduced a workaround for the circular-ish dependency. As of v0.13.6, instead of depending on RxJS directly, the parser now uses a tree-shaken copy of |
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.
It's nice that these have finally been detached from the tests. I've always felt they shouldn't be related, but it was a reasonable compromise to hand-rolling them.
LGTM... @niklas-wortmann ... I'll let you merge this one. You probably want to cherry pick it over to 6.x as well, so I recommend doing a squash and merge. |
Little bug: in package.json, you're depending on the |
Oh I see, good call. Thanks yeah now that makes sense. I will fix that |
@benlesh I don't think I will cherry pick it in V6. There's still a lot of work needed for that and I don't want to deal with the hassle :D Also it makes the V7 release even better having lots of great docs stuff too :D |
I'm a big fan of |
This cleans up the old way of generating marble diagrams. It also hides the internal testing document from the docs, we can still refer to that but it's not visible from the menu anymore.
That's how the new diagrams (inlined as svg) do kinda look like: