Skip to content

Update @yoast/ai-frontend dependency to version 0.19.0#22534

Merged
JorPV merged 1 commit intotrunkfrom
4739-fix-the-missing-string-from-the-usage-counter-tooltip-in-rtl-in-all-ai-features-generate-optimize-summarize
Sep 2, 2025
Merged

Update @yoast/ai-frontend dependency to version 0.19.0#22534
JorPV merged 1 commit intotrunkfrom
4739-fix-the-missing-string-from-the-usage-counter-tooltip-in-rtl-in-all-ai-features-generate-optimize-summarize

Conversation

@FAMarfuaty
Copy link
Copy Markdown
Contributor

@FAMarfuaty FAMarfuaty commented Aug 27, 2025

Context

Summary

This PR can be summarized in the following changelog entry:

  • [wordpress-seo non-user-facing] Updates the @yoast/ai-frontend package to the latest version in package.json to incorporate the latest improvements and fixes in the @yoast/ai-frontend library.
  • Fixes a bug where a string in the AI Generate usage counter tooltip was missing in RTL languages.

Relevant technical choices:

Test instructions

Test instructions for the acceptance test before the PR gets merged

This PR can be acceptance tested by following these steps:

  • Install and activate Yoast SEO
  • Set the site language to Arabic

Important

Please run the testing steps below in RTL and LTR language

Usage counter component in AI Generate

Example of usage counter Screenshot 2025-08-15 at 11 26 07
  • Create a post in Block editor/Classic editor/Elementor
  • Set a focus keyphrase
  • Go to Search appearance/Social media experience tab an expand it
  • Click on Generate SEO title/Generate meta description button
  • When the request is successful, hover over the usage counter inside the AI Generate component
  • Confirm that you see the following text: "You have X spark left this month. The next reset is in Y day. While this feature is in beta, you have unlimited sparks."
    • X being the number of spark you have for this month
    • Y being the number of the days before the next reset

Relevant test scenarios

  • Changes should be tested with the browser console open
  • Changes should be tested on different posts/pages/taxonomies/custom post types/custom taxonomies
  • Changes should be tested on different editors (Default Block/Gutenberg/Classic/Elementor/other)
  • Changes should be tested on different browsers
  • Changes should be tested on multisite

Test instructions for QA when the code is in the RC

  • QA should use the same steps as above.

QA can test this PR by following these steps:

Impact check

This PR affects the following parts of the plugin, which may require extra testing:

Other environments

  • This PR also affects Shopify. I have added a changelog entry starting with [shopify-seo], added test instructions for Shopify and attached the Shopify label to this PR.

Documentation

  • I have written documentation for this change. For example, comments in the Relevant technical choices, comments in the code, documentation on Confluence / shared Google Drive / Yoast developer portal, or other.

Quality assurance

  • I have tested this code to the best of my abilities.
  • During testing, I had activated all plugins that Yoast SEO provides integrations for.
  • I have added unit tests to verify the code works as intended.
  • If any part of the code is behind a feature flag, my test instructions also cover cases where the feature flag is switched off.
  • I have written this PR in accordance with my team's definition of done.
  • I have checked that the base branch is correctly set.

Innovation

  • No innovation project is applicable for this PR.
  • This PR falls under an innovation project. I have attached the innovation label.
  • I have added my hours to the WBSO document.

Fixes https://github.com/Yoast/wordpress-seo-premium/issues/4739

@FAMarfuaty FAMarfuaty added the changelog: other Needs to be included in the 'Other' category in the changelog label Aug 27, 2025
@FAMarfuaty FAMarfuaty marked this pull request as ready for review August 27, 2025 09:44
@coveralls
Copy link
Copy Markdown

Pull Request Test Coverage Report for Build 5dc31a1931584c35ba09ebb8bdc83fd356647f7a

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 53.276%

Totals Coverage Status
Change from base Build e06159548f7ef69792a3bfefede1979c33615831: 0.0%
Covered Lines: 31620
Relevant Lines: 59855

💛 - Coveralls

@JorPV JorPV added changelog: bugfix Needs to be included in the 'Bugfixes' category in the changelog and removed changelog: other Needs to be included in the 'Other' category in the changelog labels Aug 28, 2025
@JorPV JorPV added this to the 25.9 milestone Aug 28, 2025
@JorPV
Copy link
Copy Markdown
Contributor

JorPV commented Aug 28, 2025

CR + AT ✅

@JorPV JorPV changed the base branch from release/25.9 to trunk September 2, 2025 07:50
@JorPV JorPV modified the milestones: 25.9, 26.0 Sep 2, 2025
@JorPV JorPV merged commit 99e7d2e into trunk Sep 2, 2025
27 of 28 checks passed
@JorPV JorPV deleted the 4739-fix-the-missing-string-from-the-usage-counter-tooltip-in-rtl-in-all-ai-features-generate-optimize-summarize branch September 2, 2025 09:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog: bugfix Needs to be included in the 'Bugfixes' category in the changelog

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants