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: Remove Neos.Node.inBackend() and Neos.Node.isLive() eel helper #4542

Merged
merged 1 commit into from
Sep 21, 2023

Conversation

mficzel
Copy link
Member

@mficzel mficzel commented Sep 20, 2023

It was deprecated in #4505 in favor of ${renderingMode.isEdit}. Since the ui is adjusted in neos/neos-ui#3618 it can now be removed.

Relates: #4086

Checklist

  • Code follows the PSR-2 coding style
  • Tests have been created, run and adjusted as needed
  • The PR is created against the lowest maintained branch
  • Reviewer - PR Title is brief but complete and starts with FEATURE|TASK|BUGFIX
  • Reviewer - The first section explains the change briefly for change-logs
  • Reviewer - Breaking Changes are marked with !!! and have upgrade-instructions

@mficzel mficzel requested a review from ahaeslich September 20, 2023 16:46
@mficzel mficzel marked this pull request as ready for review September 20, 2023 16:46
@mficzel mficzel requested a review from mhsdesign September 20, 2023 16:46
Copy link
Member

@mhsdesign mhsdesign left a comment

Choose a reason for hiding this comment

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

👍

Copy link
Member

@ahaeslich ahaeslich left a comment

Choose a reason for hiding this comment

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

I just wondered: do we want to keep Neos.Node.isLive() or did we discuss to remove this Eel Helper as well?

Copy link
Member

@mhsdesign mhsdesign left a comment

Choose a reason for hiding this comment

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

yes good point we want to remove the Neos.Node.isLive() - i didnt know it existed ;)

@ahaeslich
Copy link
Member

... and if we remove Neos.Node.isLive() we need to adjust Neos.Seo. And I guess there might be an outdated rector migration.

It was deprecated in #4505 in favor of `${userInterfaceMode.isEdit}`.
Since the ui is adjusted in neos/neos-ui#3618 it can now be removed.
@mficzel mficzel force-pushed the 90-removeNodeInBackendHelper branch from 68efe66 to 41651f6 Compare September 20, 2023 20:56
@ahaeslich ahaeslich changed the title TASK: Remove Neos.Node.inBackend() eel helper TASK: Remove Neos.Node.inBackend() and Neos.Node.isLive() eel helper Sep 21, 2023
@mhsdesign mhsdesign changed the title TASK: Remove Neos.Node.inBackend() and Neos.Node.isLive() eel helper TASK: Remove Neos.Node.inBackend() and Neos.Node.isLive() eel helper Sep 21, 2023
@mhsdesign mhsdesign merged commit 925ddc7 into 9.0 Sep 21, 2023
8 checks passed
@mhsdesign mhsdesign deleted the 90-removeNodeInBackendHelper branch September 21, 2023 06:56
ahaeslich added a commit that referenced this pull request Sep 21, 2023
@ahaeslich
Copy link
Member

Ah forgot that @mficzel already adjusted the rector migrations in neos/rector#22 🤦

I did adjust Neos.Seo where we introduced Neos.Node.isLive(): neos/neos-seo#179.

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