Skip to content

Forms: Update Landing page to About page#43361

Merged
dhasilva merged 15 commits intotrunkfrom
update/forms-dashboard-about
May 8, 2025
Merged

Forms: Update Landing page to About page#43361
dhasilva merged 15 commits intotrunkfrom
update/forms-dashboard-about

Conversation

@dhasilva
Copy link
Contributor

@dhasilva dhasilva commented May 3, 2025

Fixes JETPACK-384

Proposed changes:

  • Adds typescript support on Forms package
  • Updates SASS
  • Creates a new About page
  • Replaces the Landing page with the About page

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 the Feedback page
  • Open the About tab
  • Check that it matches the Figma file (see issue)
  • Change the viewport to mobile and check that nothing is broken
  • Change the viewport to tablet and check that nothing is broken

@dhasilva dhasilva added the DO NOT MERGE don't merge it! label May 3, 2025
@dhasilva dhasilva requested a review from a team May 3, 2025 01:29
@dhasilva dhasilva self-assigned this May 3, 2025
@github-actions github-actions bot added [Feature] Forms [Package] Forms [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/ [Status] In Progress labels May 3, 2025
@github-actions
Copy link
Contributor

github-actions bot commented May 3, 2025

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.
  • ✅ Add a "[Status]" label (In Progress, Needs Review, ...).
  • ✅ Add a "[Type]" label (Bug, Enhancement, Janitorial, Task).
  • ✅ 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 🤖


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!


Jetpack plugin:

No scheduled milestone found for this plugin.

If you have any questions about the release process, please ask in the #jetpack-releases channel on Slack.

@github-actions github-actions bot added the [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. label May 3, 2025
@dhasilva dhasilva force-pushed the update/forms-dashboard-about branch from 3aa40c0 to ef90083 Compare May 5, 2025 20:41
@github-actions
Copy link
Contributor

github-actions bot commented May 5, 2025

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/forms-dashboard-about branch.
  • To test on Simple, run the following command on your sandbox:
bin/jetpack-downloader test jetpack update/forms-dashboard-about
bin/jetpack-downloader test jetpack-mu-wpcom-plugin update/forms-dashboard-about

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

@dhasilva dhasilva force-pushed the update/forms-dashboard-about branch from ef90083 to 1a0ed95 Compare May 5, 2025 20:51
@jp-launch-control
Copy link

jp-launch-control bot commented May 5, 2025

Code Coverage Summary

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

File Coverage
projects/packages/forms/src/dashboard/about/index.tsx 0/7 (0.00%) 💔
projects/packages/forms/src/dashboard/about/svg/akismet-svg.tsx 0/2 (0.00%) 💔
projects/packages/forms/src/dashboard/about/svg/check-svg.tsx 0/2 (0.00%) 💔
projects/packages/forms/src/dashboard/about/svg/close-svg.tsx 0/2 (0.00%) 💔
projects/packages/forms/src/dashboard/about/svg/export-svg.tsx 0/2 (0.00%) 💔

Full summary · PHP report · JS report

Coverage check overridden by Coverage tests to be added later Use to ignore the Code coverage requirement check when tests will be added in a follow-up PR .

@dhasilva dhasilva added [Status] Needs Review This PR is ready for review. and removed [Status] Needs Author Reply We need more details from you. This label will be auto-added until the PR meets all requirements. DO NOT MERGE don't merge it! labels May 5, 2025
@dhasilva dhasilva marked this pull request as ready for review May 5, 2025 21:48
@dhasilva dhasilva changed the title WIP Forms: Update Landing page to About page Forms: Update Landing page to About page May 5, 2025
@github-actions github-actions bot removed the [Status] Needs Review This PR is ready for review. label May 5, 2025
@dhasilva dhasilva added [Status] Needs Review This PR is ready for review. [Type] Feature Coverage tests to be added later Use to ignore the Code coverage requirement check when tests will be added in a follow-up PR and removed [Status] In Progress labels May 5, 2025
@edanzer
Copy link
Contributor

edanzer commented May 7, 2025

Apart from other questions above, the new page looks great! I tried to compare tightly against figma designs. Only things I noted:

  • There are very minor differences in fonts/spacing in several places
  • The button at the top is smaller, black, and spacing seems off. I suspect we're using a core button as is, so there are some questions about if we'd want to override styling. I think there was some discussion about this elsewhere.
  • We could add Jetpack and Akismet icons to the Connect with apps section.

Many of these are quite minor. For my own part, I'd be fine deploying this and then handling tweaks, if needed, in follow ups if you'd prefer. The one change I'd consider making is doing the TS setup in a different PR just to trim down the size of this one and reduce risk.

Screenshots

forms-about-1 forms-about-2 forms-about-3

@simison
Copy link
Member

simison commented May 7, 2025

Please remember to test mobile version as well, thanks!

@dhasilva dhasilva force-pushed the update/forms-dashboard-about branch 2 times, most recently from a35a7d2 to 04ea41d Compare May 7, 2025 19:16
Comment on lines 42 to 43
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm assuming the same tracking event is used for all instances of the button, at least for now.

Copy link
Contributor

@edanzer edanzer May 7, 2025

Choose a reason for hiding this comment

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

Curious why we need the package.json changes for this PR?

I think this change is also causing changes to the root pnpm-lock.yaml file. Changes to core dependency or build files can make me nervous because there's so much going on with Jetpack's build environment and processes, and because of the risk of affecting builds for other packages/plugins.

If we don't need this or could put it in a different PR, I might prefer that. If we do need it here, that's fine too, of course.

pnpm-lock.yaml Outdated
Copy link
Contributor

Choose a reason for hiding this comment

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

Same question here as I posed on the form package.json file....

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@edanzer The Sass update is required for the use of CSS's native round function. Sass had its own round function and it tries to compile this and fails. I updated to the nearest version that fixes this:

https://github.com/sass/dart-sass/blob/main/CHANGELOG.md#1670

Now for why I'm using round there, it is to avoid the image being resized to a sub-pixel width depending on the monitor resolution, making the image a bit blurry. That is normally not an issue, but it is perceptible in this case because the images are screenshot of forms with text.

Copy link
Contributor

Choose a reason for hiding this comment

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

Are we comfortable / confident that updating the project-wide dependencies won't cause build issues for any other packages/plugins in the monorepo?

Copy link
Contributor

Choose a reason for hiding this comment

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

As with other question about Akisment, I wonder if it would make sense to use existing jetpack svg icon. Example here.

I noticed the salesforce png is a bit blurry. I have a separate PR that adds a salesforce svg icon. Once merged we could update that here too in a follow up.

edanzer
edanzer previously approved these changes May 8, 2025
@dhasilva dhasilva force-pushed the update/forms-dashboard-about branch from 30d7fce to 3a9600d Compare May 8, 2025 15:31
@dhasilva dhasilva merged commit f681a93 into trunk May 8, 2025
84 checks passed
@dhasilva dhasilva deleted the update/forms-dashboard-about branch May 8, 2025 16:03
@github-actions github-actions bot removed the [Status] Needs Review This PR is ready for review. label May 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Coverage tests to be added later Use to ignore the Code coverage requirement check when tests will be added in a follow-up PR [Feature] Forms [Package] Forms [Plugin] Jetpack Issues about the Jetpack plugin. https://wordpress.org/plugins/jetpack/

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants