Fix the jelly animation #1
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Hi!
I've noticed that the
$[jelly XYZ]
syntax does not work. It seems that, when the parser was "ported" from Misskey, the CSS class was renamed to_mfm_jelly_
but the animation name was keptmfm-rubberBand
. However,akkoma-fe
defines this animation by the namemfm-jelly
instead. Technically, either one could be changed, but I think it would be more consistent to do it here.This is the exact line that needs to be changed:
912fba8115/lib/encoder.ex (L97)
Thanks.
this shouldn't really matter too much now since we strip all css on the backend now
so i think the most consistent thing would be to remove the generation of styles here - i've tested and it currently works on develop akkoma-fe
Thanks for the reply! I am a bit confused though, are you saying that these effects will be handled elsewhere or that they will be completely removed moving forward?
they're handled elsewhere
https://akkoma.dev/AkkomaGang/akkoma-fe/src/branch/develop/static/mfm.css#L10
Ah, you're right, the animation from the generated styles overrides the one from
akkoma-fe
and that's the real reason why it breaks.