Skip to content
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

Open
wants to merge 3 commits into
base: 9.0
Choose a base branch
from

Conversation

kitsunet
Copy link
Member

@kitsunet kitsunet commented Mar 11, 2024

@@ -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')}
Copy link
Member

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()

Copy link
Member

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')}
Copy link
Member

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

Copy link
Member

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?

Copy link
Member Author

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

@mhsdesign mhsdesign changed the title TASK: Adapt to removal of underscore properties in nodes TASK: Adjust to rewrite of _hiddenInIndex to hiddenInMenu Apr 26, 2024
@kitsunet
Copy link
Member Author

yep this is all old and needs to be redone now :) I take care

@kitsunet kitsunet force-pushed the task/adjust-to-removal-internal-properties branch from 6c641ee to b5bcb57 Compare May 19, 2024 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants