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: Adjust to rewrite of _hiddenInIndex
to hiddenInMenu
#192
base: 9.0
Are you sure you want to change the base?
Conversation
@@ -6,7 +6,7 @@ prototype(Neos.Demo:Content.Registration) < prototype(Neos.Neos:ContentComponent | |||
renderer = Neos.Fusion.Form:Runtime.RuntimeForm { | |||
namespace = "neos-demo-registration" | |||
attributes { | |||
id = ${'form-' + node.identifier} | |||
id = ${'form-' + node.property('_identifier')} |
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.
as far as i know this behaviour is deprecated and node.nodeAggregateId.value
should be used? Or we could have another flowquery operation for this? q(node).identifier()
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.
we decided to go for q(node).id()
IIRC
@@ -13,6 +13,7 @@ prototype(Neos.Demo:Integration.Footer.Renderer) < prototype(Neos.Demo:Presentat | |||
menuItems = Neos.Fusion:Map { | |||
items = ${q(site).property('metaNavigationItems')} | |||
itemRenderer = Neos.Fusion:DataStructure { | |||
depth = ${node.property('_depth')} |
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.
_depth
is also deprecated and should better not be used in the field.
Still deprecated but better is \Neos\Neos\Fusion\Helper\NodeHelper::depth
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.
why is the depth needed here at all?
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 isn't, I think it was in the past? IDK, removing
_hiddenInIndex
to hiddenInMenu
yep this is all old and needs to be redone now :) I take care |
Related: #neos-development-collection/4208
…-internal-properties
6c641ee
to
b5bcb57
Compare
Related: neos/neos-development-collection#4921