Skip to content

Update reader menu icons #103809

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

Merged
merged 11 commits into from
Jun 2, 2025
Merged

Update reader menu icons #103809

merged 11 commits into from
Jun 2, 2025

Conversation

davemart-in
Copy link
Contributor

Description

Addresses https://github.com/Automattic/loop/issues/636

In this PR I've gone through and updated all of the icons in the reader ellipsis toggle menu.

Before

CleanShot 2025-05-29 at 11 25 30@2x

After

CleanShot 2025-05-29 at 11 26 24@2x

Testing

  • Apply this PR
  • Test this menu on cards across all feeds

@davemart-in davemart-in self-assigned this May 29, 2025
@davemart-in davemart-in requested a review from a team as a code owner May 29, 2025 15:29
@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 May 29, 2025
Copy link

github-actions bot commented May 29, 2025

@matticbot
Copy link
Contributor

matticbot commented May 29, 2025

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

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

  • help-center
  • odyssey-stats

To test WordPress.com changes, run install-plugin.sh $pluginSlug update/reader-random-icons on your sandbox.

@matticbot
Copy link
Contributor

matticbot commented May 29, 2025

Here is how your PR affects size of JS and CSS bundles shipped to the user's browser:

App Entrypoints (~76 bytes removed 📉 [gzipped])

name                    parsed_size           gzip_size
entry-main                   -921 B  (-0.0%)      -84 B  (-0.0%)
entry-subscriptions          -126 B  (-0.0%)      -21 B  (-0.0%)
entry-stepper                -126 B  (-0.0%)      -13 B  (-0.0%)
entry-reauth-required        -126 B  (-0.0%)      -21 B  (-0.0%)
entry-login                  -126 B  (-0.0%)      -21 B  (-0.0%)
entry-domains-landing        -126 B  (-0.0%)      -21 B  (-0.0%)
entry-dashboard-dotcom       -126 B  (-0.0%)      -21 B  (-0.0%)
entry-dashboard-a4a          -126 B  (-0.0%)      -21 B  (-0.0%)
entry-browsehappy            -126 B  (-0.1%)      -21 B  (-0.0%)

Common code that is always downloaded and parsed every time the app is loaded, no matter which route is used.

Sections (~1992 bytes removed 📉 [gzipped])

name                               parsed_size           gzip_size
home                                   +3211 B  (+0.2%)    +1319 B  (+0.3%)
people                                  +674 B  (+0.1%)     +213 B  (+0.1%)
pages                                   +674 B  (+0.1%)     +245 B  (+0.2%)
settings-writing                        +661 B  (+0.1%)     +114 B  (+0.1%)
posts-custom                            +661 B  (+0.1%)     +229 B  (+0.1%)
posts                                   +661 B  (+0.1%)     +229 B  (+0.1%)
media                                   +661 B  (+0.0%)      +97 B  (+0.0%)
jetpack-cloud-partner-portal            +661 B  (+0.1%)     +126 B  (+0.0%)
earn                                    +661 B  (+0.1%)     +112 B  (+0.0%)
plugins                                 +284 B  (+0.0%)      +66 B  (+0.0%)
overview                                +284 B  (+0.0%)      +74 B  (+0.0%)
jetpack-cloud-plugin-management         +284 B  (+0.0%)      +66 B  (+0.0%)
email                                   +284 B  (+0.0%)      +67 B  (+0.0%)
domains                                 +284 B  (+0.0%)      +66 B  (+0.0%)
a8c-for-agencies-plugins                +284 B  (+0.0%)      +66 B  (+0.0%)
woocommerce-installation                +194 B  (+0.1%)      +55 B  (+0.1%)
woocommerce                             +194 B  (+0.1%)      +55 B  (+0.1%)
themes                                  +194 B  (+0.0%)      +56 B  (+0.0%)
theme                                   +194 B  (+0.0%)      +56 B  (+0.0%)
subscribers                             +194 B  (+0.0%)      +55 B  (+0.0%)
stats                                   +194 B  (+0.0%)      +57 B  (+0.0%)
staging-site                            +194 B  (+0.0%)      +55 B  (+0.0%)
sites-dashboard                         +194 B  (+0.0%)      +55 B  (+0.0%)
site-settings                           +194 B  (+0.0%)      +55 B  (+0.0%)
site-purchases                          +194 B  (+0.0%)      +55 B  (+0.0%)
site-performance                        +194 B  (+0.0%)      +55 B  (+0.0%)
site-monitoring                         +194 B  (+0.0%)      +55 B  (+0.0%)
site-logs                               +194 B  (+0.0%)      +55 B  (+0.0%)
settings-security                       +194 B  (+0.0%)      +55 B  (+0.0%)
settings-reading                        +194 B  (+0.1%)      +55 B  (+0.0%)
settings-podcast                        +194 B  (+0.0%)      +55 B  (+0.0%)
settings-performance                    +194 B  (+0.0%)      +55 B  (+0.0%)
settings-newsletter                     +194 B  (+0.0%)      +55 B  (+0.0%)
settings-jetpack                        +194 B  (+0.0%)      +55 B  (+0.0%)
settings-discussion                     +194 B  (+0.0%)      +55 B  (+0.0%)
settings                                +194 B  (+0.0%)      +55 B  (+0.0%)
scan                                    +194 B  (+0.0%)      +55 B  (+0.0%)
promote-post-i2                         +194 B  (+0.0%)      +55 B  (+0.0%)
plans                                   +194 B  (+0.0%)      +55 B  (+0.0%)
migrate                                 +194 B  (+0.1%)      +55 B  (+0.0%)
marketplace                             +194 B  (+0.0%)      +55 B  (+0.0%)
marketing                               +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-social                          +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-search                          +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-connect                         +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-cloud-settings                  +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-cloud-pricing                   +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-cloud-overview                  +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-cloud-features-comparison       +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-cloud-agency-dashboard          +194 B  (+0.0%)      +55 B  (+0.0%)
jetpack-cloud                           +194 B  (+0.0%)      +55 B  (+0.0%)
import                                  +194 B  (+0.0%)      +55 B  (+0.0%)
hosting                                 +194 B  (+0.0%)      +55 B  (+0.0%)
gutenberg-editor                        +194 B  (+0.1%)      +55 B  (+0.1%)
google-my-business                      +194 B  (+0.0%)      +55 B  (+0.0%)
github-deployments                      +194 B  (+0.0%)      +55 B  (+0.0%)
export                                  +194 B  (+0.1%)      +55 B  (+0.1%)
customize                               +194 B  (+0.1%)      +55 B  (+0.1%)
concierge                               +194 B  (+0.0%)      +55 B  (+0.0%)
comments                                +194 B  (+0.0%)      +55 B  (+0.0%)
backup                                  +194 B  (+0.0%)      +55 B  (+0.0%)
add-ons                                 +194 B  (+0.0%)      +55 B  (+0.0%)
activity                                +194 B  (+0.0%)      +55 B  (+0.0%)
a8c-for-agencies-woopayments            +194 B  (+0.0%)      +55 B  (+0.0%)
a8c-for-agencies-team                   +194 B  (+0.0%)      +55 B  (+0.0%)
a8c-for-agencies-sites                  +194 B  (+0.0%)      +55 B  (+0.0%)
a8c-for-agencies-referrals              +194 B  (+0.0%)      +36 B  (+0.0%)
a8c-for-agencies-purchases              +194 B  (+0.0%)      +55 B  (+0.0%)
a8c-for-agencies-migrations             +194 B  (+0.0%)      +38 B  (+0.0%)
a8c-for-agencies-marketplace            +194 B  (+0.0%)      +38 B  (+0.0%)
a8c-for-agencies-client                 +194 B  (+0.0%)      +55 B  (+0.0%)
purchases                               +181 B  (+0.0%)     +274 B  (+0.0%)
checkout                                +168 B  (+0.0%)       -1 B  (-0.0%)
security                                +123 B  (+0.0%)     -343 B  (-0.2%)
reader                                  -113 B  (-0.0%)      -69 B  (-0.0%)
privacy                                  +86 B  (+0.0%)     +217 B  (+0.1%)
developer                                +86 B  (+0.0%)      +69 B  (+0.0%)
account-close                            +86 B  (+0.0%)     +253 B  (+0.2%)
account                                  +78 B  (+0.0%)     +247 B  (+0.1%)

Sections contain code specific for a given set of routes. Is downloaded and parsed only when a particular route is navigated to.

Async-loaded Components (~1570 bytes added 📈 [gzipped])

name                                                 parsed_size           gzip_size
async-load-calypso-components-web-preview-component      +3004 B  (+0.7%)    +1121 B  (+0.8%)
async-load-design-playground                              +674 B  (+0.0%)     +124 B  (+0.0%)
async-load-design                                         +674 B  (+0.0%)     +124 B  (+0.0%)
async-load-design-blocks                                  +651 B  (+0.0%)      +20 B  (+0.0%)
async-load-calypso-post-editor-media-modal                +467 B  (+0.0%)      +42 B  (+0.0%)
async-load-signup-steps-site-picker                       +194 B  (+0.1%)      +55 B  (+0.1%)
async-load-signup-steps-difm-site-picker                  +194 B  (+0.1%)      +55 B  (+0.1%)
async-load-calypso-blocks-jitm-templates-home-task        +194 B  (+0.3%)      +51 B  (+0.2%)

React components that are loaded lazily, when a certain part of UI is displayed for the first time.

Legend

What is parsed and gzip size?

Parsed Size: Uncompressed size of the JS and CSS files. This much code needs to be parsed and stored in memory.
Gzip Size: Compressed size of the JS and CSS files. This much data needs to be downloaded over network.

Generated by performance advisor bot at iscalypsofastyet.com.

Copy link
Contributor

@Addison-Stavlo Addison-Stavlo left a comment

Choose a reason for hiding this comment

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

This tests well and code looks reasonable. There are a couple small items to note:

I notice the new ellipsis menu doesn't have the open/close animation the old one did:
ellipsis-menu
I am unsure if we care about that, as many of our ellipsis menus on the dashboard and other places don't do this either.

Note that this change to the ellipsis-menu component will also affect some other items we haven't pointed out. For the most part, ellipsis menus I look for are unaffected, but one example I found are the cards on My Home for the checklist and blogging prompt. Both of these have had the same change as reader cards:
Screenshot 2025-05-30 at 11 20 16 AM
Screenshot 2025-05-30 at 11 20 20 AM
Im not sure if this was intended, but seems like a change towards consistency if we are getting rid of the more bold version with the animation.

Less related to this PR, but something I noticed in testing: it looks like we are in the process of changing "Unsubscribe" to "Subscribed" (again, I know we have had back and forth on this and some a12s reported "bugs" because they clicked it and didn't expect to be unsubscribed 🙃) and updated the copy in the ellipsis menu here, but I'm noticing on /discover we still use the term "Unsubscribe" on the card in contrast to "Subscribed" in the ellipsis menu:
Screenshot 2025-05-30 at 11 22 24 AM.

Copy link
Contributor

@Addison-Stavlo Addison-Stavlo left a comment

Choose a reason for hiding this comment

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

If the above notes are all expected, then this seems good to go.

@davemart-in davemart-in force-pushed the update/reader-random-icons branch from 938ede7 to 233ef46 Compare June 2, 2025 20:08
@davemart-in
Copy link
Contributor Author

Rebased.

@davemart-in davemart-in merged commit fc0f5de into trunk Jun 2, 2025
11 checks passed
@davemart-in davemart-in deleted the update/reader-random-icons branch June 2, 2025 20:30
@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 Jun 2, 2025
@davemart-in
Copy link
Contributor Author

I'll work on updating "Unsubscribe" and a few other icons in a separate PR.

@a8ci18n
Copy link

a8ci18n commented Jun 2, 2025

This Pull Request is now available for translation here: https://translate.wordpress.com/deliverables/17535009

Some locales (Hebrew) have been temporarily machine-translated due to translator availability. All other translations are usually ready within a few days. Untranslated and machine-translated strings will be sent for translation next Monday and are expected to be completed by the following Friday.

Thank you @davemart-in for including a screenshot in the description! This is really helpful for our translators.

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