-
-
Notifications
You must be signed in to change notification settings - Fork 135
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
BUGFIX: Always bundle custom svgs instead of using resource://
paths
#3836
BUGFIX: Always bundle custom svgs instead of using resource://
paths
#3836
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.
Works and looks great, but I don't see yet how we can deprecate the now old ResourceIcon
if the new one does something else and from what I see doesn't support custom icons.
using `/_Resources/Static/Packages/Neos.Neos/Images/dummy-image.svg` is a bad bet as for cloud hosted resources this wont work and it will show a dead-fallback image.
As written in #2092
My idea is to deprecate the behaviour but thats just for us and without real effect obviously. That will leave us with no more usages of client |
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.
Works on my machine <3
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.
This is now duplicated here and in Neos.Neos
but yeah there is no way around this ... and it somehow belongs here imo
see discussion in Neos.Neos where we did the same https://github.com/neos/neos-development-collection/pull/5126/files#r1625874465 - remove obsolete `g` tags (and german illustrator references :D) - inline style
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.
Looks & works very well :)
Fixes faulty upmerge of neos#3836
Resolves: #3616
Resolves: #3712
See #2092 (comment) for an explanation
What I did
The custom icons are now included into the bundle instead of requested by path.
Also to unify things and simplify the build-stack, the Neos icon is now also bundled as plain svg instead of data-url:
Also the fallback image of the image editor will be fixed for cloud hosted resources now:
Surprisingly i could not observer any pixel shifting. So this should be 100% the same visual look.
How I did it
How to verify it