-
Notifications
You must be signed in to change notification settings - Fork 815
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
Eventbrite Block: Add alignment support #14817
Conversation
…e Eventbrite block. Fixes #14505
Caution: This PR has changes that must be merged to WordPress.com |
Thank you for the great PR description! When this PR is ready for review, please apply the Scheduled Jetpack release: April 7, 2020. |
@apeatling I'd recommend adding the Explorers Github team as a reviewer for broader exposure |
Just noting that the align options in the Calendly block have some issues with a wrapper div being removed from Gutenberg since the most recent WordPress release. I'm not sure if that effects Eventbrite--please be sure to test this one with and without the Gutenberg plugin activated. |
…t the iframe cannot be interacted with when alignment is set. See #14820
apeatling, Your synced wpcom patch D39459-code has been updated. |
@creativecoder Thanks for highlighting that. It was also an issue here and I've added the same fix to this block. Working correctly now. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This works well for me!
This doesn't work for me when in the "in-page embed" mode. I'm happy to fix this if you don't mind me making changes to your PR? Otherwise I'm happy to let you do it :) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The In-page embed
mode isn't working in the front end.
@scruffian Feel free to jump in on these PRs, no issue! |
…e server side rendered iframe embed.
apeatling, Your synced wpcom patch D39459-code has been updated. |
@scruffian Pushed a fix for the front end alignment. Feel free to adjust if there's a better way. |
apeatling, Your synced wpcom patch D39459-code has been updated. |
I made a few changes:
|
@scruffian Thanks! TIL about |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good now, but someone else should probably review it since I wrote a lot of this code :)
apeatling, Your synced wpcom patch D39459-code has been updated. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This seems to work fine for me.
I gave a look at Eventbrite's docs to see if there's a way to control the embedded max width, but apparently not, and so we are stuck to 1080px max.
While I'm not super into the gray background, we also need to consider that the effect would wildly vary based both on the screen size and the theme sizes.
What looks a bit off on Twenty Twenty on desktop, might look better on another theme, or another device.
Looks good thanks for the update @scruffian. 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM! 👍
r203918-wpcom |
* Initial changelog entry * Changelog: add #14904 * Changelog: add #14910 * Changelog: add #14913 * Changelog: add #14916 * Changelog: add #14922 * Changelog: add #14924 * Changelog: add #14925 * Changelog: add #14928 * Changelog: add #14840 * Changelog: add #14841 * Changelog: add #14842 * Changelog: add #14826 * Changelog: add #14835 * Changelog: add #14859 * Changelog: add #14884 * Changelog: add #14888 * Changelog: add #14817 * Changelog: add #14814 * Changelog: add #14819 * Changelog;: add #14797 * Changelog: add #14798 * Changelog: add #14802 * Changelog: add #13676 * Changelog: add #13744 * Changelog: add #13777 * Changelog: add #14446 * Changelog: add #14739 * Changelog: add #14770 * Changelog: add #14784 * Changelog: add #14897 * Changelog: add #14898 * Changelog: add #14968 * Changelog: add #14985 * Changelog: add #15044 * Changelog: add #15052 * Update to remove Podcast since it remains in Beta * Changelog: add #14803 * Changelog: add #15028 * Changelog: add #15065 * Changelog:add #14886 * Changelog: add #15118 * Changelog: add #14990 * Changelog: add #14528 * Changelog: add #15120 * Changelog: add #15126 * Changelog: add #15049 * Chanegelog: add #14852 * Changelog: add #15090 * Changelog: add #15138 * Changelog: add #15124 * Changelog:add #15055 * Changelog: add #15017 * Changelog: add #15109 * Changelog: add #15145 * Changelog:add #15096 * Changelog:add #15153 * Changelog: add #15133 * Changelog: add #14960 * Changelog: add #15127 * Changelog: add #15056 * Copy current changelog to changelog archive. * Clarify changelog description
Changes proposed in this Pull Request:
Add alignment support to the Eventbrite block. This works for both the modal button and in-page embed styles.
Fixes #14505
Is this a new feature or does it add/remove features to an existing part of Jetpack?
Testing instructions:
Proposed changelog entry for your changes: