-
Notifications
You must be signed in to change notification settings - Fork 58
feat(content-gating): update content gates UI #4345
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
Conversation
|
Tagging @thomasguillot for a design review since this implements some of the UI changes we talked about but never implemented during the meetup. Also, I thought about the idea of adding some filter controls to show and hide Trashed gates, but I think this PR is big enough for now. We can always implement more controls in another PR. |
miguelpeixe
left a comment
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.
Great changes! A few comments inline
miguelpeixe
left a comment
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.
Thank you for the revisions!
|
Hey @dkoo, good job getting this PR merged! 🎉 Now, the Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label. Thank you! ❤️ |
# [6.29.0-alpha.1](v6.28.0...v6.29.0-alpha.1) (2026-01-09) ### Bug Fixes * add default reader meta ([#4360](#4360)) ([01564ad](01564ad)) * **ads:** placement control value reset ([#4375](#4375)) ([72d7b68](72d7b68)) * **autocomplete:** improve value parsing in AutocompleteTokenField and ListsControl components ([#4376](#4376)) ([84e388d](84e388d)) * clarify the media credit placeholder image's labelling ([#4352](#4352)) ([4420b65](4420b65)) * **content-gating:** stop running `restrict_post` after gate is rendered ([#4368](#4368)) ([8489a6c](8489a6c)) * fallback password reset URL ([#4382](#4382)) ([06d1503](06d1503)) * hide 'trashed' subscriptions from My Account ([#4351](#4351)) ([e759378](e759378)) * **my-account:** top position on desktop ([#4355](#4355)) ([1b3255a](1b3255a)) * prevent doubled URL in reader registration block magic link ([#4379](#4379)) ([ba4d855](ba4d855)) * remove newspack-ui CSS class from my account when not logged in ([#4384](#4384)) ([2bb8630](2bb8630)) * remove space if no time ([#4380](#4380)) ([05c57e9](05c57e9)) * select specific product for content gifting and countdown banners ([#4366](#4366)) ([809c230](809c230)) * **sso:** change Jetpack configuration notice from error to warning ([#4383](#4383)) ([e5e0643](e5e0643)) * **subscriptions:** remove actions from gifted subscription ([#4362](#4362)) ([8fbc243](8fbc243)) * **update-payment-notice:** don't render on checkout ([#4356](#4356)) ([dd80c06](dd80c06)) ### Features * Add Managed Nextdoor Auth ([#4359](#4359)) ([fee2480](fee2480)) * add media credits to RSS feeds ([#4357](#4357)) ([e638447](e638447)) * **content-gating:** add Content Gate settings page ([#4363](#4363)) ([822c363](822c363)) * **content-gating:** enable content rule exclusions ([#4346](#4346)) ([1e5718b](1e5718b)) * **content-gating:** update content gates UI ([#4345](#4345)) ([4e22075](4e22075)) * rename newsletter tracking ([#4358](#4358)) ([3da6434](3da6434)) * **web-preview:** add ESC key support and dynamic titles for segments and prompts ([#4294](#4294)) ([7238d2f](7238d2f))
|
🎉 This PR is included in version 6.29.0-alpha.1 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
# [6.29.0](v6.28.2...v6.29.0) (2026-01-19) ### Bug Fixes * add default reader meta ([#4360](#4360)) ([01564ad](01564ad)) * **ads:** placement control value reset ([#4375](#4375)) ([72d7b68](72d7b68)) * **autocomplete:** improve value parsing in AutocompleteTokenField and ListsControl components ([#4376](#4376)) ([84e388d](84e388d)) * clarify the media credit placeholder image's labelling ([#4352](#4352)) ([4420b65](4420b65)) * **content-gating:** stop running `restrict_post` after gate is rendered ([#4368](#4368)) ([8489a6c](8489a6c)) * fallback password reset URL ([#4382](#4382)) ([06d1503](06d1503)) * hide 'trashed' subscriptions from My Account ([#4351](#4351)) ([e759378](e759378)) * **my-account:** top position on desktop ([#4355](#4355)) ([1b3255a](1b3255a)) * prevent doubled URL in reader registration block magic link ([#4379](#4379)) ([ba4d855](ba4d855)) * remove newspack-ui CSS class from my account when not logged in ([#4384](#4384)) ([2bb8630](2bb8630)) * remove space if no time ([#4380](#4380)) ([05c57e9](05c57e9)) * select specific product for content gifting and countdown banners ([#4366](#4366)) ([809c230](809c230)) * **sso:** change Jetpack configuration notice from error to warning ([#4383](#4383)) ([e5e0643](e5e0643)) * **subscriptions:** remove actions from gifted subscription ([#4362](#4362)) ([8fbc243](8fbc243)) * **update-payment-notice:** don't render on checkout ([#4356](#4356)) ([dd80c06](dd80c06)) ### Features * Add Managed Nextdoor Auth ([#4359](#4359)) ([fee2480](fee2480)) * add media credits to RSS feeds ([#4357](#4357)) ([e638447](e638447)) * **content-gating:** add Content Gate settings page ([#4363](#4363)) ([822c363](822c363)) * **content-gating:** enable content rule exclusions ([#4346](#4346)) ([1e5718b](1e5718b)) * **content-gating:** update content gates UI ([#4345](#4345)) ([4e22075](4e22075)) * rename newsletter tracking ([#4358](#4358)) ([3da6434](3da6434)) * **web-preview:** add ESC key support and dynamic titles for segments and prompts ([#4294](#4294)) ([7238d2f](7238d2f))
|
🎉 This PR is included in version 6.29.0 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |

All Submissions:
Changes proposed in this Pull Request:
Tweaks for the Content Gates UI:
Meteringcomponent for parity withAccessRulesandContentRulescomponentsHow to test the changes in this Pull Request:
wp post delete $(wp post list --post_type=np_content_gate --post_status=all --format=ids) --forceOther information: