-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
Update to 10.6.1 #102
base: master
Are you sure you want to change the base?
Update to 10.6.1 #102
Conversation
There is something funny in how it's handling URI encoding/decoding now - the JS sees |
sneakers-the-rat#1 now contains the updates required to address the issues discussed here. Thanks! |
heck yes thank you for fixing this :) |
Update here is that it appears some diagrams still malfunction. I'm diagnosing. |
I patched an error that occurs with flowcharts by manually editing the minified js, I hate that I am doing this but that commit is here: Yellow-Dog-Man@22da6eb There's another fix here too: Yellow-Dog-Man@eb1bbfb |
Thank you for your contribution! |
With CI failing that's unlikely and with my minifcation issues i wouldn't recommend it. We need to figure out:
|
I am thinking we should probably just be vendoring the unminified version of it, since mediawiki says "don't do this" at the point when there are multiple bugs that require us to manually edit the minified js (ditto @ProbablePrime i hate doing this lol) then we should probably not just try and hack our way through. the CI failures seem like trivial strcmp differences, eg.
so that part probably is just a matter of updating the tests to some new parsing |
I did see Foreign Resources, but those don't look compatible with extensions. |
Thank you for your contributions! We should take a closer look at why CI fails. There are also some warnings in CI that should be addressed. Also we should check this recent version in combination with Semantic Result Formats. |
@gesinn-it-evl can you have a look tomorrow, please. |
Looking at them again, im pretty sure they provide a mechanism to source from NPM directly, since vendoring is not a great approach if we can avoid it. Ill try it and see |
see fixes introduced by #104. Maybe rebase. |
@sneakers-the-rat could you rebase against master? Probably the tests work now. And since @krabina already tested manually, we'd be able to merge. |
rebased, i admit i have sorta lost the thread on this one, reading back it seems like vendoring minified version of mermaid is just always going to have some problems, but won't have time to do any substantial work to try and understand how to do that for a bit, and could follow on with another PR after this one if it doesn't work |
Surpasses #96
96 has been open for about a year now, let's merge this thing, 8.4.3 is old as the hills!
This PR addresses or contains:
'scripts'
to'packageFiles'
as is now recommendedinit
is deprecated and will be removed in 11packageFiles
don't get the document loaded eventI don't write PHP so no tests, but i did test a handful of diagrams and they all work fine on my instance (1.38.4)
Prior errors in 96 are mostly from not injecting
/*@nomin*/
when installing by cloning from git. Since we're vendoring here, I just added it - the double minification breaks the JS by removing function names and breaking in inappropriate places.This PR includes: