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

[Jetpack App Migration] Design Updates to App Banners #67607

Merged
merged 4 commits into from
Sep 27, 2022

Conversation

SiobhyB
Copy link
Contributor

@SiobhyB SiobhyB commented Sep 9, 2022

Following the updates to the app banners in #67013, this PR addresses design feedback.

Proposed Changes

Some necessary tweaks to various styles have been made, such as padding, font sizes, etc. The following screenshots display a comparison between the design and the actual implementation followed by a before/after comparison.

Design/actual Comparison ⤵️

Note, the "actual" screenshot is from an emulation of the Pixel 5 (393 x 851).

Design Actual
Before/after ⤵️

As with the design comparison, the both screenshots are from an emulation of the Pixel 5 (393 x 851).

Before After

Testing Instructions

Prerequisite: The app banner can be viewed via the mobile web (which can also be emulated using browser tools) when navigating directly to the Reader, Stats, Notifications, or the editor. Note, if the banner has previously been dismissed in your browser, it'll be necessary to clear your cache.

The following should be confirmed for both iOS and Android:

  • Verify that the banner appears as expected when navigating to the Reader, Stats, Notifications, and the editor.
  • For now, the banner's "open" link won't open the Jetpack app (see deep links section above for further details). We should, however, confirm that the links to the WordPress app continue to function as before for users.

Pre-merge Checklist

Previous feedback indicated that the banners didn't match the designs exactly, so this commit makes some necessary tweaks to various styles, such as padding, font sizes, etc.
@github-actions
Copy link

github-actions bot commented Sep 9, 2022

@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.

@SiobhyB SiobhyB changed the title [Jetpack App Migration] [Jetpack App Migration] Design Updates to App Banners Sep 9, 2022
By using "@extend .wp-brand-font", Recoleta will only be used when a site's using a language it supports. Otherwise, a fallback option will be used.
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: initial;
text-rendering: auto;
@extend .wp-brand-font;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

@extend .wp-brand-font; is the recommended way to apply the $brand-serif fonts to ensure a device's locale is taken into account (reference).

Comment on lines +99 to +101
-webkit-font-smoothing: auto;
-moz-osx-font-smoothing: initial;
text-rendering: auto;
Copy link
Contributor Author

Choose a reason for hiding this comment

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

'Reverting' the following font-smoothing CSS, without this the font-weight doesn't appear to be 500:

smoothing-antialiased {
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

@SiobhyB SiobhyB marked this pull request as ready for review September 19, 2022 21: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 Sep 19, 2022
@SiobhyB SiobhyB self-assigned this Sep 19, 2022
@SiobhyB
Copy link
Contributor Author

SiobhyB commented Sep 19, 2022

@shaunandrews, let me know if any further screenshots would be helpful here. Looking forward to hearing any design feedback!

Copy link
Member

@dcalhoun dcalhoun left a comment

Choose a reason for hiding this comment

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

🚀 This looks great to me! I tested iOS and Android using the Chrome browser emulator.

Comment on lines -94 to +95
font-weight: bold;
font-weight: 500;
Copy link
Member

Choose a reason for hiding this comment

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

While I see the weight in Figma is "Medium," for my eyes, it seems like bold renders more closely to the design comp than 500. It is quite nuanced and likely not that important either way. Just wanted to drop a note, though.

@shaunandrews
Copy link
Contributor

Font-weight and spacing looking much better! Thanks for the updates.

🚢

@SiobhyB SiobhyB merged commit 20ff548 into trunk Sep 27, 2022
@SiobhyB SiobhyB deleted the update/app-banner-design branch September 27, 2022 08:54
@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 27, 2022
villanovachile pushed a commit that referenced this pull request Sep 27, 2022
Previous feedback indicated that the banners didn't match the designs exactly, so these changes make some necessary tweaks to various styles, such as padding, font sizes, etc.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants