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

Site Profiler UI polishing #94977

Merged
merged 5 commits into from
Sep 28, 2024
Merged

Site Profiler UI polishing #94977

merged 5 commits into from
Sep 28, 2024

Conversation

candy02058912
Copy link
Contributor

@candy02058912 candy02058912 commented Sep 27, 2024

Related to https://github.com/Automattic/dotcom-forge/issues/9269

Proposed Changes

pdtkmj-2Z1-p2#comment-5721 and pdtkmj-2Z1-p2#comment-5723

Before After

pdtkmj-2Z1-p2#comment-5724

Before After

pdtkmj-2Z1-p2#comment-5725

Before After

Why are these changes being made?

  • Polishing the design

Testing Instructions

  • Go to calypso.localhost:3000/sites/performance/:site and calypso.localhost:3000/speed-test-tool?url=<site>
  • Check UI on various screen sizes

Pre-merge Checklist

  • Has the general commit checklist been followed? (PCYsg-hS-p2)
  • Have you written new tests for your changes?
  • Have you tested the feature in Simple (P9HQHe-k8-p2), Atomic (P9HQHe-jW-p2), and self-hosted Jetpack sites (PCYsg-g6b-p2)?
  • Have you checked for TypeScript, React or other console errors?
  • Have you used memoizing on expensive computations? More info in Memoizing with create-selector and Using memoizing selectors and Our Approach to Data
  • Have we added the "[Status] String Freeze" label as soon as any new strings were ready for translation (p4TIVU-5Jq-p2)?
  • For changes affecting Jetpack: Have we added the "[Status] Needs Privacy Updates" label if this pull request changes what data or activity we track or use (p4TIVU-aUh-p2)?

@candy02058912 candy02058912 changed the title Site Profiler UI enhancements WIP: Site Profiler UI enhancements Sep 27, 2024
@matticbot
Copy link
Contributor

This PR does not affect the size of JS and CSS bundles shipped to the user's browser.

Generated by performance advisor bot at iscalypsofastyet.com.

@matticbot
Copy link
Contributor

matticbot commented Sep 27, 2024

This PR modifies the release build for the following Calypso Apps:

For info about this notification, see here: PCYsg-OT6-p2

  • notifications
  • wpcom-block-editor

To test WordPress.com changes, run install-plugin.sh $pluginSlug update/site-profiler-styles on your sandbox.

@candy02058912 candy02058912 changed the title WIP: Site Profiler UI enhancements Site Profiler UI enhancements Sep 27, 2024
@matticbot matticbot added the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Sep 27, 2024
@candy02058912 candy02058912 requested review from a team and matt-west September 27, 2024 09:21
@candy02058912 candy02058912 marked this pull request as ready for review September 27, 2024 09:21
@candy02058912 candy02058912 changed the title Site Profiler UI enhancements Site Profiler UI polishing Sep 27, 2024
@matt-west
Copy link
Contributor

Thanks for tackling this @candy02058912! The loader and dropdown now look great. 👍

We now have too much top margin on the AI banner on desktop. We’ll only need that margin once the boxes stack at smaller screen sizes.

Screenshot 2024-09-27 at 10 30 55 Screenshot 2024-09-27 at 10 31 11

This isn’t mentioned on the original issues, but can we extend the Did you know? box to fill the full-width of the screen once the boxes stack. At the moment it looks a bit odd.

We’ll need to add a max-width on the content to avoid ending up with really long lines of text at larger screen widths.

Current
Screenshot 2024-09-27 at 10 31 22

Desired
Screenshot 2024-09-27 at 10 33 33

Copy link
Contributor

@matt-west matt-west left a comment

Choose a reason for hiding this comment

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

Pending changes to the AI banner spacing.

Copy link
Contributor

@vykes-mac vykes-mac left a comment

Choose a reason for hiding this comment

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

LGTM

@vykes-mac vykes-mac merged commit 161c759 into trunk Sep 28, 2024
11 checks passed
@vykes-mac vykes-mac deleted the update/site-profiler-styles branch September 28, 2024 00:49
@github-actions github-actions bot removed the [Status] Needs Review The PR is ready for review. This also triggers e2e canary tests and wp-desktop tests automatically. label Sep 28, 2024
@matt-west
Copy link
Contributor

@vykes-mac The Did you know? banner is now broken on mobile.

Screenshot 2024-09-30 at 09 27 12

The max-width set on the text also doesn't match the design. It should be 430px.

Please test changes thoroughly on both desktop and mobile before merging PRs. cc @autumnfjeld

TimBroddin pushed a commit that referenced this pull request Sep 30, 2024
* Add margin between the Did you know? callout and the AI banner on mobile

* Update font color for pending tests

* Fix hover color in recommendations dropdown

* Remove recommendation dropdown overrides

* extend jetpack boost container to fill parent

---------

Co-authored-by: vykes-mac <knrymcleish@gmail.com>
@vykes-mac
Copy link
Contributor

@candy02058912 Could you take a look at fixing this?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants