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

NodeType references followup #4981

Open
4 of 17 tasks
mhsdesign opened this issue Apr 6, 2024 · 0 comments
Open
4 of 17 tasks

NodeType references followup #4981

mhsdesign opened this issue Apr 6, 2024 · 0 comments
Labels

Comments

@mhsdesign
Copy link
Member

mhsdesign commented Apr 6, 2024

With #4677 a new syntax was introduced:

'My.Package:NodeWithReferences':
   references:
     singleReference:
       constraints:
         maxItems: 1
     multiReferences: {}

this issue tracks the open todos

  • support for showInCreationDialog: true BUG: reference type in creation dialog doesn't work neos-ui#3615? Should we still use the elements area with type: reference? Probably yes and we can be happy that elements as name was chosen to be more vague.
  • (re-)check all code like $nodeType->getProperties() or $nodeType->getConfiguration('properties.*')
  • keep reference editor configurable per dataTypes
  • support magic i18n translation
  • adjust nodetypes schema validation command
  • adjust sebs ide json nodetypes schema
  • not empty support see slack
  • followup: make sure constraints.nodeTypes works like ui.inspector.editorOptions.nodeTypes: ['My.Website:Author']
  • document new syntax and features at docs neos -> https://docs.neos.io/guide/content-repository/nodetype/references-vs-properties
  • adjust node.nodeType.properties in fusion (like rawcontent mode)
  • default value support -> no to complex rather use node templates
  • adjust Neos ui to properly understand references so its available via ClientEval:node.references
  • write a migration (warning) for $nodeType->getPropertyType($foo) === 'references' -> $nodeType->hasReference($foo)
  • write a migration / warning, when $nodeType->getProperties() is used or array merge with getReferences().
  • copied from Node properties vs references confusion #4549
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

2 participants