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

Fix out-of-bounds menus on the admin #27958

Merged
merged 9 commits into from
Dec 21, 2022
Merged

Conversation

valterlorran
Copy link
Contributor

@valterlorran valterlorran commented Dec 15, 2022

The submenu could be displayed outside of the user's screen visibility. Beyond that, hovering the Settings menu had the potential of causing endless flickering.

Before

Screen Shot 2022-12-15 at 10 02 40

After

Screen Shot 2022-12-15 at 10 02 06

Fixes Automattic/wp-calypso#71198

Changes proposed in this Pull Request:

  • Display the submenu upwards when it is out of bounds

Other information:

  • Have you written new tests for your changes, if applicable?
  • Have you checked the E2E test CI results, and verified that your changes do not break them?
  • Have you tested your changes on WordPress.com, if applicable (if so, you'll see a generated comment below with a script to run)?

Jetpack product discussion

n/a

Does this pull request change what data or activity we track or use?

n/a

Testing instructions:

  • Visit wp-admin/site-health.php
  • Adjust your screen to a size of a 13-14" Macbook
  • Hover over Settings
  • The submenu should show upwards
  • Flickering should no longer occur

@valterlorran valterlorran self-assigned this Dec 15, 2022
@valterlorran valterlorran added [Type] Bug When a feature is broken and / or not performing as intended Admin Page React-powered dashboard under the Jetpack menu labels Dec 15, 2022
@valterlorran valterlorran requested a review from a team December 15, 2022 13:04
@github-actions github-actions bot added [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Feature] Masterbar WordPress.com Toolbar and Dashboard customizations labels Dec 15, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2022

Thank you for your PR!

When contributing to Jetpack, we have a few suggestions that can help us test and review your patch:

  • ✅ Include a description of your PR changes.
  • ⚠️ All commits were linted before commit.
  • ✅ Add a "[Status]" label (In Progress, Needs Team Review, ...).
  • ✅ Add testing instructions.
  • ✅ Specify whether this PR includes any changes to data or privacy.
  • ✅ Add changelog entries to affected projects

This comment will be updated as you work on your PR and make changes. If you think that some of those checks are not needed for your PR, please explain why you think so. Thanks for cooperation 🤖


The e2e test report can be found here. Please note that it can take a few minutes after the e2e tests checks are complete for the report to be available.


Once your PR is ready for review, check one last time that all required checks (other than "Required review") appearing at the bottom of this PR are passing or skipped.
Then, add the "[Status] Needs Team review" label and ask someone from your team review the code.
Once you’ve done so, switch to the "[Status] Needs Review" label; someone from Jetpack Crew will then review this PR and merge it to be included in the next Jetpack release.


Jetpack plugin:

  • Next scheduled release: January 3, 2023.
  • Scheduled code freeze: December 26, 2022.

@github-actions github-actions bot added the [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! label Dec 15, 2022
@github-actions
Copy link
Contributor

github-actions bot commented Dec 15, 2022

Are you an Automattician? You can now test your Pull Request on WordPress.com. On your sandbox, run bin/jetpack-downloader test jetpack fix/out-of-bounds-menu to get started. More details: p9dueE-5Nn-p2

@valterlorran valterlorran added the [Status] Needs Review To request a review from Crew. Label will be renamed soon. label Dec 15, 2022
Copy link
Member

@mmtr mmtr left a comment

Choose a reason for hiding this comment

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

Thanks for the speedy fix!

It tests well but I think there is a small regression.

When I test this on an Atomic site, the "arrow" is missing on submenus that are displayed downwards:

Before After
Screenshot 2022-12-15 at 15 28 42 Screenshot 2022-12-15 at 15 27 30

@mmtr
Copy link
Member

mmtr commented Dec 15, 2022

Also, when I test this on a Simple site, the submenus are moved to the top somehow?

Screen.Recording.2022-12-15.at.15.42.07.mov

Copy link
Contributor

@daledupreez daledupreez left a comment

Choose a reason for hiding this comment

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

This isn't working as expected. I used the Jetpack Beta plugin to run this branch, and I now see the menus jumping up too high.

Screen.Recording.2022-12-15.at.16.42.40.mov

@valterlorran
Copy link
Contributor Author

The problem with the simple site is that the common.js code is also being executed. Causing the dropdown to be positioned twice.

@valterlorran
Copy link
Contributor Author

Let me know what you think about the check that I added:

if ( document.querySelector('body.jetpack-masterbar') ) {

This will prevent it from running this code on simple sites.

@samiff samiff added this to the Jetpack 11.7 milestone Dec 15, 2022
@samiff samiff self-requested a review December 15, 2022 21:45
@samiff samiff removed the [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! label Dec 15, 2022
@samiff
Copy link
Contributor

samiff commented Dec 15, 2022

Looks like it won't run for simple sites now, and the placement is looking good to me. I did notice maybe something odd with the color of the small arrow:

Screen.Recording.2022-12-15.at.2.59.52.PM.mov

I wonder if you see that on your end?

@samiff samiff added [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! and removed [Status] Needs Review To request a review from Crew. Label will be renamed soon. labels Dec 15, 2022
@PanosSynetos
Copy link
Contributor

Thanks so much for the prompt action and solving this issue! Much appreciated!

It might be a good idea to test this on mobiles too, I have it on my todo list for Monday, but speaking out loud just in case someone has already tested it :)

@valterlorran
Copy link
Contributor Author

@samiff, thanks for catching it. The arrow depends on the focus of the menu item to display, so we should remove the focus when the mouse leaves the menu item.

Copy link
Member

@mmtr mmtr left a comment

Choose a reason for hiding this comment

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

Pretty close! There is a small regression when the menu is collapsed that places the submenus too separated from the sidebar:

Screenshot 2022-12-19 at 12 25 29

@valterlorran
Copy link
Contributor Author

@mmtr I was not able to reproduce it. Can you share the steps it took to break it?

@mmtr
Copy link
Member

mmtr commented Dec 20, 2022

@valterlorran Super weird, I cannot reproduce it now, so maybe it was a temporary glitch 🤔.

mmtr
mmtr previously approved these changes Dec 20, 2022
@mmtr mmtr added [Status] Ready to Merge Go ahead, you can push that green button! and removed [Status] Needs Author Reply We would need you to make some changes or provide some more details about your PR. Thank you! labels Dec 20, 2022
@valterlorran
Copy link
Contributor Author

@mmtr I don't understand why the check codecov/patch is failing. Do you know what is happening?

@mmtr
Copy link
Member

mmtr commented Dec 21, 2022

@valterlorran I think you can ignore that, it's failing in other PRs as well.

@valterlorran valterlorran merged commit 2a990ef into trunk Dec 21, 2022
@valterlorran valterlorran deleted the fix/out-of-bounds-menu branch December 21, 2022 12:20
@github-actions github-actions bot removed the [Status] Ready to Merge Go ahead, you can push that green button! label Dec 21, 2022
romarioraffington added a commit that referenced this pull request Jan 4, 2023
* Boost: Fix regenerate admin notice (#28012)

* Show regenerate notice only if Critical CSS module is active

* changelog

* Boost: Add image guide package (#27952)

* Add package image-guide

* [not verified] Attempt to use the image-guide package

* changelog

* Specify a main file in package.json

* Two step build

* Use simpler type syntax since prettier... doesn't like it?

* Build image-guide on boost e2e tests

* changelog

* Setup tests

* Attempt to fix imports

* Change main file

* Fixed monorepo package dependencies

* changelog

* Update package.lock

* Update boost pnpm packages

* Attempt to fix monorepo package version refs

* changelog

* Another attempt to fix failed checks

* changelog

* Update boost packages

* Revert main in package.json

* Change main file

* Fix type imports

* [not verified] Revert "Fix type imports"

This reverts commit 66c2eadf0bb452121c45e7ef1887f632a977d09e.

* Allow heart-of-team to approve PRs for image-guide js package

* Specify main and types files separately

* Import types differently

Co-authored-by: Mark George <thingalon@gmail.com>

* Premium Content / Subscriptions: introduce Paid Newsletter functionality (#26417)

Co-authored-by: brent <brent@n3f.com>
Co-authored-by: Fabien MILLERAND <fab@millerf.com>
Co-authored-by: Brent Nef <nef@a8c.com>
Co-authored-by: Romario <romarioraff@gmail.com>
Co-authored-by: Matías Ventura <mv@matiasventura.com>
Co-authored-by: Matias Ventura <matias@automattic.com>
Co-authored-by: MILLER/F <millerf@automattic.com>
Co-authored-by: Kuba Birecki <kuba.birecki@crystalplanet.io>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* Add/auto publish for image guide (#28032)

Co-authored-by: Mark George <thingalon@gmail.com>

* Gifting toggle: Update default value based on plan expiration date (#27987)

Co-authored-by: Candy Tsai <candy02058912@gmail.com>

* Fix out-of-bounds menus on the admin (#27958)

* [not verified] Fix the out-of-bounds menu. It also caused the menu to flicker if you positioned the mouse in a specific position

* [not verified] Add the listener in the init funciton

* [not verified] Fix the arrow display

* [not verified] Fix missing spaces and changelog text

* [not verified] Prevent code from running twice

* [not verified] Add explanation for using a fallback for the viewport check

* [not verified] Remove the focus when leave the main element

* [not verified] Use the link height instead of hardcoding it

* [not verified] Checking if the site is atomic through a global variable instead of using a class to do it

Co-authored-by: Valter Lorran <valter.lorran@automattic.com>

* Contact Form: Adjust Form placeholder footer links styles (#28008)

* Adjust Form placeholder footer links style

* changelog

* Internationalization: fix context for translated product name. (#28035)

* Removing box-sizing:border-box from Base Styles (#28024)

* Jetpack: Add responses export modal (#27821)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Allow supporting merge PRs with changelogger. (#27881)

* [not verified] Allow supporting merge PRs with changelogger.

* [not verified] Add changelog.

* [not verified] Update version number for CLI.

* [not verified] Upgrade changelogger reference in all plugins.

* [not verified] Add changelogs.

* [not verified] Also add support for default merge message from GH.

* [not verified] Add unit test for supporting merge in changelogger.

* [not verified] Remove unneeded capturing groups and added anchoring.

* [not verified] Apply coding standards.

* [not verified] Remove redundant test.

* VideoPress: Add videopress embed shortcode (#27842)

* [not verified] add jetpack_videopress shortcode

* [not verified] move width and height out of poster data

* [not verified] add generated jetpack_videopress shortcode to video details component

* [not verified] changelog

* [not verified] specify the video block

* [not verified] improve shortcode markup

* [not verified] read guid as first unnamed argument

* change shortcode to videopress and override jetpack shortcode

* [not verified] change generated shortcode

* changelog

* fix video url on block by id

* fix versions

* simplify existing shortcode check

* add cover attribute

* Blocks: switch to new shared, extracted implementation of Tracks (#27940)

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>

* Blogging Prompts: Don't display within app webviews (#28023)

If a block is unsupported in the mobile app, a user can still edit it via a web view (known as the "Unsupported Block Editor" or "UBE"). Since the introduction of the blogging/writing prompts on WordPress.com, the block no longer loads within the UBE. The prompts display instead.

This PR fixes that issue by preventing the prompts from displaying if it's detected that the editor is loading from the mobile app.

* Fix layout visual issues (#28055)

* my-jetpack: fix Product card layout issue

* fix product card detail layout issue

* fix VideoPress seach layout issue

* fix VideoPress detail input layout issue

* changelog

* fix VideoPress clipboard button layout issue

* bump My Jetpack version

* CLI: Cleanup release command next messages (#28041)

* Add new i18n fonts and rename them via filter (#27854)

* VideoPress: improve blocks building process (#28025)

* Add copy-webpack-plugin dep

* changelog

* re-organize building blocks folders

* copy block.json files when building

* point to buld when registering blocks

* fix file paths in video block def

* fix file paths Video Chapters block def

* exclude src/client files in prod

* Copy extensions index file JSON file to the build directory

* Reference correct extensions index JSON file

* use Assets lib to regiters extensions

* refactor extensions. Add helpers.

* move copy-webpack-plugin to dev deps

* load scritps to handle extendd blocks

* debug() unregistering core/embed videopress

* update deps

Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>

* Contact Form: Update child blocks icons (#28047)

* Update Form child blocks icons

* changelog

* Admin page: avoid warning when disconnecting Jetpack (#28003)

* Payment blocks: Fix upgrade nudge in the site editor (#27909)

* Payment blocks: Fix upgrade nudge in the site editor.

* Pass only "ref" from blockProps

* VideoPress: remove video editor.js unused file (#28060)

* remove unused editor.js file

* changelog

* Revue block: Part 1 of retiring the block - adding a placeholder message. (#27961)

* Subscribe Block: ensure custom button spacing is correct (#28057)

* Shortcode: Update Mixcloud oEmbed url and fix up typos (#28061)

Co-authored-by: Derek Smart <smart@automattic.com>

* Add review prompt for social plugin (#27917)

* Initial placement of review prompt in post publish panel

* Add ability to dismiss review prompt

* Update the permission check function name

* changelog

* Update conditions for showing the review prompt

* Fix project versions

* Add analytics to review prompt

* Swap out typed URL

* Conditionally load the connection state

* Updates based on feedback, performance improvements

* Fix connection package JS error

* move analytics functionality into an existing hook, fix logic error

* changelog

* Refine conditions for when the review request should show

* Allow review prompt to be disabled via filter, add check for post already shared

* Change method for checking whether post is already shared

* changelog

* Fix meta default for already shared

* version management

* Clean up Image-Guide (#28053)

* Add the image-guide to exclusions from the Jetpack and packages list

* Mark it as non-private for npm publishing

* Remove eslint file, to let the standard monorepo rules in the door

* changelog

* Clean up linting complaints

Co-authored-by: Mark George <thingalon@gmail.com>

* Boost/ignore analytics failures (#28051)

* Do not allow analytics errors to break other things

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Boost: Add image guide tracks (#28056)

* Track image-guide ui toggle

* Track image guide images and page

Signed-off-by: Adnan Haque <adnan007.id@gmail.com>

* Add initial state and page impact tracking to image guide

Signed-off-by: Adnan Haque <adnan007.id@gmail.com>

* changelog

* Fix build issues

Signed-off-by: Adnan Haque <adnan007.id@gmail.com>

* Revert "Add review prompt for social plugin (#27917)" (#28066)

This reverts commit 09d067639a48fbdf29389d95fe2bb876ee8c3ba9.

* Admin: use minimzed CSS for stats widget (#27788)

* Sync: Add an option key to WooCommerce whitelist (#27988)

* [not verified] Sync: Add more option keys to Woo whitelist

These are some additional options for WooCommerce that should probably
be synced

Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* Stats: Update dependencies for stats admin bundle (#28065)

* [not verified] load dependencies for stats bundle

* [not verified] changelog

* fix versions

* Blocks: iterate on the design of the Promote post-publish panel (#27960)

* Blocks: add a new Analytics hook

This should be used in the Jetpack plugin instead of the currently hardcoded analytics pulled from the React dashboard.
We can then leverage it in other plugins as well.

* Fix imports

* Get connection data from conn. package instead of Jetpack data

This should prove easier to use by other standalone plugins, which do not have the same data passed to JavaScript via Jetpack_Editor_Initial_State.
Grabbing the data from the connection package should consequently be easier.

* Expand docs

* Blocks: switch to new shared, extracted implementation of Tracks

This is a follow-up to #27937.

* Blocks: update Promote button in post-publish panel

Let's turn the simple link into a button so it is more visible. This also follows the pattern already in use in the Anchor post-publish panel.

This also updates tracking for this button click to use the new tool introduced in #27937

* Update the icon

See https://github.com/Automattic/jetpack/pull/27960#issuecomment-1362793951

* Rename tracks event

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>
Co-authored-by: Derek Smart <smart@automattic.com>

* Blaze: move plugin out of the Jetpack plugin and into package (#28062)

* Blocks: add a new Analytics hook

This should be used in the Jetpack plugin instead of the currently hardcoded analytics pulled from the React dashboard.
We can then leverage it in other plugins as well.

* Fix imports

* Get connection data from conn. package instead of Jetpack data

This should prove easier to use by other standalone plugins, which do not have the same data passed to JavaScript via Jetpack_Editor_Initial_State.
Grabbing the data from the connection package should consequently be easier.

* Expand docs

* Blocks: switch to new shared, extracted implementation of Tracks

This is a follow-up to #27937.

* Blocks: update Promote button in post-publish panel

Let's turn the simple link into a button so it is more visible. This also follows the pattern already in use in the Anchor post-publish panel.

This also updates tracking for this button click to use the new tool introduced in #27937

* Update the icon

See https://github.com/Automattic/jetpack/pull/27960#issuecomment-1362793951

* Blaze: move plugin out of the Jetpack plugin and into package

This is a follow-up to the following PRs:

- #27928 introducing the panel
- #27960 changing the panel's design.

This commit brings in:
- The panel's code from the Jetpack plugin.
    - We change the way we register the panel, so it can be registered outside of the Jetpack plugin; it shouldn't rely on the list of enabled extensions that is managed by the Jetpack plugin.
- The tooling to build the JavaScript bundle in the package.
- The dependencies for it.
- We then enqueue that bundle in the block editor.

* Fix build errors: process sass

* Add watch command for building the client.

* update lock files

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>

* Site Settings API: Expose `show_on_front` and `page_on_front` options (#28042)

* [not verified] Site Settings API: expose  and  options

* [not verified] changelog

* [not verified] Improve validation for updating of both option values

* [not verified] Remove invalid update case

* [not verified] Add test case

* Add  settings api test case

* Add options to test endpoint

* WAF: Check if rule files exist before requiring them (#28050)

* Promote Posts: Rename package to Blaze (#28073)

* Promote Posts: Rename to Blaze

* changelog

* update composer dependency in Jetpack

* remove testing code

* Rename descriptions too

* Uppercase, and bump things for new repos

* Update lock

* Fix bug label

* try composer lock again

* Apply suggestions from code review

Co-authored-by: Karen Attfield <karenlattfield@gmail.com>

* fix linting errors caused by committing suggestions from review.

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>

* Contact Form: Adjust Form placeholder colors (#28044)

* Protect: Hide WAF screen on unsupported platforms (#27939)

* My Jetpack: Move VaultPress Backup out of hybrid concept (#28022)

* My Jetpack: Move Social out of hybrid concept (#28074)

* Image guide: Updating the package version and changelogger (#28071)

* Updating the image guide package version and changelogger

* Updating package.json version

* Image Guide: Fix image guide package (#28080)

* Remove prepare script

* changelog

* Add a release branch prefix to independently release image-guide

* Image Guide: Remove release branch prefix (#28081)

* Remove imageg-guide branch prefix

* changelog

* Image Guide: Update versions (#28082)

* Update changelog

* Remove release branch prefix from image-guide

* Bump version number

* Init 11.7-a.10 plus changelogs (#28086)

* Jetpack 11.7-a.9: Updating the Jetpack plugin changelog and readme. (#28089)

* VideoPress: Shortcode adjustments (#28083)

* add muted attribute to video shortcode override

* fix active standalone plugin check

* add aspect ratio and default cover as false

* fix cover attribute on jetpack videopress player

* disable cover for video shortcode override

* changelog

* bump version

* My Jetpack: Move VideoPress out of hybrid concept (#28097)

* My Jetpack: Move VideoPress extends from Hybrid to Product

* My Jetpack: Add tests for VideoPress Product

* Changelog

* Bump version

* Rollback phpcsstandards updates to fix trunk test failures. (#28099)

* Rolled back PHPCS utils updates that cause breaking tests.

* Changelog.

* Project versions.

* Fix `Linting / ESLint (non-excluded files only)` test (#28103)

* Revert "Premium Content / Subscriptions: introduce Paid Newsletter functionality (#28102)

* Revert "Premium Content / Subscriptions: introduce Paid Newsletter functionality (#26417)"

This reverts commit ab1665d12cc8baaff91e3dffa2b5089762674f7e.

* changelog

* My Jetpack: Manage Connection modal layout fix (#28101)

* fix box-sizing on manage connections modal footer

* changelog

* fix versions

Co-authored-by: Alvaro Vega <alvaro.vega@automattic.com>

* Creating new release (#28110)

* [Package] My Jetpack: Add connection support + manage links and append Owner word to connection owner (#28095)

* [not verified] Add learn more and manage links

* [not verified] changelog

* [not verified] Append (Owner) to the name when owned by user

* [not verified] Update tests

* [not verified] Remove empty space if not owner, modify logic for space after connectionInfoText

* Blaze: Enable in Jetpack by default (#28077)

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>

* Protect: Add scan progress bar (#27171)

* Initialize add/scan-in-protect feature branch

* Protect: Formalize status, extension, and threat data with model classes (#25426)

* Protect: Update use of 'vulnerability' naming to more generic 'threat' convention (#25445)

* Protect: Update vulnerability list designs (#26448)

* Rebase to add/scan-in-protect - Implement Protect threat item CTA design changes, changelog entry

* Minor spacing adjustment

* Protect: Update footer designs (#26399)

* Rebase to add/scan-in-protect - Implement Protect admin footer designs, changelog entry

* Minor spacing adjustment

* Reduce spacing to match designs

* Add siteSuffix to jetpackProtectInitialState and update footer links accordingly

* Add placeholder and TODO comment for remaining missing Cloud learn more link

* Remove Learn more button from Cloud product section until an appropriate link is available

* Protect: Update pricing page (#26210)

* Changelog entry

* Update Admin component

* Update Interstitial component

* Add PricingTable component

* Minor spacing adjustment

* Remove feature item tooltip icon and popover details until we have content available for them

* Introduce a Plan class for extracting plan data from the WPcom public API, to ensure we can access pricing details regardless of cxn status

* Protect: Add Scan API as the data source for users with a scan plan (#26119)

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* Fix sample vulnerability type

* changelog

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* [not verified] Fix sample vulnerability type

* [not verified] changelog

* [not verified] Update use of 'vulnerability' naming to more generic 'threat' convention

* [not verified] Update additional uses of 'vulnerability' naming to more generic 'threat' convention

* [not verified] changelog

* [not verified] Fix property name capitalization

* [not verified] Add Scan API as a data source in Protect

* Default checked to true for Scan API results, for now

* Fix PHPDoc for class property

* changelogs

* Move cache functionality to parent Status class, and cache Scan_Status API calls

* Fix implementation of Jetpack_Plan class

* Ensure Jetpack_Plan class exists before calling static supports() method

* Add REST API endpoint to remotely clear the Scan API cache

* Reduce cache duration to 5 minutes for the Scan API data source

* Add scan results to Protect debug helper module

* Fix: filename threat property name

* Fix: add missing threat count incrementations

* Fix: check for filename instead of file property

* Restore use of constants instead of class properties

* add permission callback for Protect cache clear endpoint

* Fix tests

* Fix test serialization issue

* Add serialization to the other status class just in case

* Fix linting error

* Fix linting violations

* Protect: Add support for displaying file and database threats (#26418)

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* Add file and database threats to the Protect UI

* Changelog

* Add overflow-x to filename class

* Add overflow-x to .threat-filename

* Update styles.module.scss

Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>

* Protect: add the ability to ignore threats for paid plan users (#26571)

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* Add file and database threats to the Protect UI

* Changelog

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* [not verified] Add file and database threats to the Protect UI

* [not verified] Changelog

* [not verified] Add the ability to ignore threats to Protect

* Update ignore threat warning message

* Changelog

* Add permission callback to ignore threat endpoint

Co-authored-by: Miguel Xavier Penha Neto <miguel.neto@automattic.com>

Co-authored-by: Miguel Xavier Penha Neto <miguel.neto@automattic.com>
Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>

* Protect: Update product upgrade (#26570)

* Update Protect upgrade product from Security Bundle to Scan and add temporary footer content

* Changelog entry

* Update new threat item CTA to use Scan as upgrade product

* Update Interstitial stories mock data from securityBundle to jetpackScan

* Update remaining securityBundle instances

* Update new pricing page to use Scan as upgrade product

* Update remaining securityBundle instances

* Update Plan class default to use Scan

* Use Plan class in primary Jetpack_Protect class

* Add AdminSectionHero component to pricing page

* Update ThreatsNavigation component to use Scan in hasRequiredPlan check

* Add temporary conditional logic for threat item CTA display

* Use Scan class has_required_plan() method to accurately detect the presence of the Scan module

* Protect: Add paid UI using Scan API data source (#26533)

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* Fix sample vulnerability type

* changelog

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* [not verified] Fix sample vulnerability type

* [not verified] changelog

* [not verified] Update use of 'vulnerability' naming to more generic 'threat' convention

* [not verified] Update additional uses of 'vulnerability' naming to more generic 'threat' convention

* [not verified] changelog

* [not verified] Fix property name capitalization

* [not verified] Add Scan API as a data source in Protect

* Default checked to true for Scan API results, for now

* Fix PHPDoc for class property

* changelogs

* Move cache functionality to parent Status class, and cache Scan_Status API calls

* Fix implementation of Jetpack_Plan class

* Ensure Jetpack_Plan class exists before calling static supports() method

* Add REST API endpoint to remotely clear the Scan API cache

* Reduce cache duration to 5 minutes for the Scan API data source

* Add scan results to Protect debug helper module

* Fix: filename threat property name

* Fix: add missing threat count incrementations

* Fix: check for filename instead of file property

* Introduce separation between free and paid threats-lists components

* Update ThreatsList components to apply conditional UI changes based on plan requirements

* Correct path for useThreatsList import

* Reverse logic on required plan check

* Changelog entry

* Optimize ThreatSeverityBadge component functions

* Resolve build issues with optimizations breaking translations

* Update sprintf comment accordingly

* Update PaidList to include source property

* Restore use of constants instead of class properties

* Hook up Scan API data source and fix minor styling and wording issues

* Display fixer buttons conditionally based on fixable property presence, update Auto fix all button to display fixableCount

* Fix Icon span display in mobile when threat is not fixable

* add permission callback for Protect cache clear endpoint

* Update threat header and footer class names

* Update button spacing

* Fix tests

* Add ThreatSeverityBadge component to ignore threat modal

* Improve naming consistency

* Fix threats-list component styling issues

* Add and import dedicated stylesheet for free-accordion component

* Remove addressed to-do comments

* Remove unneeded free-accordion component styles

* Use flexbox for threat list header (#26860)

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Protect: Add ability to manually enqueue scans (#26793)

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* Fix sample vulnerability type

* changelog

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* [not verified] Fix sample vulnerability type

* [not verified] changelog

* [not verified] Update use of 'vulnerability' naming to more generic 'threat' convention

* [not verified] Update additional uses of 'vulnerability' naming to more generic 'threat' convention

* [not verified] changelog

* [not verified] Fix property name capitalization

* [not verified] Add Scan API as a data source in Protect

* Default checked to true for Scan API results, for now

* Fix PHPDoc for class property

* changelogs

* Move cache functionality to parent Status class, and cache Scan_Status API calls

* Fix implementation of Jetpack_Plan class

* Ensure Jetpack_Plan class exists before calling static supports() method

* Add REST API endpoint to remotely clear the Scan API cache

* Reduce cache duration to 5 minutes for the Scan API data source

* Add scan results to Protect debug helper module

* Fix: filename threat property name

* Fix: add missing threat count incrementations

* Fix: check for filename instead of file property

* Introduce separation between free and paid threats-lists components

* Update ThreatsList components to apply conditional UI changes based on plan requirements

* Correct path for useThreatsList import

* Reverse logic on required plan check

* Changelog entry

* Optimize ThreatSeverityBadge component functions

* Resolve build issues with optimizations breaking translations

* Update sprintf comment accordingly

* Update PaidList to include source property

* Restore use of constants instead of class properties

* Hook up Scan API data source and fix minor styling and wording issues

* Display fixer buttons conditionally based on fixable property presence, update Auto fix all button to display fixableCount

* Fix Icon span display in mobile when threat is not fixable

* add permission callback for Protect cache clear endpoint

* Update threat header and footer class names

* Update button spacing

* Fix tests

* Add ThreatSeverityBadge component to ignore threat modal

* Improve naming consistency

* Add manual scan functionality

* Changelogger entry

* Update Client wpcom request to blog specific method and remove scan modal

* Fix manualScan link CSS sudo class effects

* Add a scanIsEnqueuing state for the isLoading property of the Scan now button

* Change up manual scan action flow - click, scan enqueuing state true, success notice, refresh status, catch error, scan enqueuing state false

* Fix threats-list component styling issues

* Add and import dedicated stylesheet for free-accordion component

* Remove addressed to-do comments

* Remove unneeded free-accordion component styles

* Use flexbox for threat list header (#26860)

* Address review feedback

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Protect: Add ability to auto-fix threats (#26686)

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* Fix sample vulnerability type

* changelog

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* [not verified] Fix sample vulnerability type

* [not verified] changelog

* [not verified] Update use of 'vulnerability' naming to more generic 'threat' convention

* [not verified] Update additional uses of 'vulnerability' naming to more generic 'threat' convention

* [not verified] changelog

* [not verified] Fix property name capitalization

* [not verified] Add Scan API as a data source in Protect

* Default checked to true for Scan API results, for now

* Fix PHPDoc for class property

* changelogs

* Move cache functionality to parent Status class, and cache Scan_Status API calls

* Fix implementation of Jetpack_Plan class

* Ensure Jetpack_Plan class exists before calling static supports() method

* Add REST API endpoint to remotely clear the Scan API cache

* Reduce cache duration to 5 minutes for the Scan API data source

* Add scan results to Protect debug helper module

* Fix: filename threat property name

* Fix: add missing threat count incrementations

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* Add file and database threats to the Protect UI

* Changelog

* Fix: check for filename instead of file property

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* [not verified] Add file and database threats to the Protect UI

* [not verified] Changelog

* Introduce separation between free and paid threats-lists components

* Update ThreatsList components to apply conditional UI changes based on plan requirements

* Correct path for useThreatsList import

* Reverse logic on required plan check

* Changelog entry

* Optimize ThreatSeverityBadge component functions

* Resolve build issues with optimizations breaking translations

* Update sprintf comment accordingly

* Update PaidList to include source property

* Restore use of constants instead of class properties

* Hook up Scan API data source and fix minor styling and wording issues

* Display fixer buttons conditionally based on fixable property presence, update Auto fix all button to display fixableCount

* Fix Icon span display in mobile when threat is not fixable

* add permission callback for Protect cache clear endpoint

* [not verified] Add the ability to ignore threats to Protect

* Update threat header and footer class names

* Update button spacing

* Fix tests

* Update ignore threat warning message

* Changelog

* Fix test serialization issue

* Add serialization to the other status class just in case

* Fix linting error

* Fix linting violations

* Protect: Add support for displaying file and database threats (#26418)

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* Add file and database threats to the Protect UI

* Changelog

* Add overflow-x to filename class

* Add overflow-x to .threat-filename

* Update styles.module.scss

Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>

* Add permission callback to ignore threat endpoint

* [not verified] Add initial server side functionality for fixing threats

* [not verified] Add ability to fix individual threats on the front end

* Add permission callback for fix threat api

* Fix fix_threat action

* Add ThreatSeverityBadge component to ignore threat modal

* Improve naming consistency

* Show modal asking for credentials when trying to fix if no credential is set

* Implement fix all modal

* Fix styling

* Remove duplicated siteSuffix

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Return false if response parsing fails

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Fix wrong docblock

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Add second parameter to useEffect dependency array

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Change return to boolean for consistency sake

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Fix syntax

* Fix passing of threatList props to modal, and add JSDoc block for setModal action

* Fix error from resolving merge conflicts

* Remove duplicate fixer and scan buttons left over from merge conflict

* Add credentials loading handling and indicator to fix all threats modal.

* Move credentials checks into a reusable component

* Poll for fixer status after triggering an auto-fix

* use async promise for fixer status check

* Fix missing dispatch call

* Decode response from fix threats endpoint

* Adjust styling of threat fix headers

* Add API endpoint to send a GET request to WPCOM fixer endpoint

* Use new fix-threats-status endpoint in getFixThreatsStatus()

* Fix button position in case of long threat header title

* Fix PHPCS linting issues

* Do not resolve in progress threats promise to prevent status refresh before threats are fixed

* Include 'unavailable' credentials status in the credentials needed check

* Add scan button to summary when no threat list is shown

* Add mobile styles for scan button in summary

* Remove use of data param from GET apiFetch request

* SCSS syntax error fix

* Fix button width on desktop

* Add threat IDs via the query string when sending a GET request

* Add success message when threats have been fixed

* Remove hard-coded threat count amount

* Clear the cache after checking for threat fix status

* Add a ?hard-refresh option to the status API endpoint, so the app can request fresh data

* [not verified] Revert "Add a ?hard-refresh option to the status API endpoint, so the app can request fresh data"

This reverts commit 94bd744308fa6dd3a5d6fe3739be90e848f9b0f8.

* Fix button styles

* Poll status until scanning begins after triggering a manual scan

* Poll credentials as long as the credentials-needed-modal is open

* Poll for credentials while the credentials-needed modal is open

* Poll for credentials while the credentials-needed modal is open

* Add key prop to mapped ThreatFixHeader

* Validate that all threats were fixed in getFixThreatsStatus()

* Move useCredentialState() hook into the AdminPage so it doesn't run when disconnected

* Hard reload (no cache) status when polling until scanning

* Hard reload (no cache) status when polling

* Remove 'in_progress' from scanning check, as that is only applicable to the Protect Status data source

* Show loading spinner when an auto-fix is in progress

Co-authored-by: dkmyta <dkmyta10@gmail.com>
Co-authored-by: Miguel Xavier Penha Neto <miguel.neto@automattic.com>
Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>

* Clear both protect and scan cache on ?hard_refresh status requests

* Fix credentials polling

* Add READMEs for CredentialsGate, Modal, and Notice components

* Continue polling status until lastChecked has a value

* Protect: Add user connection gate for applicable actions (#26909)

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* Fix sample vulnerability type

* changelog

* [not verified] Add data models for the status and its related extensions and threats

* [not verified] changelog

* [not verified] Fix: use core information from status when generating

* [not verified] Remove extension property from Threat_Model

* [not verified] Remove 'fixer' property from Threat_Model and update 'fixable' property to include fixer information

* [not verified] Minor adjustments to Status_Model properties

* [not verified] Add tests for extension and threat models

* [not verified] Make set_vulnerabilities a public method so it can be useful in implementation

* [not verified] Fix sample vulnerability type

* [not verified] changelog

* [not verified] Update use of 'vulnerability' naming to more generic 'threat' convention

* [not verified] Update additional uses of 'vulnerability' naming to more generic 'threat' convention

* [not verified] changelog

* [not verified] Fix property name capitalization

* [not verified] Add Scan API as a data source in Protect

* Default checked to true for Scan API results, for now

* Fix PHPDoc for class property

* changelogs

* Move cache functionality to parent Status class, and cache Scan_Status API calls

* Fix implementation of Jetpack_Plan class

* Ensure Jetpack_Plan class exists before calling static supports() method

* Add REST API endpoint to remotely clear the Scan API cache

* Reduce cache duration to 5 minutes for the Scan API data source

* Add scan results to Protect debug helper module

* Fix: filename threat property name

* Fix: add missing threat count incrementations

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* Add file and database threats to the Protect UI

* Changelog

* Fix: check for filename instead of file property

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* [not verified] Add file and database threats to the Protect UI

* [not verified] Changelog

* Introduce separation between free and paid threats-lists components

* Update ThreatsList components to apply conditional UI changes based on plan requirements

* Correct path for useThreatsList import

* Reverse logic on required plan check

* Changelog entry

* Optimize ThreatSeverityBadge component functions

* Resolve build issues with optimizations breaking translations

* Update sprintf comment accordingly

* Update PaidList to include source property

* Restore use of constants instead of class properties

* Hook up Scan API data source and fix minor styling and wording issues

* Display fixer buttons conditionally based on fixable property presence, update Auto fix all button to display fixableCount

* Fix Icon span display in mobile when threat is not fixable

* add permission callback for Protect cache clear endpoint

* [not verified] Add the ability to ignore threats to Protect

* Update threat header and footer class names

* Update button spacing

* Fix tests

* Update ignore threat warning message

* Changelog

* Fix test serialization issue

* Add serialization to the other status class just in case

* Fix linting error

* Fix linting violations

* Protect: Add support for displaying file and database threats (#26418)

* [not verified] Add DiffViewer component

* [not verified] Add MarkedLines component

* Add file and database threats to the Protect UI

* Changelog

* Add overflow-x to filename class

* Add overflow-x to .threat-filename

* Update styles.module.scss

Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>

* Add permission callback to ignore threat endpoint

* [not verified] Add initial server side functionality for fixing threats

* [not verified] Add ability to fix individual threats on the front end

* Add permission callback for fix threat api

* Fix fix_threat action

* Add ThreatSeverityBadge component to ignore threat modal

* Improve naming consistency

* Show modal asking for credentials when trying to fix if no credential is set

* Implement fix all modal

* Fix styling

* Remove duplicated siteSuffix

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Return false if response parsing fails

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Fix wrong docblock

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Add second parameter to useEffect dependency array

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Change return to boolean for consistency sake

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Fix syntax

* Fix passing of threatList props to modal, and add JSDoc block for setModal action

* Fix error from resolving merge conflicts

* Remove duplicate fixer and scan buttons left over from merge conflict

* Add credentials loading handling and indicator to fix all threats modal.

* Move credentials checks into a reusable component

* Poll for fixer status after triggering an auto-fix

* use async promise for fixer status check

* Fix missing dispatch call

* Decode response from fix threats endpoint

* Adjust styling of threat fix headers

* Add API endpoint to send a GET request to WPCOM fixer endpoint

* Use new fix-threats-status endpoint in getFixThreatsStatus()

* Fix button position in case of long threat header title

* Fix PHPCS linting issues

* Do not resolve in progress threats promise to prevent status refresh before threats are fixed

* Include 'unavailable' credentials status in the credentials needed check

* Add scan button to summary when no threat list is shown

* Add mobile styles for scan button in summary

* Remove use of data param from GET apiFetch request

* SCSS syntax error fix

* Fix button width on desktop

* Add threat IDs via the query string when sending a GET request

* Add success message when threats have been fixed

* Remove hard-coded threat count amount

* Clear the cache after checking for threat fix status

* Add a ?hard-refresh option to the status API endpoint, so the app can request fresh data

* [not verified] Revert "Add a ?hard-refresh option to the status API endpoint, so the app can request fresh data"

This reverts commit 94bd744308fa6dd3a5d6fe3739be90e848f9b0f8.

* Fix button styles

* Poll status until scanning begins after triggering a manual scan

* Poll credentials as long as the credentials-needed-modal is open

* Poll for credentials while the credentials-needed modal is open

* Poll for credentials while the credentials-needed modal is open

* Introduce and apply a user connection gate to all actions that require it

* Changelogger entry

* Add key prop to mapped ThreatFixHeader

* Validate that all threats were fixed in getFixThreatsStatus()

* Move useCredentialState() hook into the AdminPage so it doesn't run when disconnected

* Hard reload (no cache) status when polling until scanning

* Hard reload (no cache) status when polling

* Remove 'in_progress' from scanning check, as that is only applicable to the Protect Status data source

* Show loading spinner when an auto-fix is in progress

* Update key prop for mapped ThreatFixHeader

* Remove unused CSS

* Fix regression in wording

Co-authored-by: Nate Weller <nate.weller@automattic.com>
Co-authored-by: Miguel Xavier Penha Neto <miguel.neto@automattic.com>
Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>

* Protect: Update "Don't worry about a thing" messaging when no threats are known (#26954)

* Change credentials check to use the /scan endpoint and verify the credentials array (#26944)

* Change credentials check to use the /scan endpoint and verify the credentials array

* Update logic in the credentials-needed-modal

* Fix names and change default selector type

* Ensure credentials array is not empty when validating if credentials exist

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Protect: Sync user data (#26966)

* Include the Users sync module in the initial sync

* Changelogger entry

* Add siteProductAvailabilityHandler() to checkout flow hook

* Protect: Calculate threat counts on the client side (#27011)

* Add action for clearing notices

* Protect: Check for required plan after site connection during upgrade flow (#27031)

* Add siteProductAvailabilityHandler() to checkout flow hook
* Fix redirect url used by useProductCheckoutWorkflow

* Add SCAN_STARTED action and update manual scan flow

* Remove unneeded status polling function, and update state status property

* Remove lastChecked property to immediately trigger in-progress display

* Rename action for better understanding, add timeouts so success notice is rendered and dismissed before further actions are taken

* Add action for clearing notices (#27036)

* Adjust START_SCAN_OPTIMISTICALLY action to no longer change lastChecked prop, and update in-progress display conditional to additionally consider status

* Use null as a default value for credentials so we can determine if they have been fetched yet (#27074)

* Remove outdated TO DO comment

* Introduce a current scan progress bar within the in-progress display

* Protect: Refresh plan data after returning from checkout (#27041)

* Protect: Improve manual scan flow (#27042)

* Fix build string literal translation optimization issues

* Manually reset automatic changes to classnames and prop-types package versions set in main pnpm-lock.yaml

* Update comments and CSS class names

* Update ProgressBar component import path

* Use src directory for ProgressBar component import

* Revert previous changes to component import path

* Protect: Update and use ThemeProvider colors instead of hex values (#27174)

* Abandon @automattic/components ProgressBar in favor of a custom Protect component

* Add progress transition animation

* Protect: Use --spacing-base property for layout and positioning styles (#27175)

* Update pnpm-lock.yaml

* Add component stories

* Add aria attributes for accessibility and set upper value limitations

* Update ProtectProgressBar component property names

* Generalize component naming

* Add spacing variable comments

* Delete add-protect-theme-provider-colors

* Delete add-protect-model-classes

* Delete add-ignore-threats

* Delete add-protect-file-database-threats

* Delete add-protect-manual-scans

* Delete add-protect-model-classes

* Delete add-protect-paid-ui

* Delete add-protect-scan-api-data-source

* Delete add-protect-sync-user-data

* Delete add-protect-user-connection-gate

* Delete update-protect-footer-designs

* Delete update-protect-pricing-page

* Delete update-protect-product-upgrade

* Delete update-protect-vulnerability-list-cta

* Delete update-protect-vulnerability-vs-threat-naming

* Remove outdated comment

* Fix typo

* Update ProgressBar check to consider null

Co-authored-by: Nate Weller <nate.weller@automattic.com>

* Fix errors

* Remove conditional spinner text

* Add and apply setStatusProgress action within useStatusPolling when a scan remains scheduled or in progress

* Update startScanOptimistically action to set currentProgress to 0 so progress bar renders immediately

* changelog

* Fix project version

* Minor adjustments to Progress Bar component

Co-authored-by: Nate Weller <nate.weller@automattic.com>
Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>
Co-authored-by: Miguel Xavier Penha Neto <miguel.neto@automattic.com>

* Stats: Make Odyssey Stats toggle visible for all (#28105)

* My Jetpack: modify secondary admin view (#28114)

* Add connection owner line and remove site connection manage link

* changelog

* update tests

* remove unused onclick and actiontext

* My Jetpack: Move Search out of hybrid concept (#28113)

* My Jetpack: Move search out of hybrid and include tests

* My Jetpack: Mark Hybrid_Product class as deprecated

* changelog

* My Jetpack: Update comment on hybrid_product

* Revert Revert Add review prompt for social plugin (#28072)

Co-authored-by: CodeyGuyDylan <dylan.munson@automattic.com>

* Revert "Add new i18n fonts and rename them via filter" (#28122)

Co-authored-by: Samiff <samiff@users.noreply.github.com>

* Jetpack 11.7 testing instructions (#28098)

Co-authored-by: Yaroslav Kukharuk <i.kukharuk@gmail.com>

* Jetpack/Backup/Social: Init new cycles and backport changelogs (#28136)

* Backup: Updating Backup readme for 1.4.3-beta release (#28137)

* Social: Updating Social readme for 1.6.0-beta release (#28138)

* CLI: Update Jetpack Package Generate Command (#27918)

Co-authored-by: Samiff <samiff@users.noreply.github.com>

* WAF: Move rule files directory to the WAF wp-content directory (#28049)

* Protect: Remove unused productData state variable (#28092)

* Protect: Fix success message grammar when only one threat was fixed (#28091)

* Site Settings API: Expose `page_for_posts` option (#28096)

* [not verified] Settings API: Expose 'page_for_posts' option

* [not verified] changelog

* Blaze: Only show promote in post list for published posts. (#28139)

* Blaze: Only show promote post row on published posts.

* changelog

* fix changelog version

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>

* VideoPress: re implement useResumableUploader(). Avoid unneeded jwt-upload request (#28135)

* [not verified] initial refactoring

* [not verified] rename data with uploadingData

* [not verified] types

* [not verified] populate data with id, guid and src once uploaded

* [not verified] expose video media data

* [not verified] check isDone when onProgress

* [not verified] fix checking initial status

* [not verified] add upload-jwt option to getMediaToken lib

* [not verified] use getMediaToken(). Get rid of getJWT()

* [not verified] enum uploading status

* [not verified] better error hanlding when getting media token

* improve useResumableUploader() using async/await

* [not verified] simplify getting upload tokens

* [not verified] rollback using typs instead of enum for status

* [not verified] tidy types. set resumable object actions

* [not verified] videopress-upload use useResumableUploader() hook

* [not verified] fix GUID import

* [not verified] fix useVideoData() types

* [not verified] changelog

* rename types for VideoId and VideoGuid

* fix default value of media data

* move and create resumableFileUploader() helper

* VideoGUID > VideoGuid (do not change on this PR)

* rollbackl usinf debug() in getMediaToken()

* update changelog

* Update projects/packages/videopress/src/client/block-editor/blocks/video/components/videopress-uploader/index.js

Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>

* fix importing resumable hook. Fix var typo

* bump new version

* Update projects/packages/videopress/src/client/hooks/use-resumable-uploader/index.ts

Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>

* Update projects/packages/videopress/src/client/hooks/use-resumable-uploader/index.ts

Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>

* Update projects/packages/videopress/src/client/hooks/use-resumable-uploader/index.ts

Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>

* fix var name typo bug

Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>

* Releasing new version of Blaze package (#28148)

* Fix export modal connect link (#28147)

* oEmbed: Add iCloud Keynote URL scheme (#28067)

* [not verified] oEmbed: Add new URL scheme for iCloud Keynote

* [not verified] changelog

* [not verified] Shortcodes: Increase timeout for new Apple oEmbed to 10 seconds

* [not verified] Shortcodes: Removed oEmbed todo comment to just above filter call

* [not verified] Shortcodes: Add test for new http request timeout for iCloud embed

* Shortcodes: Add test for new http request timeout for iCloud embed

* Jetpack: Fix export modal nonces (#28152)

* Blaze: update wording for the Post list link (#28155)

Co-authored-by: Derek Smart <smart@automattic.com>

* Remove Jetpack Blocks section from At a Glance page (#28153)

* Remove Jetpack Blocks section from At A Glance

* changelog

* VideoPress: Fix minors TS issues in use video data hooks (#28143)

* [not verified] ts enhancements in useSyncMedia hooks

* [not verified] improve readme doc

* changelog

* Licensing: Fix issue in activate license key button not working. (#28014)

* Remove useEffect in ActivationScreen component that sets the JP Rest API root and nonce.

* changelog

* Bump Licensing package version.

* Releasing second new version of Blaze package during 11.7 beta period (#28161)

* VideoPress: update libs used to upload a video in the dashboard context (#28163)

* update libs to upload a video in dashboard

* changelog

* rename instance to handle uploading file

* VideoPress: add Replace control video block (#28162)

* [not verified] Add replace control - first approach

* [not verified] connect replace control with uploader component

* [not verified] register ajax admin types

* fix getting guid when selecting from library

* minor debug() log changes

* export AdminAjaxQueryAttachmentsResponseItemProps

* changelog

* Update dependency @testing-library/dom to v8.19.1 (#28128)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency @types/jest to v29.2.5 (#28129)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

Signed-off-by: Adnan Haque <adnan007.id@gmail.com>
Co-authored-by: Adnan Haque <eAdnan007@users.noreply.github.com>
Co-authored-by: Mark George <thingalon@gmail.com>
Co-authored-by: Artur Piszek <artur.piszek@automattic.com>
Co-authored-by: brent <brent@n3f.com>
Co-authored-by: Fabien MILLERAND <fab@millerf.com>
Co-authored-by: Brent Nef <nef@a8c.com>
Co-authored-by: Matías Ventura <mv@matiasventura.com>
Co-authored-by: Matias Ventura <matias@automattic.com>
Co-authored-by: MILLER/F <millerf@automattic.com>
Co-authored-by: Kuba Birecki <kuba.birecki@crystalplanet.io>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>
Co-authored-by: thingalon <mark@thingalon.com>
Co-authored-by: Gabriel Demichelis <gabrieldemichelis@gmail.com>
Co-authored-by: Candy Tsai <candy02058912@gmail.com>
Co-authored-by: valterlorran <valterlorran@hotmail.com>
Co-authored-by: Valter Lorran <valter.lorran@automattic.com>
Co-authored-by: jcheringer <jcheringer@users.noreply.github.com>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>
Co-authored-by: Christian Gastrell <cgastrell@gmail.com>
Co-authored-by: Vedanshu Jain <vedanshu.jain.2012@gmail.com>
Co-authored-by: Douglas Henri <dhasilva@users.noreply.github.com>
Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>
Co-authored-by: Siobhan Bamber <siobhan@automattic.com>
Co-authored-by: Damián Suárez <rdsuarez@gmail.com>
Co-authored-by: Steve D <33553323+sdixon194@users.noreply.github.com>
Co-authored-by: Mikael Korpela <mikael@ihminen.org>
Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>
Co-authored-by: Bogdan Ungureanu <bogdanungureanu21@gmail.com>
Co-authored-by: Mat Clayton <mat@mixcloud.com>
Co-authored-by: Derek Smart <smart@automattic.com>
Co-authored-by: jboland88 <18016357+jboland88@users.noreply.github.com>
Co-authored-by: Corey McKrill <916023+coreymckrill@users.noreply.github.com>
Co-authored-by: Jasper Kang <jasper.kang@automattic.com>
Co-authored-by: Maciej Grabowski <mashikag@users.noreply.github.com>
Co-authored-by: Nate Weller <nate.weller@automattic.com>
Co-authored-by: Renato Augusto Gama dos Santos <renato_0603@hotmail.com>
Co-authored-by: Igor Zinovyev <zinigor@gmail.com>
Co-authored-by: Dylan Munson <65001528+CodeyGuyDylan@users.noreply.github.com>
Co-authored-by: Alvaro Vega <alvaro.vega@automattic.com>
Co-authored-by: dkmyta <43220201+dkmyta@users.noreply.github.com>
Co-authored-by: Miguel Xavier Penha Neto <miguelxpn2@gmail.com>
Co-authored-by: Miguel Xavier Penha Neto <miguel.neto@automattic.com>
Co-authored-by: Jason Moon <4044428+jsnmoon@users.noreply.github.com>
Co-authored-by: CodeyGuyDylan <dylan.munson@automattic.com>
Co-authored-by: Samiff <samiff@users.noreply.github.com>
Co-authored-by: Yaroslav Kukharuk <i.kukharuk@gmail.com>
Co-authored-by: Eric Binnion <ericbinnion@gmail.com>
Co-authored-by: James Kenneth Guidaven <jkguidaven@gmail.com>
Co-authored-by: Calypso Bot <sysops+ghmatticbot@automattic.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
daledupreez added a commit that referenced this pull request Jan 12, 2023
daledupreez added a commit that referenced this pull request Jan 12, 2023
* Revert "Fix out-of-bounds menus on the admin (#27958)"
This reverts commit 2a990ef.
* changelog
samiff pushed a commit that referenced this pull request Jan 12, 2023
…28312)

* Revert "Fix out-of-bounds menus on the admin (#27958)"
This reverts commit 2a990ef.
* changelog
romarioraffington pushed a commit that referenced this pull request Jan 12, 2023
…28312)

* Revert "Fix out-of-bounds menus on the admin (#27958)"
This reverts commit 2a990ef.
* changelog
kraftbj added a commit that referenced this pull request Jan 23, 2023
* WAF: Run firewall activation hook on both add_option and update_option (#28234)

* Release jetpack-waf version 0.8.2 (#28235)

* cli: Fix ENOENT in `jetpack rsync` (#28200)

If a broken symlink somehow winds up existing in a plugin's `vendor/` or
`jetpack_vendor/`, composer won't clean it up. Then if you try to
`jetpack rsync` the affected plugin, it'll wind up failing with a
cryptic "spawn git ENOENT" when it tries to run git in the nonexistent
target directory.

We can avoid that by checking for broken symlinks before trying to
follow them in the `jetpack rsync` logic. Rsync itself will produce a
more helpful message.

* WAF: Make Tests Pass (#28185)

* VideoPress: Improve "no videos" dashboard to have only one CTA (#28236)

* VideoPress: Update no video dashboard for only one CTA

* changelog

* VideoPress: Fix local video listed as VideoPress video (#28237)

* add isLocalVideo flag to VideoRow

* changelog

* VideoPress: set video by providing a valid GUID value (#28233)

* [not verified] add isVideoPressGuid() helper function

* [not verified] minor TS corection

* [not verified] be able to define a video via GUID

* [not verified] changelog

* [not verified] add a helper function to build URL

* [not verified] handle replace by GUID from replace control

* make attributes optional when building URL

* Stats: Add loading spinner (#28219)

* [not verified] add loading spinner for stats dashboard

* [not verified] changelog

* [not verified] center spinner

* [not verified] inline style

* [not verified] fix dashboard unit test

* [not verified] bump version

* VideoPress: Route video search using query parameters (#28064)

* Refactor the search params hook to accomodate more features

* Add set, update and reset methods to search params hook

* Use generic setParam to change the pages on the pagination

* Use 1 instead of null to reset the pagination

* Set the search query on the URL when the query changes

* Add changelog file

* Refactor the page handling to use the reset method from search params hook

* Change the query filter when the search term changes on the URL

* Simplify empty string condition from reset function

* Add function to remove parameters from the query string

* Remove empty search filter from URL

* Remove page param when reseting the pagination on the search filter changes

* Remove page parameter when the page is 1

* Remove old query string pages hook

* Set search field value when there is a query string search parameter

* Fix changelog significance

* Remove duplicated setVideosQuery call in favor of the URL-changed one

* Refactor the page validation and page change logic

* Add useEffect hook call to perform the search field value update

* Include the current values of page and search on the useEffect hook dependencies

* Change the approach to set the initial value for the search field

* E2E tests: remove broken selection of complete plan (#28232)

* Remove selection of complete plan in connection flow as it's broken and not used anywhere anyway.

* VideoPress: Allow edit privacy on video details page (#28240)

* VideoPress: Add selector for privacy in edit page

* changelog

* VideoPress: set Video URL in replace control based on privacy (#28239)

* [not verified] set Video URL based on privacy

* changelog

* fix private URL

* E2E tests: fix waitForResponse predicates (#28262)

* VideoPress: minor TS enhancements in the useSearchParams() hook (#28250)

* set SearchParamNameProp type

* minor jsdoc changes

* changelog

* Update dependency @storybook/testing-react to v1.3.0 (#28269)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency qrcode.react to v3 (#28270)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-page-visibility to v7 (#28272)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Calendar library and Tonesque: various cleanup (#28274)

* [not verified] Calendar library: various cleanup

* [not verified] Correct logic

Co-authored-by: Karen Attfield <karenlattfield@gmail.com>

* [not verified] Update projects/plugins/jetpack/modules/shortcodes/upcoming-events.php

Co-authored-by: Karen Attfield <karenlattfield@gmail.com>

Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* VideoPress: clean video attributes that are not options when replacing the video file (#28249)

* clean attrs that are not options when replacing

* changelog

* fix setting defauls attribute values issue

* replace block when replacing with a new file

* Backporting Jetpack, Social and Backup readmes and changelog entries (#28271)

* [not verified] Updating changelog for 11.7 release

* [not verified] Updating readme.txt for 11.7 release

* [not verified] Updating changelog and readme for 1.4.3

* [not verified] Cleaning up changelog and readme for 1.6.0

* Updating stable tag in readme

* Updating changelog to link to release post

* Updating Social and Backup readme version

* Cleaning up Social and Backup readme and changelog

* Update storybook monorepo to v6.5.15 (#28268)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency postcss to v8.4.21 (#28278)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Social Menu / Social Icons Widget: add Mastodon (#28175)

* [Boost] Don't show <1x on images that are exactly the right size (#28245)

* Mark exact-sized images with a check mark

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Update dependency storybook-addon-mock to v3 (#28279)

* Update dependency storybook-addon-mock to v3
* Update use of storybook-addon-mock for changes in v3

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

* Remove the Image Guide feature-flag (#28244)

* Enable the Image Guide without a feature-flag

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Connection: add new method to fetch a connected site's blog ID. (#28208)

* Form Block: Add a few keywords to the 'Newsletter Sign-up' variation (#28204)

* Blocks: Add AI-powered blocks for WordPress.com customers (#28043)

Co-authored-by: artpi <artur.piszek@gmail.com>

* Revert "Tiled Gallery block: Adding styles to squareish tiled gallery images on WoA sites (#27858)" (#28287)

This reverts commit 5e3d04a.

* VideoPress: fix render player once file uploads issue (#28296)

* update timeour reference when cleaning the timer

* changelog

* E2E tests: new test for subscribe block (#28289)

* Protect: Poll for scan status when scanner is idle and no lastChecked value is available (#28275)

* Jetpack: 11.8-a.1 release (#28298)

* Jetpack: 11.8-a.1 release changelog

* Jetpack: init 11.8-a.2

* Jetpack: refresh prerelease branch before backport

* Protect: Round ProgressBar percentage values (#28273)

* build: Use PR commit SHA in plugin artifact version numbers (#28294)

We intend for the version number in the plugin artifacts to include the
short hash for the PR head, but the logic used was picking up the merge
commit GitHub creates instead. Fix that.

* Jetpack: 11.8-a.1 changelog editorial (#28300)

* Jetpack: 11.8-a.1 changelog editorial

* changelog

* Fix missing backtick messing with MD display.

* E2E tests: remove check for post page (#28299)

* Blaze: only display UI to English customers. (#28266)

* VideoPress: Fix app breaking when deleting last page video. (#28281)

* VideoPress: Push back page if deleting last video

* changelog

* VideoPress: Update totalPages and total, and move to action

* Update react-router monorepo (#28303)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Adjust phpcs:ignore usage for wpcom compat (#28304)

* [Boost] Fix toggling Image Guide from requesting page speed refresh (#28261)

* Fix toggling image guide requesting a page speed score refresh

* changelog

* [Boost] Update image guide tooltip presentation (#28297)

* Update image guide tooltip documentation link position (bottom) and text

* Add icon to image guide tooltip documentation link

* changelog

* Update description text for small images

* Update changelog

* Update tooltip link color

* [Boost] Update image guide tooltip link to use jetpack redirect (#28284)

* Fix image guide build not working properly with automattic packages

* Update image guide tooltip url to use jetpack redirect manager

* changelog

* Fix changelog tense

* [Boost] Mention live chat on premium purchase success page (#28228)

* Update wpcom summary text on purchase successful page

* changelog

* Update description text style to match requirements

* VideoPress: avoid requesting unneeded preview when block mounts (#28311)

* avoid unneeded preview when block mounts

* changelog

* minor changes in debug() logs

* Make url acceptance more liberal in admin-menus (#28301)

Treat menu items with a fully qualified url matching the site url the
same as other internal URLs in the admin-menus rest api endpoint.

This API endpoint is used for nav-unification on wpcom. This 
change improves compatibility with 3rd party plugins, so that their
menu links work on WordPress.com.

* Revert PR #27958 to address conflict with WooCommerce (#28312)

* Revert "Fix out-of-bounds menus on the admin (#27958)"
This reverts commit 2a990ef.
* changelog

* Blaze: do not display the UI on private or unlaunched sites. (#28315)

* Status: add 2 new methods to detect whether a site is private (#28322)

* Jetpack: init 11.8 a.4 (#28327)

* Jetpack: release 11.8-a.3

* Jetpack: init 11.8-a.4

* Blaze: do not load the UI if the JSON API module is inactive (#28267)

* VideoPress: Enhance behavior when deleting multiple videos (#28302)

* refactor delete action adding FLUSH_DELETED_VIDEOS

* changelog

* fix removedVideoCount processing order

* enhancements from code review

* remove videosBeingRemovedCount

* VideoPress: fix setting title when uploading video file (#28329)

* [not verified] move title handling to uploader progress cmp

* [not verified] minor tidy changes

* [not verified] remove local state to set the title

* [not verified] order the updating requests

* [not verified] try to update the poster asap

* changelog

* Add User Stories for earn features (#28283)

* Add regression testing instructions for post level visibility setting
* Add regression testing instructions for premium content

* Odyssey Stats: Fix WP Footer Position (#28308)

* [not verified] Odyssey Stats: remove inline CSS that limit the height of  #wpcom div

This was making the Odyssey Stats having some UI issues, like the footer that was wrongly positioned

* [not verified] changelog

* [not verified] Odyssey Stats: fix inline CSS that define the height of the #wpcom div

This was making the Odyssey Stats having some UI issues, like the footer that was wrongly positioned

* [not verified] Odyssey Stats: fix changelong significance

* Odyssey Stats: update version on package.json and class-main.php

* Blaze: Laying foundations for showing Advertising in menu for Jetpack sites (#28088)

* Blaze: Show Advertising in menu for Jetpack sites

* changelog

* Add unit test

* Fix unit test

* Add locale restriction for blaze

* Use user locale

* Update unit test and locale restrictions

* Fix the connection manager code

* Use blaze package

Co-authored-by: sdixon194 <steve.dixon@automattic.com>

* [Boost] Clean up leftover image guide gating. (#28306)

* Remove image-guide gates from a few spots I missed

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* VideoPress: tweak the footer of the uploader component (#28337)

* debounce generating frame call

* tweak uploader component footer

* changelog

* Jetpack: fix VideoPress fullscreen option when using shortcode (#28342)

* fix setting fullscreen player when using shortcode

* changelog

* JSON Endpoint: Create `GET /sites/%s/dropdown-pages/` endpoint (#28132)

* JSON Endpoint: Create 'GET /sites/%s/dropdown-pages' endpoint

*  changelog

* Fix return for the endpoint

* For each page return 'title' instead of 'post_title' prop.

* Instead of making direct db query make a call to get_pages. Return a list of tree-like page objects.

* Ignore unused variable warning

* Correct condition to check if page has a parent

* Reverse the if clause for building pages_by_parent map

* Fix up types

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Site Settings API: Expose `show_context` and `show_date` options (#28305)

* [not verified] Site Settings API: Expose related posts

* [not verified] Site Settings API: Expose related posts  option

* [not verified] changelog

* [not verified] Fix return value on related posts option update

* [not verified] Handle undefined  or  options

* [not verified] Remove unnecassary bool cast

* [not verified] Update projects/plugins/jetpack/changelog/update-expose-related-posts-show-date-option

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* [not verified] Bring back the bool cast

* [not verified] Fix up some options assignments

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* E2E tests: disable blocks with Gutenberg suite (#28343)

* Add CRM to the Monorepo (#28314)

Co-authored-by: gogdzl <diego.rodrigues@automattic.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: sdixon194 <steve.dixon@automattic.com>

* Jetpack AI: Generate a post intro based on title and categories (#28321)

This PR makes the AI Paragraph block include the contextual information for a better prompt if content for completion is not available

* [Jetpack AI] Easier enabling for testing, forums link (#28338)

* Centralize the switch to enable on/off

* Change icons and link the forum thread

* changelog

* Handle the disappearing block

* Fix lint warnings

* Filter comment

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Add a Jetpack redirect

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* VideoPress: tweak video title and description (#28341)

* [not verified] add decodeEntities() helpoer function

* [not verified] decode title and description once data got

* [not verified] changelog

* [not verified] add MDN reference to createTextareaelement() jsdoc

* rewird changelog message

* return always the input string

* add reference ad see tag

* Update projects/packages/videopress/src/client/lib/url/index.ts

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* Allow Avengers to Approve CRM Code (#28348)

* VideoPress: Add rating selector on video details page (#28347)

* add rating selector on video details edit page

* changelog

* tools: Fix check-plugin-monorepo-deps.sh with no monorepo deps (#28324)

If there are no monorepo package deps, the script prints out an error
like

  crm:  should be at dev-trunk, not

That shouldn't happen, add a check for the situation to avoid it.

* Jetpack Boost: Image Guide compatibility improvements (#28026)

* Use a fixed position for the guide

* Increase padding

* Add a Portal component that teleports slot to body

* Portal the pop-up to body to fix z-index issues

* FIxed a compatibility bug with Jetpack Mosaic gallery

Wrapping caused the object-fit to break, this seems to be a more lightweight approach.

* A hacky compatibility fix across plugins

* Simplify keeping the Pop-up open using a class

* Rename classes

* Don't overlay other interactive elements as much as possible

By taking up as little space as possible.

* Be a little more clear on what's going on, WIP

* changelog

* Undo inexplicable change from merge

* Update info block position in tooltip

* Fix image guide inside links

* Refactor getClosestContainingAncestor to not use arrays to keep track of current element

* Refactor getClosestContainingAncestor to improve code readability

* Disable image guide in iframes

This is done to ensure editors using iframes don't initialize
the image guide in the WP-Admin.

* Lints

* Revert regex update that happened during trunk merge

Co-authored-by: Mark George <thingalon@gmail.com>
Co-authored-by: Peter Petrov <peter.petrov89@gmail.com>

* Update dependency gridicons to v3.4.1 (#28360)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency social-logos to v2.5.1 (#28361)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Extra options to configure cache htconfig (#28031)

* Allow overriding htaccess files using filters

* changelog

* Remove syntax deprecated in PHP 8.2

* Quote header values at output time

* Remove automatic mapping of ExpiresByType setting based on Cache-control setting

Co-authored-by: Mark George <thingalon@gmail.com>

* Connection: add support for the 'connection_disabled' error code. (#28334)

* Introduce Jetpack Migration plugin (#28209)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* composer-plugin: Ensure `jetpack_vendor/` exists before creating i18n-map (#28369)

If something uses the plugin but does not use any "jetpack-library"
packages, `jetpack_vendor/` won't exist and the plugin will fail when
trying to create the `jetpack_vendor/i18n-map.php` file. Account for
this situation by creating the directory if necessary.

* VideoPress: add anchor support to VideoPress video block (#28377)

* add anchor support to v6

* changelog

* Releasing new versions of actions/packages and the Beta plugin (#28290)

* Docs: Include mention of `jetpack_blocks_variation` filter (#28382)

* Required Review: Allow anyone who can approve to also approve docs/ (#28359)

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>

* Blaze: rely on method instead of filter to check for eligibility (#28340)

* Add/openai placeholder prompts (#28339)

* Add placeholder and use it to prompt if empty
* changelog
* Updated for Dall-E prompts
* Push examples to a separate file
* change placeholder for each new block entity
* Added ChatGPT prompts

* VideoPress: skip rating checking when pulling video data for block (#28374)

* [not verified] add skipRatingChecking option to useVideoData hook

* [not verified] skip rating checking when pulling video data

* changelog

* rename option to skipRatingControl

* VideoPress: use core lib to handle html entities (#28376)

* add @wordpress/html-entities dep

* decode title and description html entities

* dont invent the weel again. Renove decodeEntities

* changelog

* Update projects/packages/videopress/changelog/update-videopress-use-core-pkg-to-handle-entities

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* CRM: Introduce Jetpack Autoloader and declare Dompdf in Composer (#28364)

* Jetpack: backport 11.7.1 changelog (#28393)

* Jetpack: backport 11.7.1 changelog

* changelog

* Jetpack: backport 11.8-a.5 changelog (#28395)

* Jetpack: 11.8-a.5 changelog

* Jetpack: init 11.8-a.6

* Jetpack: 11.8-a.5 changelog editorial (#28396)

* Jetpack: 11.8-a.5 changelog editorial

* changelog

* [Boost] Fix woocommerce deprecation warnings (#28373)

* Clean up woocommerce deprecation warnings

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Image Guide Cleanup (#28381)

* Fix variable capitalization

* Update grammar

* Always on state isn't compatible with portals

If we want to provide this functionality in the future, we might need to create a more comprehensive "Page report" instead.

* jetpack-boost-image-guide -> jetpack-boost-guide

* Set the initial "show" state to false

* Changelogger entry

* Blocks: update recipe category block (#28378)

* [Jetpack AI] More transparent prompt engineering for content completion (#28351)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Bump Jetpack Boost version to 1.7.0 (#28404)

* Optimise -> Optimize

* Add a changelogger entry

* Bump the versions

* Writing prompts: remove the placeholder prompt and setting (#28387)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Settings API: Allow to un-assign `page_for_posts` and `page_on_front` on `POST` request (#28379)

* Settings API: allow for unassigning 'page_on_front' and 'page_for_posts' options

* changelog

* Make response value null for the deleted option

* Enhance code explanation comment

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Prepare for 1.7.0 (#28407)

* Add `default_option_subscription_options` filter (#28320)

The purpose of this filter is to introduce the default value for `subscription_options`.

This default value will be available throughout Simple, Atomic and Jetpack sites, including the Site Settings endpoint.

* VideoPress: check source language length of the video chapter (#28406)

* tidy import types section

* show notice error when lang is too long

* tweak notice error

* do not allow upload track when error

* changelog

* update version

* udpate pnpm deps

* Google Fonts Provider: Fix Global Styles font collection (#28411)

* [not verified] Use wp_get_global_styles() and fallback to gutenberg_get_global_styles

* [not verified] Removed autoformatting changes

* Bump version so that changelogger checks won't fail.

* Add the skeleton for jetpack/forms (#28409)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* E2E tests: handle block editor frame when using Gutenberg (#28386)

* Premium Content / Subscriptions: introduce Paid Newsletter functionality ( 2nd Attempt ) (#28170)

Introduce paid-newsletter functionality gated by `JETPACK_BETA_BLOCKS`

* google-fonts-provider: release v0.4.1 (#28418)

* Jetpack: init 11.8-a.8 (#28420)

* Jetpack: release 11.8-a.7

* Jetpack: backport 11.8-a.7 and init 11.8-a.8

* crm: Set up infrastructure to run tests in CI (#28354)

Import the tests from the old private repo, then set up the
infrastructure to run them within our CI.

Also fix issues with the tests necessary to make them pass.

Co-authored-by: gogdzl <37049295+gogdzl@users.noreply.github.com>
Co-authored-by: cleacos <javacodia@gmail.com>

* Add Protect paid feature upgrade info (#27925)

Now that Protect has malware scanning and removal as a paid feature, including this text in the readme for the plugin listing.

* Jetpack: Change responses export filename (#28413)

* add helper function to get export filename

* use filename from response headers (crafted on backend)

* changelog

* Add Advanced Plan to Social pricing table (#28258)

* Add advanced plan to pricing table + update design

* changelog

* Remove cycle from unlimited shares text

* Add default value to new prop

* Change term to Recycle content based on design

* Fix minification issue with production build

* Fix translation issues

* Add tooltips for features

* Add coming soon type to PricingTableItem

* Fix type

* Change order

Co-authored-by: Siddarthan Sarumathi Pandian <siddarthan@outlook.com>

* VideoPress: set video block availability, based on site plan (#28391)

* [not verified] add videopress/video support

* [not verified] do not set videopress/video-chapters availability

* [not verified] set videopress/video availability

* [not verified] changelog

* [not verified] rely on availabilty based on site plan

* Jetpack: Replace deprecated WP function use (#28434)

WordPress 6.2 deprecated `WP_Theme_JSON_Resolver::theme_has_support()`
in favor of `wp_theme_has_theme_json()`. Use it when available.

* Blocks: move away from deprecated methods in multiple blocks (#28415)

* Debug Helper: add cookie state faker (#28371)

* Debug Helper: add cookie state faker.

* Styling and linter fixes.

* Sharing: do not include buttons in REST API responses (#28412)

* tools: Avoid double-tagging in wporg SVN (#28437)

The command used to tag a release in SVN has an unfortunate failure
modde if the tag already exists: instead of simply failing, it will
create a `trunk` directory inside the tag.

This PR does two things to try to avoid this situation:

* The manual `deploy-to-svn.sh` script will now confirm if someone tries
  to run it on a plugin that is set up for auto-publish.
* Both that and the auto-publish will abort if they detect the tag
  already exists (but note this check is subject to races).

* [AI image] fix styling  issues (#28380)

* [not verified] Fix textarea's width

* [not verified] Add changelog

* [not verified] Small refactor

* [not verified] Wrap results

* [not verified] Small refactor. Saves image in a separate function and clean up some CSS

* [not verified] DOM cleanup

* Fix small bug

* Bigger textarea

* Better Flex handling. Add modal

* Fix build and text

* Add button to modal

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* General: start using new Status utilities to detect site status (#28328)

* General: start using new Status utilities to detect site status

These methods were introduced in #28322. Let's switch to them.

* Remove unneeded PHPCS exception

* Status: add new filters for the new methods added in #28322

These filters will be helpful for manipulating tests, for example.

* Update test to use new filters

* Widget Visibility: add missing jetpack Config external (#28402)

* Update dependency automattic/wordbless to v0.4.1 (#28440)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* VideoPress: fix replace video from toolbar issues (#28432)

* propagate new vide data when replacing video

* changelog

* fix issue when picking guid from media item

* Carousel: check array to avoid PHP warnings (#28388)

* Hook up packages/jetpack-forms to plugins/jetpack (#28416)

* SAL: remove error logging (#28442)

* Update Eslint packages (major) (#28441)

* Update Eslint packages
* Override outdated eslint-plugin-wpcalypso dep
* Fix new sniff failures

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

* Change responses export field names (#28425)

* [not verified] prevent last csv line to be a single zero (0)

* [not verified] use Date and Consent as meta field keys on export

* [not verified] use 'IP Address on mapped fields resolution

* [not verified] remove numeral prefix on field/column names before exporting

* [not verified] changelog

* [not verified] remove first column 'Contact Form'

* [not verified] update tests for contact-form

* update moar tests

* use _x for noun specific translation

* More clear changelog entry and description

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

Co-authored-by: Brandon Kraft <public@brandonkraft.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* VideoPress module: Add test for generated embed code (#28358)

* add test for videopress generated embed html

* changelog

Co-authored-by: Damián Suárez <rdsuarez@gmail.com>

* Prerelease (#28443)

* Prepare release 1.3.0 of Jetpack VideoPress standalone

* Merge trunk and fix versions

* correct versions

* move versions back to 1.2.1

* Revert "VideoPress: fix replace video from toolbar issues (#28432)" (#28447)

This reverts commit 9439f40.

* Connection: remove handling of the 'site_blacklisted' error code. (#28436)

Remove the error code `site_blacklisted` from the handler, as it's no longer being returned by WPCOM.

* Update dependency @vercel/ncc to v0.36.0 (#28452)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Remove plugins/jetpack-mu-wpcom from the monorepo (#28445)

* Remove plugins/jetpack-mu-wpcom from the monorepo

Will create jetpack-mu-wpcom as a package instead.

* Update pnpm-lock

* Add jetpack-mu-wpcom package skeleton (#28449)

* Add initial jetpack-mu-wpcom package skeleton

* Update gitignore and composer.json for WP tests

* Add changelog

* Prerelease for VideoPress standalone 1.3 (#28453)

* Prepare release 1.3.0 of Jetpack VideoPress standalone

* Add prerelease changelog

* tools: Handle v-prefixed versions in stable-tag.sh (#28455)

If the GH version tag has the "v" prefix, that should be stripped before
comparing it with the SVN version and readme versions.

* E2E tests: fix tiled gallery block test with GB 15.0.0 (#28454)

* Fix exceeding search limits in Jetpack Complete (#28115)

* Search: fix exceeding search limits in Jetpack Complete

A site that has Jetpack Complete with exceeded Jetpack Search limits cannot use the instant search feature.
We should not allow toggling the instant search option,
the same way we don't allow it for Jetpack Search Free that is over limit.

In the past, must_upgrade didn't check for the plan that blog has,
but now it's safe to base the decision to disable instant search option only on that parameter.

This commit introduces using `must_upgrade` to determine whether to disable instant search toggle.

I've also added one final CTA that's shown to both Jetpack Search Free and Jetpack Complete users,
shown once their search plan is disabled after three months of overages.

Additionally, we will automatically disable instant search and search module on visiting Jetpack admin
when `must_upgrade` is true (exceeded search limits).
This shouldn't be needed most of the time, but occasionally the API call to disable it from overage cron might fail.

* Image Guide: Bundle image guide (#28429)

* Bundle image-guide into a single file

* Make the bundle usable in boost

* changelog

* Update changelogs

* Add a library name

* Update library variable name

* Update project versions

* Create changelog (#28456)

* VideoPress: fix replace VideoPress video  (#28451)

* propagate new vide data when replacing video

* changelog

* fix issue when picking guid from media item

* fix setting attrs when uploading file

* bump version

* Fix Related Posts options saving in the endpoint (#28435)

* Add a new endpoint template-loader to resolve the correct template by type (#28158)

* build: Move "Test plugin upgrades" to a post-build workflow (#28241)

GitHub has an unfortunate behavior in that workflow artifacts are not
available via the API until the entire workflow has completed. This
means that the "Test plugin upgrades" job in the build workflow
unnecessarily delays the availability of the build artifact for Jetpack
Live Branches and future wpcom automated testing for 6 or so minutes.

To get around this, we create a new "Post-Build" workflow that is
triggered by `workflow_run` after the Build workflow completes. But
since this new workflow isn't automatically attached to the PR, we have
to make API calls to get it to show up there.

This is a second attempt at #25892, which had to be reverted as using
the Actions app put the checks into the "suite" of a random workflow.

* Blaze: always enqueue Connection state info (#28457)

* build: Restore "Test plugin upgrades" in build job (#28467)

Something is not working right yet with the post-build job. Let's keep
it around for debugging, but restore the copy in the build job so
peoples' PRs aren't blocked by it.

* Release packages/jetpack-mu-wpcom v0.1.0 (#28469)

* Add blur effect while the Form is loading styles

* Add changelog

* VideoPress: improve buildVideoPressURL(). Add tests. (#28465)

* [not verified] handle files.URLs

* [not verified] add tests for URL lib

* [not verified] buildVideoPressURL() return empty object

* change buildVideoPressURL() return value

* changelog

* escape . in the RegExp

* escape the second dot 🤦

* VideoPress: do not prompt to convert embed block to VideoPress video block (#28474)

* [not verified] remove the filter that prompts to conver embed

* [not verified] changelog

* [not verified] re-organize transforms code

* [not verified] minor tidy

* [not verified] clean up classes when transforming from Embed

* [not verified] set explicitely attrs when transform to embed

* [not verified] tweak to Embed transform

* Infinite scroll: AMP related bug fix (#28466)

* Jetpack: do not add block transform to v6 when video is not a VideoPress video (#28477)

* [not verified] improve fn to pick the GUID from URL

* [not verified] do not transform when is not a videopress video

* changelog

* Releases: Add a script that does a full release (#28048)

Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>

* Stats: enable ads page for Odyssey (#27791)

* [not verified] try: enable Ads tab for Stats

* [not verified] changelog

* [not verified] Show Ads tab for Odyssey

* [not verified] add wordads local controllers

* [not verified] tweak wordads controllers

* [not verified] changed supported version to 0.4.0-alpha

* [not verified] fix up versions

* [not verified] ignore WordPress.Security.NonceVerification.Recommended

* [not verified] remove todo comment

* [not verified] ignore unknow capatibility

* [not verified] fix typo

* [not verified] remove  unecessary version test

* Protect: Fix API response property name case styling (#28397)

* Add viewers to /users endpoint when include_viewers is true (#28317)

PT: pcmemI-1uJ-p2
Specific finding that led to this diff: pcmemI-1wa-p2#comment-1276

For simple sites, our new team page does not display viewers currently. This is because for simple sites, viewers are an entirely different implementation in a different table, and is normally accessed through a corresponding /sites/$site_id/viewers endpoint.

Since it's clumsy on the frontend to call these two endpoints and combine data, we're introducing a new include_viewers argument to /sites/$site_id/users/ which when set to true:

- only supports searching based on name for viewer
- ignores order and order by parameters for the entire list and sorts by name

This implementation should satisfy our current requirement while being entirely backwards compatible.

* VideoPress: tweak uploader layout of the VideoPress video block (#28482)

* tweak uploader component layout

* changelog

* Jetpack: Include Boost on "My Products" (#28336)

* Add boost in My Plans

* changelog

* Fix yearly boost plan detection

* VideoPress: remove undesired border of video player (#28484)

* clean up the border of the video player

* changelog

* Components: Fix responsive across elements with box-sizing removal (#28489)

* My Jetpack: Remove local box-sizing

* Components: Add box-sizing at ThemeProvider

* changelog

* Bump version

* Components: Rename class from theme to global

* E2E tests: wait for editor canvas load (#28494)

* VideoPress: do not request video data when user is not connected (#28493)

* [not verified] expose connection initial state in the client side

* [not verified] do not perform sync request when no connected

* changelog

* Initialize the WP JS Data Sync package (#28495)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Reviewer list: add Heart Of Gold for new packages (#28497)

* actions: Add some error detection in the check-run action (#28470)

The existing code just proceeds with an ID of "null", which was not
intended.

* [Super Cache] Add missing action trigger (#28481)

* Add a missing call to wp_cache_Cleared

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Svelte JS Data Sync Client (#28496)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* [Jetpack AI] Fix regression when loading the saved block editor  (#28488)

* Fix a regression when loading the editor
* changelog

* ci: Remove slack notice for post-build workflow (#28502)

It's complaining on every merged PR and we can't fix it until GitHub
gets back to us to say what is going wrong.

* actions: Replace getsentry/action-github-app-token with custom code (#28507)

It seems likely we're running into getsentry/action-github-app-token#18.

Let's replace it with some custom code that works correctly locally.

* CDN: deprecated error fix (#28508)

* Tooling: Wording addition to deploy-to-svn script (#28506)

* Repo experience: update report template & automated triage task (#28448)

The GitHub issue template is updated in Calypso in Automattic/wp-calypso#71827

Let's update ours to match and provide a consistent experience. We should also update our GitHub action that looks for key content in GitHub issues, so it knows where to find info about impacted platform and priority indicators in the updated bug report format.

* Jetpack Sync: prevent syncing user update when corresponding flags are not set. (#28385)

* Jetpack Sync: Prevent syncing user update when flags are not set

* Fix/sync close php session immediately (#28515)

* Close active PHP Session if found when running a Dedicated Sync request, to make sure we're not locking the request unnecessarily.

* Add changelog

* cli: Update WorDBless install commands (#28517)

Looks like we never updated the CLI generate command with the updated
command WorDBless uses, so new projects were getting generated with the
wrong code. Fix that, and the affected projects.

Also fill in the necessary `config.allow-plugins` in the generated
composer.json.

* JITM: Prevent the activation page from displaying the JP License Activation JITM. (#27959)

* [not verified] Fix JP License Activation JITM to not display in Activation page.

* [not verified] changelog

* [not verified] Remove logic for filtering notice within jitm package and instead push message path with hash for all My Jetpack page.

* [not verified] Fixup changelog description and package version.

* Blaze: add new method to remotely check for eligibility (#28353)

* Blaze: add new method to remotely check for eligibility

This will allow us to remotely check eligibility for a site, and potentially update rules without having to release a new version of the package.

* Remove logging function

* Remove to-do comment

* fix tests by bypassing remote request in tests.

* Fix return value for tests

* Make new method public

See #28353 (comment)

* Bypass API request on WordPress.com

There, we can get the response directly.

* Remove private site check

This can now be done on WordPress.com.

* Simplify list of checks by wrapping Jetpack-specific checks

This will limit the number of checks we have to run on WordPress.com, and will also help with the tests.

* Block bundling: introduce single variation constant (#28390)

* Block bundling: introduce single variation constant

Fixes #28227

Instead of having 2 separate constants to manage what block bundle is loaded on a site, let's only use one, JETPACK_BLOCKS_VARIATION. It makes it easier to manage and overwrite.

I also sunset 2 existing filters in favor of the existing jetpack_blocks_variation filter which works the same way as our new constant.

* Continue to support old constant

* Update changelogs' wording

Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>

* ver bump

Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* Blaze: add new Tracks even to track panel views. (#28392)

* Blaze: add new Tracks even to track panel views.

It will allow us to build more accurate funnels for that flow.
See p1673443048626029-slack-C04DZ725FEK

* Consolidate checks to display panel and track view

1. Remove some redundant checks now that the panel's js doesn't even get enqueued in some scenarios (we've added conditions to load the js directly in PHP)
2. Add checks to see if a post was just published, not only if it is already published.
3. Use said checks to control display of the panel as well as track view.

* Add some comments

* Bump version

Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* Update E2E test account password (#28519)

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.local>

* Fix Intro Offer price description (#28424)

* Fix how to calc Jetpack Backup intro offer price

* Add intro offer object to ProductDetailCard

* changelog

* Backup: fix PricingCard currency and details text

* Products: only return intro offer when available

This commit fixes the return of Wpcom_Products::get_product_pricing to only return `introductory_offer` when available

* Products: fix test_get_product_price

* Fix version mismatch

* Backup: revert intro offer calculation

* My Jetpack: revert monthly price calculation

* My Jetpack: fix price detail text condition

* Backup: fix price detail text condition

* Fix changelogger version

* Fix bad minification issue on production builds

Co-authored-by: Nate Weller <nate.weller@automattic.com>
Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>
Co-authored-by: Renato Augusto Gama dos Santos <renato_0603@hotmail.com>
Co-authored-by: Douglas Henri <dhasilva@users.noreply.github.com>
Co-authored-by: Damián Suárez <rdsuarez@gmail.com>
Co-authored-by: Jasper Kang <jasper.kang@automattic.com>
Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Co-authored-by: Calypso Bot <sysops+ghmatticbot@automattic.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
Co-authored-by: thingalon <mark@thingalon.com>
Co-authored-by: Mark George <thingalon@gmail.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
Co-authored-by: artpi <artur.piszek@gmail.com>
Co-authored-by: Samiff <samiff@users.noreply.github.com>
Co-authored-by: Peter Petrov <peter.petrov89@gmail.com>
Co-authored-by: Dean Sas <dean.sas@automattic.com>
Co-authored-by: daledupreez <dale@automattic.com>
Co-authored-by: Romario <romarioraff@gmail.com>
Co-authored-by: Wilmerson da Silva <wilmersondasilva@gmail.com>
Co-authored-by: Candy Tsai <candy02058912@gmail.com>
Co-authored-by: sdixon194 <steve.dixon@automattic.com>
Co-authored-by: Maciej Grabowski <mashikag@users.noreply.github.com>
Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>
Co-authored-by: gogdzl <diego.rodrigues@automattic.com>
Co-authored-by: Artur Piszek <artur.piszek@automattic.com>
Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>
Co-authored-by: Steve D <33553323+sdixon194@users.noreply.github.com>
Co-authored-by: Nauris Pūķis <hi@pyronaur.com>
Co-authored-by: Sergey Mitroshin <sergeymitr@gmail.com>
Co-authored-by: ouikhuan <iverson0217@gmail.com>
Co-authored-by: Derek Smart <smart@automattic.com>
Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>
Co-authored-by: MILLER/F <millerf@automattic.com>
Co-authored-by: André Kallehauge <3846700+kallehauge@users.noreply.github.com>
Co-authored-by: Grant Kinney <creativecoder@users.noreply.github.com>
Co-authored-by: Bogdan Ungureanu <bogdanungureanu21@gmail.com>
Co-authored-by: Kuba Birecki <ice9js@users.noreply.github.com>
Co-authored-by: gogdzl <37049295+gogdzl@users.noreply.github.com>
Co-authored-by: cleacos <javacodia@gmail.com>
Co-authored-by: simonktnga8c <79907037+simonktnga8c@users.noreply.github.com>
Co-authored-by: Christian Gastrell <cgastrell@gmail.com>
Co-authored-by: Gergely Márk Juhász <36671565+gmjuhasz@users.noreply.github.com>
Co-authored-by: Siddarthan Sarumathi Pandian <siddarthan@outlook.com>
Co-authored-by: bindlegirl <1242807+bindlegirl@users.noreply.github.com>
Co-authored-by: nunyvega <alvaro.vega@automattic.com>
Co-authored-by: Piotr Stankowski <6437642+trakos@users.noreply.github.com>
Co-authored-by: Adnan Haque <eAdnan007@users.noreply.github.com>
Co-authored-by: arthur791004 <arthur.chu@automattic.com>
Co-authored-by: Vishnu Gopal <533+vishnugopal@users.noreply.github.com>
Co-authored-by: Foteini Giannaropoulou <giannaropoulou.foteini@gmail.com>
Co-authored-by: Biser Perchinkov <biser@bisko.be>
Co-authored-by: James Kenneth Guidaven <jkguidaven@gmail.com>
Co-authored-by: Derek Smart <dsmart@dsmart-mbp.local>
Co-authored-by: Ian Ramos <5714212+IanRamosC@users.noreply.github.com>
jcheringer added a commit that referenced this pull request Feb 3, 2023
* PoC: new Dropdown block

* changelog

* Code clean up

* Organizing and cleaning up the code a bit

* Dropdown editor  improvements

* Scripts improvement

* Adjust Dropdown toggle label logic

* Layout improvements

* Observe content changes to generate style variables

* Code clean up

* Fix tests

* Style improvements

* Steal font-family from input fields

* Sync Dropdown placeholder text

* Style adjustments

* Fix tests

* Fix Dropdown background color

* Fix Dropdown width issue

* Add chevron animation

* Fix tests

* Include jQuery UI CSS file

* Update changelog description

* Adjust chevron size in the Editor

* Adjust Dropdown border and add some shadow to the popover

* Adjust Dropdown popover shadow

* Refactor form-styles to remove jQuery dependency

* Update jQuery UI to use only necessary styles

* Refactor validateFormWrapper function into a hook

* Making the linter happy

* Limite Dropdown popover height

* Handle style variations in the frontend

* Fix label position for non-empty fields

* changelog

* Create outlined style for the Editor

* Adjust Animated style variation in the frontend

* Adjust Animated style variation in the Editor

* Adjust textarea label position for the Outlined variation

* General adjustments

* Adjust the Below style variation in the Editor

* Increase CSS specificity for input fields in the Editor

* General style improvements

* Outlined variation style improvements

* Adjust fields border

* Single and Multiple-choice fields adjustments

* Increase space between the label and the text in the Animated style

* Fix unit tests

* Styles finetuning

* Fix label placement on textareas

* Fix unit tests

* Form: Add loading state (#28473)

* WAF: Run firewall activation hook on both add_option and update_option (#28234)

* Release jetpack-waf version 0.8.2 (#28235)

* cli: Fix ENOENT in `jetpack rsync` (#28200)

If a broken symlink somehow winds up existing in a plugin's `vendor/` or
`jetpack_vendor/`, composer won't clean it up. Then if you try to
`jetpack rsync` the affected plugin, it'll wind up failing with a
cryptic "spawn git ENOENT" when it tries to run git in the nonexistent
target directory.

We can avoid that by checking for broken symlinks before trying to
follow them in the `jetpack rsync` logic. Rsync itself will produce a
more helpful message.

* WAF: Make Tests Pass (#28185)

* VideoPress: Improve "no videos" dashboard to have only one CTA (#28236)

* VideoPress: Update no video dashboard for only one CTA

* changelog

* VideoPress: Fix local video listed as VideoPress video (#28237)

* add isLocalVideo flag to VideoRow

* changelog

* VideoPress: set video by providing a valid GUID value (#28233)

* [not verified] add isVideoPressGuid() helper function

* [not verified] minor TS corection

* [not verified] be able to define a video via GUID

* [not verified] changelog

* [not verified] add a helper function to build URL

* [not verified] handle replace by GUID from replace control

* make attributes optional when building URL

* Stats: Add loading spinner (#28219)

* [not verified] add loading spinner for stats dashboard

* [not verified] changelog

* [not verified] center spinner

* [not verified] inline style

* [not verified] fix dashboard unit test

* [not verified] bump version

* VideoPress: Route video search using query parameters (#28064)

* Refactor the search params hook to accomodate more features

* Add set, update and reset methods to search params hook

* Use generic setParam to change the pages on the pagination

* Use 1 instead of null to reset the pagination

* Set the search query on the URL when the query changes

* Add changelog file

* Refactor the page handling to use the reset method from search params hook

* Change the query filter when the search term changes on the URL

* Simplify empty string condition from reset function

* Add function to remove parameters from the query string

* Remove empty search filter from URL

* Remove page param when reseting the pagination on the search filter changes

* Remove page parameter when the page is 1

* Remove old query string pages hook

* Set search field value when there is a query string search parameter

* Fix changelog significance

* Remove duplicated setVideosQuery call in favor of the URL-changed one

* Refactor the page validation and page change logic

* Add useEffect hook call to perform the search field value update

* Include the current values of page and search on the useEffect hook dependencies

* Change the approach to set the initial value for the search field

* E2E tests: remove broken selection of complete plan (#28232)

* Remove selection of complete plan in connection flow as it's broken and not used anywhere anyway.

* VideoPress: Allow edit privacy on video details page (#28240)

* VideoPress: Add selector for privacy in edit page

* changelog

* VideoPress: set Video URL in replace control based on privacy (#28239)

* [not verified] set Video URL based on privacy

* changelog

* fix private URL

* E2E tests: fix waitForResponse predicates (#28262)

* VideoPress: minor TS enhancements in the useSearchParams() hook (#28250)

* set SearchParamNameProp type

* minor jsdoc changes

* changelog

* Update dependency @storybook/testing-react to v1.3.0 (#28269)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency qrcode.react to v3 (#28270)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency react-page-visibility to v7 (#28272)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Calendar library and Tonesque: various cleanup (#28274)

* [not verified] Calendar library: various cleanup

* [not verified] Correct logic

Co-authored-by: Karen Attfield <karenlattfield@gmail.com>

* [not verified] Update projects/plugins/jetpack/modules/shortcodes/upcoming-events.php

Co-authored-by: Karen Attfield <karenlattfield@gmail.com>

Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* VideoPress: clean video attributes that are not options when replacing the video file (#28249)

* clean attrs that are not options when replacing

* changelog

* fix setting defauls attribute values issue

* replace block when replacing with a new file

* Backporting Jetpack, Social and Backup readmes and changelog entries (#28271)

* [not verified] Updating changelog for 11.7 release

* [not verified] Updating readme.txt for 11.7 release

* [not verified] Updating changelog and readme for 1.4.3

* [not verified] Cleaning up changelog and readme for 1.6.0

* Updating stable tag in readme

* Updating changelog to link to release post

* Updating Social and Backup readme version

* Cleaning up Social and Backup readme and changelog

* Update storybook monorepo to v6.5.15 (#28268)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency postcss to v8.4.21 (#28278)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Social Menu / Social Icons Widget: add Mastodon (#28175)

* [Boost] Don't show <1x on images that are exactly the right size (#28245)

* Mark exact-sized images with a check mark

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Update dependency storybook-addon-mock to v3 (#28279)

* Update dependency storybook-addon-mock to v3
* Update use of storybook-addon-mock for changes in v3

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

* Remove the Image Guide feature-flag (#28244)

* Enable the Image Guide without a feature-flag

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Connection: add new method to fetch a connected site's blog ID. (#28208)

* Form Block: Add a few keywords to the 'Newsletter Sign-up' variation (#28204)

* Blocks: Add AI-powered blocks for WordPress.com customers (#28043)

Co-authored-by: artpi <artur.piszek@gmail.com>

* Revert "Tiled Gallery block: Adding styles to squareish tiled gallery images on WoA sites (#27858)" (#28287)

This reverts commit 5e3d04a31e036cbcb2b2abcd52bafaf1127d7ccf.

* VideoPress: fix render player once file uploads issue (#28296)

* update timeour reference when cleaning the timer

* changelog

* E2E tests: new test for subscribe block (#28289)

* Protect: Poll for scan status when scanner is idle and no lastChecked value is available (#28275)

* Jetpack: 11.8-a.1 release (#28298)

* Jetpack: 11.8-a.1 release changelog

* Jetpack: init 11.8-a.2

* Jetpack: refresh prerelease branch before backport

* Protect: Round ProgressBar percentage values (#28273)

* build: Use PR commit SHA in plugin artifact version numbers (#28294)

We intend for the version number in the plugin artifacts to include the
short hash for the PR head, but the logic used was picking up the merge
commit GitHub creates instead. Fix that.

* Jetpack: 11.8-a.1 changelog editorial (#28300)

* Jetpack: 11.8-a.1 changelog editorial

* changelog

* Fix missing backtick messing with MD display.

* E2E tests: remove check for post page (#28299)

* Blaze: only display UI to English customers. (#28266)

* VideoPress: Fix app breaking when deleting last page video. (#28281)

* VideoPress: Push back page if deleting last video

* changelog

* VideoPress: Update totalPages and total, and move to action

* Update react-router monorepo (#28303)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Adjust phpcs:ignore usage for wpcom compat (#28304)

* [Boost] Fix toggling Image Guide from requesting page speed refresh (#28261)

* Fix toggling image guide requesting a page speed score refresh

* changelog

* [Boost] Update image guide tooltip presentation (#28297)

* Update image guide tooltip documentation link position (bottom) and text

* Add icon to image guide tooltip documentation link

* changelog

* Update description text for small images

* Update changelog

* Update tooltip link color

* [Boost] Update image guide tooltip link to use jetpack redirect (#28284)

* Fix image guide build not working properly with automattic packages

* Update image guide tooltip url to use jetpack redirect manager

* changelog

* Fix changelog tense

* [Boost] Mention live chat on premium purchase success page (#28228)

* Update wpcom summary text on purchase successful page

* changelog

* Update description text style to match requirements

* VideoPress: avoid requesting unneeded preview when block mounts (#28311)

* avoid unneeded preview when block mounts

* changelog

* minor changes in debug() logs

* Make url acceptance more liberal in admin-menus (#28301)

Treat menu items with a fully qualified url matching the site url the
same as other internal URLs in the admin-menus rest api endpoint.

This API endpoint is used for nav-unification on wpcom. This 
change improves compatibility with 3rd party plugins, so that their
menu links work on WordPress.com.

* Revert PR #27958 to address conflict with WooCommerce (#28312)

* Revert "Fix out-of-bounds menus on the admin (#27958)"
This reverts commit 2a990efa4b3d7499dbfe8cb461af6064468f8e37.
* changelog

* Blaze: do not display the UI on private or unlaunched sites. (#28315)

* Status: add 2 new methods to detect whether a site is private (#28322)

* Jetpack: init 11.8 a.4 (#28327)

* Jetpack: release 11.8-a.3

* Jetpack: init 11.8-a.4

* Blaze: do not load the UI if the JSON API module is inactive (#28267)

* VideoPress: Enhance behavior when deleting multiple videos (#28302)

* refactor delete action adding FLUSH_DELETED_VIDEOS

* changelog

* fix removedVideoCount processing order

* enhancements from code review

* remove videosBeingRemovedCount

* VideoPress: fix setting title when uploading video file (#28329)

* [not verified] move title handling to uploader progress cmp

* [not verified] minor tidy changes

* [not verified] remove local state to set the title

* [not verified] order the updating requests

* [not verified] try to update the poster asap

* changelog

* Add User Stories for earn features (#28283)

* Add regression testing instructions for post level visibility setting
* Add regression testing instructions for premium content

* Odyssey Stats: Fix WP Footer Position (#28308)

* [not verified] Odyssey Stats: remove inline CSS that limit the height of  #wpcom div

This was making the Odyssey Stats having some UI issues, like the footer that was wrongly positioned

* [not verified] changelog

* [not verified] Odyssey Stats: fix inline CSS that define the height of the #wpcom div

This was making the Odyssey Stats having some UI issues, like the footer that was wrongly positioned

* [not verified] Odyssey Stats: fix changelong significance

* Odyssey Stats: update version on package.json and class-main.php

* Blaze: Laying foundations for showing Advertising in menu for Jetpack sites (#28088)

* Blaze: Show Advertising in menu for Jetpack sites

* changelog

* Add unit test

* Fix unit test

* Add locale restriction for blaze

* Use user locale

* Update unit test and locale restrictions

* Fix the connection manager code

* Use blaze package

Co-authored-by: sdixon194 <steve.dixon@automattic.com>

* [Boost] Clean up leftover image guide gating. (#28306)

* Remove image-guide gates from a few spots I missed

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* VideoPress: tweak the footer of the uploader component (#28337)

* debounce generating frame call

* tweak uploader component footer

* changelog

* Jetpack: fix VideoPress fullscreen option when using shortcode (#28342)

* fix setting fullscreen player when using shortcode

* changelog

* JSON Endpoint: Create `GET /sites/%s/dropdown-pages/` endpoint (#28132)

* JSON Endpoint: Create 'GET /sites/%s/dropdown-pages' endpoint

*  changelog

* Fix return for the endpoint

* For each page return 'title' instead of 'post_title' prop.

* Instead of making direct db query make a call to get_pages. Return a list of tree-like page objects.

* Ignore unused variable warning

* Correct condition to check if page has a parent

* Reverse the if clause for building pages_by_parent map

* Fix up types

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-list-dropdown-pages-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Site Settings API: Expose `show_context` and `show_date` options (#28305)

* [not verified] Site Settings API: Expose related posts

* [not verified] Site Settings API: Expose related posts  option

* [not verified] changelog

* [not verified] Fix return value on related posts option update

* [not verified] Handle undefined  or  options

* [not verified] Remove unnecassary bool cast

* [not verified] Update projects/plugins/jetpack/changelog/update-expose-related-posts-show-date-option

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* [not verified] Bring back the bool cast

* [not verified] Fix up some options assignments

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* E2E tests: disable blocks with Gutenberg suite (#28343)

* Add CRM to the Monorepo (#28314)

Co-authored-by: gogdzl <diego.rodrigues@automattic.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: sdixon194 <steve.dixon@automattic.com>

* Jetpack AI: Generate a post intro based on title and categories (#28321)

This PR makes the AI Paragraph block include the contextual information for a better prompt if content for completion is not available

* [Jetpack AI] Easier enabling for testing, forums link (#28338)

* Centralize the switch to enable on/off

* Change icons and link the forum thread

* changelog

* Handle the disappearing block

* Fix lint warnings

* Filter comment

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Add a Jetpack redirect

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* VideoPress: tweak video title and description (#28341)

* [not verified] add decodeEntities() helpoer function

* [not verified] decode title and description once data got

* [not verified] changelog

* [not verified] add MDN reference to createTextareaelement() jsdoc

* rewird changelog message

* return always the input string

* add reference ad see tag

* Update projects/packages/videopress/src/client/lib/url/index.ts

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* Allow Avengers to Approve CRM Code (#28348)

* VideoPress: Add rating selector on video details page (#28347)

* add rating selector on video details edit page

* changelog

* tools: Fix check-plugin-monorepo-deps.sh with no monorepo deps (#28324)

If there are no monorepo package deps, the script prints out an error
like

  crm:  should be at dev-trunk, not

That shouldn't happen, add a check for the situation to avoid it.

* Jetpack Boost: Image Guide compatibility improvements (#28026)

* Use a fixed position for the guide

* Increase padding

* Add a Portal component that teleports slot to body

* Portal the pop-up to body to fix z-index issues

* FIxed a compatibility bug with Jetpack Mosaic gallery

Wrapping caused the object-fit to break, this seems to be a more lightweight approach.

* A hacky compatibility fix across plugins

* Simplify keeping the Pop-up open using a class

* Rename classes

* Don't overlay other interactive elements as much as possible

By taking up as little space as possible.

* Be a little more clear on what's going on, WIP

* changelog

* Undo inexplicable change from merge

* Update info block position in tooltip

* Fix image guide inside links

* Refactor getClosestContainingAncestor to not use arrays to keep track of current element

* Refactor getClosestContainingAncestor to improve code readability

* Disable image guide in iframes

This is done to ensure editors using iframes don't initialize
the image guide in the WP-Admin.

* Lints

* Revert regex update that happened during trunk merge

Co-authored-by: Mark George <thingalon@gmail.com>
Co-authored-by: Peter Petrov <peter.petrov89@gmail.com>

* Update dependency gridicons to v3.4.1 (#28360)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Update dependency social-logos to v2.5.1 (#28361)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Extra options to configure cache htconfig (#28031)

* Allow overriding htaccess files using filters

* changelog

* Remove syntax deprecated in PHP 8.2

* Quote header values at output time

* Remove automatic mapping of ExpiresByType setting based on Cache-control setting

Co-authored-by: Mark George <thingalon@gmail.com>

* Connection: add support for the 'connection_disabled' error code. (#28334)

* Introduce Jetpack Migration plugin (#28209)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* composer-plugin: Ensure `jetpack_vendor/` exists before creating i18n-map (#28369)

If something uses the plugin but does not use any "jetpack-library"
packages, `jetpack_vendor/` won't exist and the plugin will fail when
trying to create the `jetpack_vendor/i18n-map.php` file. Account for
this situation by creating the directory if necessary.

* VideoPress: add anchor support to VideoPress video block (#28377)

* add anchor support to v6

* changelog

* Releasing new versions of actions/packages and the Beta plugin (#28290)

* Docs: Include mention of `jetpack_blocks_variation` filter (#28382)

* Required Review: Allow anyone who can approve to also approve docs/ (#28359)

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>

* Blaze: rely on method instead of filter to check for eligibility (#28340)

* Add/openai placeholder prompts (#28339)

* Add placeholder and use it to prompt if empty
* changelog
* Updated for Dall-E prompts
* Push examples to a separate file
* change placeholder for each new block entity
* Added ChatGPT prompts

* VideoPress: skip rating checking when pulling video data for block (#28374)

* [not verified] add skipRatingChecking option to useVideoData hook

* [not verified] skip rating checking when pulling video data

* changelog

* rename option to skipRatingControl

* VideoPress: use core lib to handle html entities (#28376)

* add @wordpress/html-entities dep

* decode title and description html entities

* dont invent the weel again. Renove decodeEntities

* changelog

* Update projects/packages/videopress/changelog/update-videopress-use-core-pkg-to-handle-entities

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>

* CRM: Introduce Jetpack Autoloader and declare Dompdf in Composer (#28364)

* Jetpack: backport 11.7.1 changelog (#28393)

* Jetpack: backport 11.7.1 changelog

* changelog

* Jetpack: backport 11.8-a.5 changelog (#28395)

* Jetpack: 11.8-a.5 changelog

* Jetpack: init 11.8-a.6

* Jetpack: 11.8-a.5 changelog editorial (#28396)

* Jetpack: 11.8-a.5 changelog editorial

* changelog

* [Boost] Fix woocommerce deprecation warnings (#28373)

* Clean up woocommerce deprecation warnings

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Image Guide Cleanup (#28381)

* Fix variable capitalization

* Update grammar

* Always on state isn't compatible with portals

If we want to provide this functionality in the future, we might need to create a more comprehensive "Page report" instead.

* jetpack-boost-image-guide -> jetpack-boost-guide

* Set the initial "show" state to false

* Changelogger entry

* Blocks: update recipe category block (#28378)

* [Jetpack AI] More transparent prompt engineering for content completion (#28351)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Bump Jetpack Boost version to 1.7.0 (#28404)

* Optimise -> Optimize

* Add a changelogger entry

* Bump the versions

* Writing prompts: remove the placeholder prompt and setting (#28387)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Settings API: Allow to un-assign `page_for_posts` and `page_on_front` on `POST` request (#28379)

* Settings API: allow for unassigning 'page_on_front' and 'page_for_posts' options

* changelog

* Make response value null for the deleted option

* Enhance code explanation comment

* Update projects/plugins/jetpack/json-endpoints/class.wpcom-json-api-site-settings-endpoint.php

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>

* Prepare for 1.7.0 (#28407)

* Add `default_option_subscription_options` filter (#28320)

The purpose of this filter is to introduce the default value for `subscription_options`.

This default value will be available throughout Simple, Atomic and Jetpack sites, including the Site Settings endpoint.

* VideoPress: check source language length of the video chapter (#28406)

* tidy import types section

* show notice error when lang is too long

* tweak notice error

* do not allow upload track when error

* changelog

* update version

* udpate pnpm deps

* Google Fonts Provider: Fix Global Styles font collection (#28411)

* [not verified] Use wp_get_global_styles() and fallback to gutenberg_get_global_styles

* [not verified] Removed autoformatting changes

* Bump version so that changelogger checks won't fail.

* Add the skeleton for jetpack/forms (#28409)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* E2E tests: handle block editor frame when using Gutenberg (#28386)

* Premium Content / Subscriptions: introduce Paid Newsletter functionality ( 2nd Attempt ) (#28170)

Introduce paid-newsletter functionality gated by `JETPACK_BETA_BLOCKS`

* google-fonts-provider: release v0.4.1 (#28418)

* Jetpack: init 11.8-a.8 (#28420)

* Jetpack: release 11.8-a.7

* Jetpack: backport 11.8-a.7 and init 11.8-a.8

* crm: Set up infrastructure to run tests in CI (#28354)

Import the tests from the old private repo, then set up the
infrastructure to run them within our CI.

Also fix issues with the tests necessary to make them pass.

Co-authored-by: gogdzl <37049295+gogdzl@users.noreply.github.com>
Co-authored-by: cleacos <javacodia@gmail.com>

* Add Protect paid feature upgrade info (#27925)

Now that Protect has malware scanning and removal as a paid feature, including this text in the readme for the plugin listing.

* Jetpack: Change responses export filename (#28413)

* add helper function to get export filename

* use filename from response headers (crafted on backend)

* changelog

* Add Advanced Plan to Social pricing table (#28258)

* Add advanced plan to pricing table + update design

* changelog

* Remove cycle from unlimited shares text

* Add default value to new prop

* Change term to Recycle content based on design

* Fix minification issue with production build

* Fix translation issues

* Add tooltips for features

* Add coming soon type to PricingTableItem

* Fix type

* Change order

Co-authored-by: Siddarthan Sarumathi Pandian <siddarthan@outlook.com>

* VideoPress: set video block availability, based on site plan (#28391)

* [not verified] add videopress/video support

* [not verified] do not set videopress/video-chapters availability

* [not verified] set videopress/video availability

* [not verified] changelog

* [not verified] rely on availabilty based on site plan

* Jetpack: Replace deprecated WP function use (#28434)

WordPress 6.2 deprecated `WP_Theme_JSON_Resolver::theme_has_support()`
in favor of `wp_theme_has_theme_json()`. Use it when available.

* Blocks: move away from deprecated methods in multiple blocks (#28415)

* Debug Helper: add cookie state faker (#28371)

* Debug Helper: add cookie state faker.

* Styling and linter fixes.

* Sharing: do not include buttons in REST API responses (#28412)

* tools: Avoid double-tagging in wporg SVN (#28437)

The command used to tag a release in SVN has an unfortunate failure
modde if the tag already exists: instead of simply failing, it will
create a `trunk` directory inside the tag.

This PR does two things to try to avoid this situation:

* The manual `deploy-to-svn.sh` script will now confirm if someone tries
  to run it on a plugin that is set up for auto-publish.
* Both that and the auto-publish will abort if they detect the tag
  already exists (but note this check is subject to races).

* [AI image] fix styling  issues (#28380)

* [not verified] Fix textarea's width

* [not verified] Add changelog

* [not verified] Small refactor

* [not verified] Wrap results

* [not verified] Small refactor. Saves image in a separate function and clean up some CSS

* [not verified] DOM cleanup

* Fix small bug

* Bigger textarea

* Better Flex handling. Add modal

* Fix build and text

* Add button to modal

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* General: start using new Status utilities to detect site status (#28328)

* General: start using new Status utilities to detect site status

These methods were introduced in #28322. Let's switch to them.

* Remove unneeded PHPCS exception

* Status: add new filters for the new methods added in #28322

These filters will be helpful for manipulating tests, for example.

* Update test to use new filters

* Widget Visibility: add missing jetpack Config external (#28402)

* Update dependency automattic/wordbless to v0.4.1 (#28440)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* VideoPress: fix replace video from toolbar issues (#28432)

* propagate new vide data when replacing video

* changelog

* fix issue when picking guid from media item

* Carousel: check array to avoid PHP warnings (#28388)

* Hook up packages/jetpack-forms to plugins/jetpack (#28416)

* SAL: remove error logging (#28442)

* Update Eslint packages (major) (#28441)

* Update Eslint packages
* Override outdated eslint-plugin-wpcalypso dep
* Fix new sniff failures

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>

* Change responses export field names (#28425)

* [not verified] prevent last csv line to be a single zero (0)

* [not verified] use Date and Consent as meta field keys on export

* [not verified] use 'IP Address on mapped fields resolution

* [not verified] remove numeral prefix on field/column names before exporting

* [not verified] changelog

* [not verified] remove first column 'Contact Form'

* [not verified] update tests for contact-form

* update moar tests

* use _x for noun specific translation

* More clear changelog entry and description

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

Co-authored-by: Brandon Kraft <public@brandonkraft.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* VideoPress module: Add test for generated embed code (#28358)

* add test for videopress generated embed html

* changelog

Co-authored-by: Damián Suárez <rdsuarez@gmail.com>

* Prerelease (#28443)

* Prepare release 1.3.0 of Jetpack VideoPress standalone

* Merge trunk and fix versions

* correct versions

* move versions back to 1.2.1

* Revert "VideoPress: fix replace video from toolbar issues (#28432)" (#28447)

This reverts commit 9439f40a7e5f10b57f14a6d4dae15b8921f55f4b.

* Connection: remove handling of the 'site_blacklisted' error code. (#28436)

Remove the error code `site_blacklisted` from the handler, as it's no longer being returned by WPCOM.

* Update dependency @vercel/ncc to v0.36.0 (#28452)

Co-authored-by: Renovate Bot <bot@renovateapp.com>

* Remove plugins/jetpack-mu-wpcom from the monorepo (#28445)

* Remove plugins/jetpack-mu-wpcom from the monorepo

Will create jetpack-mu-wpcom as a package instead.

* Update pnpm-lock

* Add jetpack-mu-wpcom package skeleton (#28449)

* Add initial jetpack-mu-wpcom package skeleton

* Update gitignore and composer.json for WP tests

* Add changelog

* Prerelease for VideoPress standalone 1.3 (#28453)

* Prepare release 1.3.0 of Jetpack VideoPress standalone

* Add prerelease changelog

* tools: Handle v-prefixed versions in stable-tag.sh (#28455)

If the GH version tag has the "v" prefix, that should be stripped before
comparing it with the SVN version and readme versions.

* E2E tests: fix tiled gallery block test with GB 15.0.0 (#28454)

* Fix exceeding search limits in Jetpack Complete (#28115)

* Search: fix exceeding search limits in Jetpack Complete

A site that has Jetpack Complete with exceeded Jetpack Search limits cannot use the instant search feature.
We should not allow toggling the instant search option,
the same way we don't allow it for Jetpack Search Free that is over limit.

In the past, must_upgrade didn't check for the plan that blog has,
but now it's safe to base the decision to disable instant search option only on that parameter.

This commit introduces using `must_upgrade` to determine whether to disable instant search toggle.

I've also added one final CTA that's shown to both Jetpack Search Free and Jetpack Complete users,
shown once their search plan is disabled after three months of overages.

Additionally, we will automatically disable instant search and search module on visiting Jetpack admin
when `must_upgrade` is true (exceeded search limits).
This shouldn't be needed most of the time, but occasionally the API call to disable it from overage cron might fail.

* Image Guide: Bundle image guide (#28429)

* Bundle image-guide into a single file

* Make the bundle usable in boost

* changelog

* Update changelogs

* Add a library name

* Update library variable name

* Update project versions

* Create changelog (#28456)

* VideoPress: fix replace VideoPress video  (#28451)

* propagate new vide data when replacing video

* changelog

* fix issue when picking guid from media item

* fix setting attrs when uploading file

* bump version

* Fix Related Posts options saving in the endpoint (#28435)

* Add a new endpoint template-loader to resolve the correct template by type (#28158)

* build: Move "Test plugin upgrades" to a post-build workflow (#28241)

GitHub has an unfortunate behavior in that workflow artifacts are not
available via the API until the entire workflow has completed. This
means that the "Test plugin upgrades" job in the build workflow
unnecessarily delays the availability of the build artifact for Jetpack
Live Branches and future wpcom automated testing for 6 or so minutes.

To get around this, we create a new "Post-Build" workflow that is
triggered by `workflow_run` after the Build workflow completes. But
since this new workflow isn't automatically attached to the PR, we have
to make API calls to get it to show up there.

This is a second attempt at #25892, which had to be reverted as using
the Actions app put the checks into the "suite" of a random workflow.

* Blaze: always enqueue Connection state info (#28457)

* build: Restore "Test plugin upgrades" in build job (#28467)

Something is not working right yet with the post-build job. Let's keep
it around for debugging, but restore the copy in the build job so
peoples' PRs aren't blocked by it.

* Release packages/jetpack-mu-wpcom v0.1.0 (#28469)

* Add blur effect while the Form is loading styles

* Add changelog

* VideoPress: improve buildVideoPressURL(). Add tests. (#28465)

* [not verified] handle files.URLs

* [not verified] add tests for URL lib

* [not verified] buildVideoPressURL() return empty object

* change buildVideoPressURL() return value

* changelog

* escape . in the RegExp

* escape the second dot :facepalm:

* VideoPress: do not prompt to convert embed block to VideoPress video block (#28474)

* [not verified] remove the filter that prompts to conver embed

* [not verified] changelog

* [not verified] re-organize transforms code

* [not verified] minor tidy

* [not verified] clean up classes when transforming from Embed

* [not verified] set explicitely attrs when transform to embed

* [not verified] tweak to Embed transform

* Infinite scroll: AMP related bug fix (#28466)

* Jetpack: do not add block transform to v6 when video is not a VideoPress video (#28477)

* [not verified] improve fn to pick the GUID from URL

* [not verified] do not transform when is not a videopress video

* changelog

* Releases: Add a script that does a full release (#28048)

Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>

* Stats: enable ads page for Odyssey (#27791)

* [not verified] try: enable Ads tab for Stats

* [not verified] changelog

* [not verified] Show Ads tab for Odyssey

* [not verified] add wordads local controllers

* [not verified] tweak wordads controllers

* [not verified] changed supported version to 0.4.0-alpha

* [not verified] fix up versions

* [not verified] ignore WordPress.Security.NonceVerification.Recommended

* [not verified] remove todo comment

* [not verified] ignore unknow capatibility

* [not verified] fix typo

* [not verified] remove  unecessary version test

* Protect: Fix API response property name case styling (#28397)

* Add viewers to /users endpoint when include_viewers is true (#28317)

PT: pcmemI-1uJ-p2
Specific finding that led to this diff: pcmemI-1wa-p2#comment-1276

For simple sites, our new team page does not display viewers currently. This is because for simple sites, viewers are an entirely different implementation in a different table, and is normally accessed through a corresponding /sites/$site_id/viewers endpoint.

Since it's clumsy on the frontend to call these two endpoints and combine data, we're introducing a new include_viewers argument to /sites/$site_id/users/ which when set to true:

- only supports searching based on name for viewer
- ignores order and order by parameters for the entire list and sorts by name

This implementation should satisfy our current requirement while being entirely backwards compatible.

* VideoPress: tweak uploader layout of the VideoPress video block (#28482)

* tweak uploader component layout

* changelog

* Jetpack: Include Boost on "My Products" (#28336)

* Add boost in My Plans

* changelog

* Fix yearly boost plan detection

* VideoPress: remove undesired border of video player (#28484)

* clean up the border of the video player

* changelog

* Components: Fix responsive across elements with box-sizing removal (#28489)

* My Jetpack: Remove local box-sizing

* Components: Add box-sizing at ThemeProvider

* changelog

* Bump version

* Components: Rename class from theme to global

* E2E tests: wait for editor canvas load (#28494)

* VideoPress: do not request video data when user is not connected (#28493)

* [not verified] expose connection initial state in the client side

* [not verified] do not perform sync request when no connected

* changelog

* Initialize the WP JS Data Sync package (#28495)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* Reviewer list: add Heart Of Gold for new packages (#28497)

* actions: Add some error detection in the check-run action (#28470)

The existing code just proceeds with an ID of "null", which was not
intended.

* [Super Cache] Add missing action trigger (#28481)

* Add a missing call to wp_cache_Cleared

* changelog

Co-authored-by: Mark George <thingalon@gmail.com>

* Svelte JS Data Sync Client (#28496)

Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>

* [Jetpack AI] Fix regression when loading the saved block editor  (#28488)

* Fix a regression when loading the editor
* changelog

* ci: Remove slack notice for post-build workflow (#28502)

It's complaining on every merged PR and we can't fix it until GitHub
gets back to us to say what is going wrong.

* actions: Replace getsentry/action-github-app-token with custom code (#28507)

It seems likely we're running into getsentry/action-github-app-token#18.

Let's replace it with some custom code that works correctly locally.

* CDN: deprecated error fix (#28508)

* Tooling: Wording addition to deploy-to-svn script (#28506)

* Repo experience: update report template & automated triage task (#28448)

The GitHub issue template is updated in Calypso in https://github.com/Automattic/wp-calypso/pull/71827/

Let's update ours to match and provide a consistent experience. We should also update our GitHub action that looks for key content in GitHub issues, so it knows where to find info about impacted platform and priority indicators in the updated bug report format.

* Jetpack Sync: prevent syncing user update when corresponding flags are not set. (#28385)

* Jetpack Sync: Prevent syncing user update when flags are not set

* Fix/sync close php session immediately (#28515)

* Close active PHP Session if found when running a Dedicated Sync request, to make sure we're not locking the request unnecessarily.

* Add changelog

* cli: Update WorDBless install commands (#28517)

Looks like we never updated the CLI generate command with the updated
command WorDBless uses, so new projects were getting generated with the
wrong code. Fix that, and the affected projects.

Also fill in the necessary `config.allow-plugins` in the generated
composer.json.

* JITM: Prevent the activation page from displaying the JP License Activation JITM. (#27959)

* [not verified] Fix JP License Activation JITM to not display in Activation page.

* [not verified] changelog

* [not verified] Remove logic for filtering notice within jitm package and instead push message path with hash for all My Jetpack page.

* [not verified] Fixup changelog description and package version.

* Blaze: add new method to remotely check for eligibility (#28353)

* Blaze: add new method to remotely check for eligibility

This will allow us to remotely check eligibility for a site, and potentially update rules without having to release a new version of the package.

* Remove logging function

* Remove to-do comment

* fix tests by bypassing remote request in tests.

* Fix return value for tests

* Make new method public

See https://github.com/Automattic/jetpack/pull/28353#discussion_r1071281414

* Bypass API request on WordPress.com

There, we can get the response directly.

* Remove private site check

This can now be done on WordPress.com.

* Simplify list of checks by wrapping Jetpack-specific checks

This will limit the number of checks we have to run on WordPress.com, and will also help with the tests.

* Block bundling: introduce single variation constant (#28390)

* Block bundling: introduce single variation constant

Fixes #28227

Instead of having 2 separate constants to manage what block bundle is loaded on a site, let's only use one, JETPACK_BLOCKS_VARIATION. It makes it easier to manage and overwrite.

I also sunset 2 existing filters in favor of the existing jetpack_blocks_variation filter which works the same way as our new constant.

* Continue to support old constant

* Update changelogs' wording

Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>

* ver bump

Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* Blaze: add new Tracks even to track panel views. (#28392)

* Blaze: add new Tracks even to track panel views.

It will allow us to build more accurate funnels for that flow.
See p1673443048626029-slack-C04DZ725FEK

* Consolidate checks to display panel and track view

1. Remove some redundant checks now that the panel's js doesn't even get enqueued in some scenarios (we've added conditions to load the js directly in PHP)
2. Add checks to see if a post was just published, not only if it is already published.
3. Use said checks to control display of the panel as well as track view.

* Add some comments

* Bump version

Co-authored-by: Brandon Kraft <public@brandonkraft.com>

* Update E2E test account password (#28519)

Co-authored-by: Derek Smart <dsmart@dsmart-mbp.local>

* Fix Intro Offer price description (#28424)

* Fix how to calc Jetpack Backup intro offer price

* Add intro offer object to ProductDetailCard

* changelog

* Backup: fix PricingCard currency and details text

* Products: only return intro offer when available

This commit fixes the return of Wpcom_Products::get_product_pricing to only return `introductory_offer` when available

* Products: fix test_get_product_price

* Fix version mismatch

* Backup: revert intro offer calculation

* My Jetpack: revert monthly price calculation

* My Jetpack: fix price detail text condition

* Backup: fix price detail text condition

* Fix changelogger version

* Fix bad minification issue on production builds

Co-authored-by: Nate Weller <nate.weller@automattic.com>
Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>
Co-authored-by: Renato Augusto Gama dos Santos <renato_0603@hotmail.com>
Co-authored-by: Douglas Henri <dhasilva@users.noreply.github.com>
Co-authored-by: Damián Suárez <rdsuarez@gmail.com>
Co-authored-by: Jasper Kang <jasper.kang@automattic.com>
Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Co-authored-by: Calypso Bot <sysops+ghmatticbot@automattic.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
Co-authored-by: thingalon <mark@thingalon.com>
Co-authored-by: Mark George <thingalon@gmail.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
Co-authored-by: artpi <artur.piszek@gmail.com>
Co-authored-by: Samiff <samiff@users.noreply.github.com>
Co-authored-by: Peter Petrov <peter.petrov89@gmail.com>
Co-authored-by: Dean Sas <dean.sas@automattic.com>
Co-authored-by: daledupreez <dale@automattic.com>
Co-authored-by: Romario <romarioraff@gmail.com>
Co-authored-by: Wilmerson da Silva <wilmersondasilva@gmail.com>
Co-authored-by: Candy Tsai <candy02058912@gmail.com>
Co-authored-by: sdixon194 <steve.dixon@automattic.com>
Co-authored-by: Maciej Grabowski <mashikag@users.noreply.github.com>
Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>
Co-authored-by: gogdzl <diego.rodrigues@automattic.com>
Co-authored-by: Artur Piszek <artur.piszek@automattic.com>
Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>
Co-authored-by: Steve D <33553323+sdixon194@users.noreply.github.com>
Co-authored-by: Nauris Pūķis <hi@pyronaur.com>
Co-authored-by: Sergey Mitroshin <sergeymitr@gmail.com>
Co-authored-by: ouikhuan <iverson0217@gmail.com>
Co-authored-by: Derek Smart <smart@automattic.com>
Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>
Co-authored-by: MILLER/F <millerf@automattic.com>
Co-authored-by: André Kallehauge <3846700+kallehauge@users.noreply.github.com>
Co-authored-by: Grant Kinney <creativecoder@users.noreply.github.com>
Co-authored-by: Bogdan Ungureanu <bogdanungureanu21@gmail.com>
Co-authored-by: Kuba Birecki <ice9js@users.noreply.github.com>
Co-authored-by: gogdzl <37049295+gogdzl@users.noreply.github.com>
Co-authored-by: cleacos <javacodia@gmail.com>
Co-authored-by: simonktnga8c <79907037+simonktnga8c@users.noreply.github.com>
Co-authored-by: Christian Gastrell <cgastrell@gmail.com>
Co-authored-by: Gergely Márk Juhász <36671565+gmjuhasz@users.noreply.github.com>
Co-authored-by: Siddarthan Sarumathi Pandian <siddarthan@outlook.com>
Co-authored-by: bindlegirl <1242807+bindlegirl@users.noreply.github.com>
Co-authored-by: nunyvega <alvaro.vega@automattic.com>
Co-authored-by: Piotr Stankowski <6437642+trakos@users.noreply.github.com>
Co-authored-by: Adnan Haque <eAdnan007@users.noreply.github.com>
Co-authored-by: arthur791004 <arthur.chu@automattic.com>
Co-authored-by: Vishnu Gopal <533+vishnugopal@users.noreply.github.com>
Co-authored-by: Foteini Giannaropoulou <giannaropoulou.foteini@gmail.com>
Co-authored-by: Biser Perchinkov <biser@bisko.be>
Co-authored-by: James Kenneth Guidaven <jkguidaven@gmail.com>
Co-authored-by: Derek Smart <dsmart@dsmart-mbp.local>
Co-authored-by: Ian Ramos <5714212+IanRamosC@users.noreply.github.com>

* Attempt to fix Firefox style switch issue

* Allow changing field placeholder from within the field

* Remove unnecessary files

* Ajust style variations to work with user-defined styles

* Adjust style variations to work with user-defined styles

* Attempt to fix CSS build side-effect

* Remove loading effect from the editor

---------

Co-authored-by: Nate Weller <nate.weller@automattic.com>
Co-authored-by: Brad Jorsch <anomiex@users.noreply.github.com>
Co-authored-by: Renato Augusto Gama dos Santos <renato_0603@hotmail.com>
Co-authored-by: Douglas Henri <dhasilva@users.noreply.github.com>
Co-authored-by: Damián Suárez <rdsuarez@gmail.com>
Co-authored-by: Jasper Kang <jasper.kang@automattic.com>
Co-authored-by: Luiz Kowalski <lhkowalski@gmail.com>
Co-authored-by: Adrian Moldovan <3854374+adimoldovan@users.noreply.github.com>
Co-authored-by: Calypso Bot <sysops+ghmatticbot@automattic.com>
Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Karen Attfield <karenlattfield@gmail.com>
Co-authored-by: Brandon Kraft <public@brandonkraft.com>
Co-authored-by: Jeremy Herve <jeremy@jeremy.hu>
Co-authored-by: thingalon <mark@thingalon.com>
Co-authored-by: Mark George <thingalon@gmail.com>
Co-authored-by: Brad Jorsch <brad.jorsch@automattic.com>
Co-authored-by: Daniel Bachhuber <daniel.bachhuber@automattic.com>
Co-authored-by: artpi <artur.piszek@gmail.com>
Co-authored-by: Samiff <samiff@users.noreply.github.com>
Co-authored-by: Peter Petrov <peter.petrov89@gmail.com>
Co-authored-by: Dean Sas <dean.sas@automattic.com>
Co-authored-by: daledupreez <dale@automattic.com>
Co-authored-by: Romario <romarioraff@gmail.com>
Co-authored-by: Wilmerson da Silva <wilmersondasilva@gmail.com>
Co-authored-by: Candy Tsai <candy02058912@gmail.com>
Co-authored-by: sdixon194 <steve.dixon@automattic.com>
Co-authored-by: Maciej Grabowski <mashikag@users.noreply.github.com>
Co-authored-by: Ivan Ottinger <25105483+ivan-ottinger@users.noreply.github.com>
Co-authored-by: gogdzl <diego.rodrigues@automattic.com>
Co-authored-by: Artur Piszek <artur.piszek@automattic.com>
Co-authored-by: Marin Atanasov <8436925+tyxla@users.noreply.github.com>
Co-authored-by: Steve D <33553323+sdixon194@users.noreply.github.com>
Co-authored-by: Nauris Pūķis <hi@pyronaur.com>
Co-authored-by: Sergey Mitroshin <sergeymitr@gmail.com>
Co-authored-by: ouikhuan <iverson0217@gmail.com>
Co-authored-by: Derek Smart <smart@automattic.com>
Co-authored-by: Derek Smart <dsmart@dsmart-mbp.lan>
Co-authored-by: MILLER/F <millerf@automattic.com>
Co-authored-by: André Kallehauge <3846700+kallehauge@users.noreply.github.com>
Co-authored-by: Grant Kinney <creativecoder@users.noreply.github.com>
Co-authored-by: Bogdan Ungureanu <bogdanungureanu21@gmail.com>
Co-authored-by: Kuba Birecki <ice9js@users.noreply.github.com>
Co-authored-by: gogdzl <37049295+gogdzl@users.noreply.github.com>
Co-authored-by: cleacos <javacodia@gmail.com>
Co-authored-by: simonktnga8c <79907037+simonktnga8c@users.noreply.github.com>
Co-authored-by: Christian Gastrell <cgastrell@gmail.com>
Co-authored-by: Gergely Márk Juhász <36671565+gmjuhasz@users.noreply.github.com>
Co-authored-by: Siddarthan Sarumathi Pandian <siddarthan@outlook.com>
Co-authored-by: bindlegirl <1242807+bindlegirl@users.noreply.github.com>
Co-authored-by: nunyvega <alvaro.vega@automattic.com>
Co-authored-by: Piotr Stankowski <6437642+trakos@users.noreply.github.com>
Co-authored-by: Adnan Haque <eAdnan007@users.noreply.github.com>
Co-authored-by: arthur791004 <arthur.chu@automattic.com>
Co-authored-by: Vishnu Gopal <533+vishnugopal@users.noreply.github.com>
Co-authored-by: Foteini Giannaropoulou <giannaropoulou.foteini@gmail.com>
Co-authored-by: Biser Perchinkov <biser@bisko.be>
Co-authored-by: James Kenneth Guidaven <jkguidaven@gmail.com>
Co-authored-by: Derek Smart <dsmart@dsmart-mbp.local>
Co-authored-by: Ian Ramos <5714212+IanRamosC@users.noreply.github.com>
@valterlorran valterlorran mentioned this pull request Feb 21, 2023
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Admin Page React-powered dashboard under the Jetpack menu [Feature] Masterbar WordPress.com Toolbar and Dashboard customizations [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Type] Bug When a feature is broken and / or not performing as intended
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: Submenus are shown outside of screen - Nav Unification
5 participants