Skip to content

[Gutenberg] Implement custom JS code injection#12795

Merged
etoledom merged 26 commits intodevelopfrom
gutenberg/ube-custom-js-scripts
Sep 14, 2020
Merged

[Gutenberg] Implement custom JS code injection#12795
etoledom merged 26 commits intodevelopfrom
gutenberg/ube-custom-js-scripts

Conversation

@marecar3
Copy link
Copy Markdown
Contributor

@marecar3 marecar3 commented Aug 25, 2020

Fixes # This PR removes some references to window.wp.data.dispatch( 'automattic/nux' ); and "automattic/nux": and implements a mechanism to insert custom JS to be injected from the client.

To test: Follow instructions in gb PR WordPress/gutenberg#24658

gb-mobile PR: wordpress-mobile/gutenberg-mobile#2561
gutenberg PR: WordPress/gutenberg#24658

PR submission checklist:

  • I have considered adding unit tests where possible.
  • I have considered adding accessibility improvements for my changes.
  • I have considered if this change warrants user-facing release notes and have added them to RELEASE-NOTES.txt if necessary.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Aug 25, 2020

You can trigger optional UI/connected tests for these changes by visiting CircleCI here.

@peril-wordpress-mobile
Copy link
Copy Markdown

peril-wordpress-mobile bot commented Aug 25, 2020

You can test the changes on this Pull Request by downloading the APK here.

@marecar3 marecar3 requested a review from etoledom September 4, 2020 03:51
@marecar3 marecar3 requested a review from mchowning September 4, 2020 23:49
@loremattei loremattei removed this from the 15.7 ❄️ milestone Sep 7, 2020
@loremattei loremattei added this to the 15.8 milestone Sep 7, 2020
@loremattei
Copy link
Copy Markdown
Contributor

Hey there! I'm moving this to 15.8 because 15.7 has been already cut! If you want this to make it to 15.7, please feel free to ping me.

@marecar3
Copy link
Copy Markdown
Contributor Author

Hey 👋 @mchowning
Any chance that you can review this one also? Thanks!

Copy link
Copy Markdown
Contributor

@mchowning mchowning left a comment

Choose a reason for hiding this comment

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

Code looks good and I tested and it is working well! 👍

@etoledom etoledom merged commit 0d056f6 into develop Sep 14, 2020
@etoledom etoledom deleted the gutenberg/ube-custom-js-scripts branch September 14, 2020 09:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants