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: Avoid heavily use of controller context and make Neos.Ui.NodeInfo internal #3703

Merged
merged 8 commits into from
Feb 14, 2024

Conversation

mhsdesign
Copy link
Member

@mhsdesign mhsdesign commented Jan 30, 2024

If for some reason Neos.Ui.NodeInfo was used in consumer fusion land it must be migrated.
For migration please copy the parts of the NodeInfo helper to your own helper.
Note that the helper is sorely an internal detail of the user interface.

What I did

How I did it

How to verify it

mhsdesign added a commit to mhsdesign/neos-development-collection that referenced this pull request Jan 30, 2024
@mhsdesign mhsdesign changed the title TASK: Avoid heavily use of controller context and make Neos.Ui.NodeInfo internal !!! TASK: Avoid heavily use of controller context and make Neos.Ui.NodeInfo internal Jan 31, 2024
neos-bot pushed a commit to neos/neos that referenced this pull request Jan 31, 2024
@mhsdesign mhsdesign deleted the branch neos:9.0 February 2, 2024 14:56
@mhsdesign mhsdesign closed this Feb 2, 2024
@mhsdesign mhsdesign reopened this Feb 2, 2024
@mhsdesign mhsdesign changed the base branch from feature/multi-app/01-foundation to 9.0 February 2, 2024 14:58
@mhsdesign mhsdesign force-pushed the task/avoidHeavilyUseOfControllerContext branch from be33cbb to ce7cd45 Compare February 6, 2024 09:01
@neos-bot
Copy link

neos-bot commented Feb 6, 2024

🎥 End-to-End Test Recordings

These videos demonstrate the end-to-end tests for the changes in this pull request.

@mhsdesign mhsdesign changed the title !!! TASK: Avoid heavily use of controller context and make Neos.Ui.NodeInfo internal TASK: Avoid heavily use of controller context and make Neos.Ui.NodeInfo internal Feb 10, 2024
Copy link
Contributor

@grebaldi grebaldi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @mhsdesign,

nice work :) A left a tiny nitpicky comment, but the rest LGTM 👍

@@ -30,6 +30,7 @@
use Neos\Neos\Utility\NodeTypeWithFallbackProvider;

/**
* @internal
* @Flow\Scope("singleton")
* @todo EEL helpers are still to be declared as internal
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* @todo EEL helpers are still to be declared as internal

This should go, since NodeInfoHelper is marked @internal now in L33.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

UPDATE: Just saw that #3711 contains all changes of #3703 and removes the @todo annotation. Maybe #3711 can just supersede #3703, so #3703 can be closed? wdyt?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

a i forgot how i did it, but yes this pr is basically step one and later we followup with #3711 so ill merge it first ;)
Thanks for looking so deep into it :D

@mhsdesign mhsdesign merged commit 0d87792 into neos:9.0 Feb 14, 2024
12 checks passed
@mhsdesign mhsdesign deleted the task/avoidHeavilyUseOfControllerContext branch February 14, 2024 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants