-
Notifications
You must be signed in to change notification settings - Fork 2k
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
PR: Improve dividers between cards on mobile #90229
Conversation
Jetpack Cloud live (direct link)
Automattic for Agencies live (direct link)
|
Here is how your PR affects size of JS and CSS bundles shipped to the user's browser: Sections (~186 bytes added 📈 [gzipped])
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 (~16 bytes added 📈 [gzipped])
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. Generated by performance advisor bot at iscalypsofastyet.com. |
749a2ad
to
c4a05f5
Compare
This PR modifies the release build for the following Calypso Apps: For info about this notification, see here: PCYsg-OT6-p2
To test WordPress.com changes, run |
At first glance im confused why we are changing 11 separate files to achieve this? |
…-calypso into fix/reader-mobile-dividers
I am. How weird is that? Digging in... |
@Addison-Stavlo though I'm not seeing this locally. |
Also noticed that it catches up and resolves itself after like 5 seconds. That's weird. Looks like the |
If we look at the selector causing this in #90280 there are 2 issues. One is that it can return true outside of the sites dashboard sections (it can be true simply for its breakpoint and redesign flag). That PR is updating the check to ensure we are on the sites dashboard. The second issue is the use of the We could resolve the second issue delay by updating the components that use this selector. Instead of relying on |
Yeah, I suspect your PR resolves this enough for now. |
Okay @Addison-Stavlo I think this is ready for another review. |
Okay I think this one is ready for another review. Thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good.
Unit tests are failing because of a typescript check (it isnt expecting your new 'style' object on props). Yay typescript. I pushed a change so hopefully that should be good.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
✅ when tests pass
Description
Description
This relates to https://github.com/Automattic/loop/issues/177
Dividers between cards could probably benefit from being 100% width and slightly darker, again to just help you see at a glance as you're flipping through your feed when you've moved from one card to the next:
Before
After