-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Empty Stats: standalone card #17142
Empty Stats: standalone card #17142
Conversation
You can trigger an installable build for these changes by visiting CircleCI here. |
You can trigger optional UI/connected tests for these changes by visiting CircleCI here. |
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.
@IBAction private func actionButtonTapped(_ sender: UIButton) { | ||
} |
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.
I would just put a comment here with the explanation why the body is empty.
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.
Fixed! 6bd4538
Had a look at the build and its looking great, very nice job 👌 Its hack week so I'm just capturing these thoughts, but no rush to respond. A couple of things
|
@osullivanchris Thanks for all the feedback!
Sounds good! Thanks!
I liked having the card stuck on top like the Customize card since it make the styling for Customize / Grow your audience more consistent. Adding padding is pretty simple though, so lmk if you feel strongly either way (cc: @leandroalonso) 😄
Definitely!
I'm pretty happy with how landscape looks 👍 By removing padding above the icon, do you mean have it top-aligned with "x Views to your site so far"? |
Generated by 🚫 dangerJS |
Fixed! a0407f6 |
@nikola-milicevic @leandroalonso Ready for a re-review 🙇♀️ |
@momo-ozawa thanks for sharing the iPad screenshots. It looks good to me. In general I think landscape is probably fine.
In the specs I had '4pt below text' where I found when the image was top-aligned perfectly with the 'A tip to grow your audience' heading it looked wrong. But nudging it down slightly looked more 'correct'. But actually in the build we might not have this to begin with, and its probably a ridiculous detail. On landscape though, I thought with just one line of text, the icon was floating a bit lower than I would like. It just doesn't look as well balanced. But even 4pt won't make a difference. It might look better on landscape if the icon was vertically centred to the block of text including the heading, but its a totally different structure to portrait so I'd imagine its way too messy to do. |
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.
@momo-ozawa I was able to see the Insights and Blogging Reminders card at the same time (Atomic site):
I wonder if that was caused because I didn't do a clean installation? When I did a clean install it all worked fine.
Another thing regarding the ghost cell:
I wonder if we should clean it a little bit (like the icon placeholder and the "set up" button). It looks a bit polluted to me, but that's up to @osullivanchris (and we can tackle on another PR).
I think it's because it wasn't a clean installation. However, you bring up a really good point -- I should still handle the case where the customize card is already showing before the user updates the app to a version with Empty Stats. I'll address this issue
Sounds good -- I'll tackle this in a future PR if needed. |
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.
LGTM! 🎉
Fixes #17123
Description
This PR adds the new Grow Audience standalone card to the Insights tab of the Stats screen.
Design ref: pbArwn-2NH-p2
Notes
How to test
Regression Notes
Potential unintended areas of impact
Loading / dismissing the Customize card in the Stats screen
What I did to test those areas of impact (or what existing automated tests I relied on)
Manually tested the loading / dismissal flow
What automated tests I added (or what prevented me from doing so)
N/A
PR submission checklist:
RELEASE-NOTES.txt
if necessary.