Skip to content

WIP: POC: refactor node tree using query dtos - #3944

Draft
mhsdesign wants to merge 9 commits into
neos:9.0from
mhsdesign:feature/refactor-node-tree-using-query-dtos
Draft

mhsdesign wants to merge 9 commits into
neos:9.0from
mhsdesign:feature/refactor-node-tree-using-query-dtos

Conversation

@mhsdesign

Copy link
Copy Markdown
Member

New name "@neos-project/neos-use" aupair with "react-use".

- Adjusted to the correct `dependencies`
- now uses the neos context and redux react context directly instead of booting a custom one
- useI18n was removed in favour of the `translate` function
- removed lots of plugin specific workaround that are not necessary as part of the core code like typescript stubs etc.
New name "@neos-project/neos-node-tree".

- Adjusted to the correct `dependencies`
- now uses the neos context and redux react context directly instead of booting a custom one
- useI18n was removed in favour of the `translate` function
- removed lots of plugin specific workaround that are not necessary as part of the core code like typescript stubs etc.
... initialisation fails because of

Absolute node paths must serialized beginning with the pattern \"\/<My.Package:Root>\" ,\"{\"contentRepositoryId\":\"onedimension\",\"workspaceName\":\"admin-admington\",\"dimensionSpacePoint\":{\"language\":\"en_US\"},\"aggregateId\":\"f676459d-ca77-44bc-aeea-44114814c279\"}\" does not"
…ntext path

a node address is not an absolute node path - that failed before
@github-actions github-actions Bot added the 9.0 label Apr 23, 2025
@Sebobo

Sebobo commented Apr 24, 2025

Copy link
Copy Markdown
Member

Cool, but what issue is resolved with this? What is the benefit? Do you have something to link to? :)

@mhsdesign

Copy link
Copy Markdown
Member Author

We discussed during the development meetings that we want to try this out to see if the tree is more performant and better maintainable. Putting the load on the server is a pattern we started using already for some things which is more explained here in this POC #3331

A full description of the code this change is based on can be found here sitegeist/Sitegeist.Archaeopteryx#63

@simonschaufi

Copy link
Copy Markdown

I guess yarn cache files should not be commited

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants