jetpack icon indicating copy to clipboard operation
jetpack copied to clipboard

[DRAFT] Improve AI generation modal design

Open gmjuhasz opened this issue 2 months ago • 3 comments

Currently depriod by p1764774199618559/1764767269.766209-slack-C09QJF0GKJB

Fixes #

Proposed changes:

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

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

Testing instructions:

  • Go to '..'

gmjuhasz avatar Dec 03 '25 13:12 gmjuhasz

Are you an Automattician? Please test your changes on all WordPress.com environments to help mitigate accidental explosions.

  • To test on WoA, go to the Plugins menu on a WoA dev site. Click on the "Upload" button and follow the upgrade flow to be able to upload, install, and activate the Jetpack Beta plugin. Once the plugin is active, go to Jetpack > Jetpack Beta, select your plugin (Jetpack or WordPress.com Site Helper), and enable the update/ai/image-generation-modal-ux branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack update/ai/image-generation-modal-ux
bin/jetpack-downloader test jetpack-mu-wpcom-plugin update/ai/image-generation-modal-ux

Interested in more tips and information?

  • In your local development environment, use the jetpack rsync command to sync your changes to a WoA dev blog.
  • Read more about our development workflow here: PCYsg-eg0-p2
  • Figure out when your changes will be shipped to customers here: PCYsg-eg5-p2

github-actions[bot] avatar Dec 03 '25 13:12 github-actions[bot]

Thank you for your PR!

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

  • :white_check_mark: Include a description of your PR changes.
  • :white_check_mark: Add a "[Status]" label (In Progress, Needs Review, ...).
  • :red_circle: Add a "[Type]" label (Bug, Enhancement, Janitorial, Task).
  • :white_check_mark: Add testing instructions.
  • :white_check_mark: Specify whether this PR includes any changes to data or privacy.
  • :red_circle: 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 :robot:


:red_circle: Action required: Please add missing changelog entries for the following projects: projects/js-packages/ai-client, projects/js-packages/components

Use the Jetpack CLI tool to generate changelog entries by running the following command: jetpack changelog add. Guidelines: /docs/writing-a-good-changelog-entry.md


Follow this PR Review Process:

  1. Ensure all required checks appearing at the bottom of this PR are passing.
  2. Make sure to test your changes on all platforms that it applies to. You're responsible for the quality of the code you ship.
  3. You can use GitHub's Reviewers functionality to request a review.
  4. When it's reviewed and merged, you will be pinged in Slack to deploy the changes to WordPress.com simple once the build is done.

If you have questions about anything, reach out in #jetpack-developers for guidance!

github-actions[bot] avatar Dec 03 '25 13:12 github-actions[bot]

Code Coverage Summary

Coverage changed in 1 file.

File Coverage Δ% Δ Uncovered
projects/js-packages/ai-client/src/components/ai-image/components/ai-image-modal.tsx 0/38 (0.00%) 0.00% -3 💚

6 files are newly checked for coverage. Only the first 5 are listed here.

File Coverage
projects/js-packages/ai-client/src/components/ai-image/components/ai-image-screen/content.tsx 0/1 (0.00%) 💔
projects/js-packages/ai-client/src/components/ai-image/components/ai-image-screen/index.tsx 0/7 (0.00%) 💔
projects/js-packages/ai-client/src/components/ai-image/components/ai-image-screen/sidebar.tsx 0/4 (0.00%) 💔
projects/js-packages/ai-client/src/components/ai-image/components/ai-image-screen/style-grid.tsx 0/16 (0.00%) 💔
projects/js-packages/ai-client/src/components/ai-image/components/ai-image-screen/assets/index.d.ts 0/0 (—%) 🤷

Full summary · PHP report · JS report

If appropriate, add one of these labels to override the failing coverage check: https://github.com/Automattic/jetpack/labels/Covered%20by%20non-unit%20tests https://github.com/Automattic/jetpack/labels/Coverage%20tests%20to%20be%20added%20later https://github.com/Automattic/jetpack/labels/I%20don%27t%20care%20about%20code%20coverage%20for%20this%20PR

jp-launch-control[bot] avatar Dec 03 '25 14:12 jp-launch-control[bot]