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

Gutenframe: remove observers that look for Query add post link #97202

Merged
merged 1 commit into from
Dec 9, 2024

Conversation

jsnajdr
Copy link
Member

@jsnajdr jsnajdr commented Dec 7, 2024

Gutenberg recently removed an "Add New Post" link from Query block sidebar UI. Calypso Gutenframe has mutation observer code that looks for this link and modifes its href attribute with a Calypsoified link.

This code is no longer relevant and this PR removes it. There are crashes reported by it.

@jsnajdr jsnajdr self-assigned this Dec 7, 2024
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Dec 7, 2024
@matticbot
Copy link
Contributor

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • notifications
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug remove/gutenframe-sidebar-observer on your sandbox.

@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Contributor

@nightnei nightnei left a comment

Choose a reason for hiding this comment

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

LGTM 👍
Thanks

@nightnei nightnei merged commit c165c65 into trunk Dec 9, 2024
16 of 17 checks passed
@nightnei nightnei deleted the remove/gutenframe-sidebar-observer branch December 9, 2024 11:42
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Dec 9, 2024
@tyxla
Copy link
Member

tyxla commented Dec 9, 2024

@jsnajdr sorry for the dumb question, but just to double-check: did we also deploy wpcom-block-editor after merging this?

P.S. Always nice to see some red lines!

@jsnajdr
Copy link
Member Author

jsnajdr commented Dec 9, 2024

did we also deploy wpcom-block-editor after merging this?

Yes, we discussed in Slack that we need to do this and it was deployed in D168136-code 👍

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.

4 participants