-
-
Notifications
You must be signed in to change notification settings - Fork 224
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
TASK: Rewrite Neos.Neos:Shortcut to pure fusion #3372
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.
Hey @mhsdesign,
thank you very much for working on that task!!!
I think we can shrink the fusion down and make it more readable, see my comments. Currently fusion only renders in frontend language, so we should discuss, if we should add a backendTranslationHelper instead of a BackendUserHelper.
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.
okay thanks for your advice ;)
i think a BackendTranslationHelper might be better too. I will work on it ;)
980e5f5
to
8a6bf63
Compare
Some points left - wich need to be discussed:
|
oops... crowdin is no more? #3437 (comment) |
8a6bf63
to
cbf2519
Compare
|
|
this is WIP, until #3638 is solved. |
with neos#3937 we dont need the fallbacks anymore ;)
Otherwise, changes from `Neos.Backend.interfaceLanguage()` will not be reflected. And its like a backend module -> which i wouldn't cache also.
4f444ee
to
1ce5b15
Compare
Okay, #3937 is now upmerged (and available in this branch), so now it's really ready for review ;) |
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 as expected and and removes the fluid template.
- The pr should start with a brief description that is suitable for the release notes like:
The backend rendering for shortcut nodes was is reimplemented via the new fusion prototype
Neos.Neos:Shortcut
and the previous fluid template is removed.
- While this is pretty much an 1:1 fusion implementation. i personally would prefer to use some prototypes inside to make this extensible but consider this optional.
It could work with a centralNeos.Neos:Shortcut.Case
that does the switching betweenNeos.Neos:Shortcut.ParentNode
,Neos.Neos:Shortcut.FirstChildNode
andNeos.Neos:Shortcut.SelectedTargetNode
good idea (WIP at my pc) but ill wait for #3943 ;) also those parts need to be discussed #3372 (comment) |
Thanks for this! I agree to @mficzel's comments. Splitting this into smaller chunks would greatly enhance extensibility and readability.
Can we maybe get this in based on the current feature set? IMO #3943 is a great direction but it's a higher-risk-feature and it would be a pitty if it blocked this one. Regarding
What about targeting 9.0 with this feature?
Can't we add the user language to the |
It's been a while.. Is this one still in progress? |
Neos ui part neos/neos-ui#3657 |
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 good by reading and it works
The backend rendering for shortcut nodes is reimplemented in the fusion prototype
Neos.Neos:Shortcut
and the previous fluid template is removed.resolves: #3261
I tested all possible backend views of the Neos.Neos:Shortcut in the Neos.Demo: