-
Notifications
You must be signed in to change notification settings - Fork 121
Analytics Hub: Products Card UI #8215
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
Conversation
Generated by 🚫 dangerJS |
175f77b to
26d8897
Compare
You can test the changes from this Pull Request by:
|
rachelmcr
left a comment
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 have a small concern about the inconsistent card styles, but since this matches the design I don't think it's a blocker. ![]()
| .footnoteStyle() | ||
|
|
||
| Text(Localization.itemsSold) | ||
| .headlineStyle() |
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 see this matches the Figma designs, but I think it makes more sense to use .calloutStyle() here to match the other cards. Otherwise this card has a strangely different style. What do you think?
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 Initially tried it with calloutStyle() and it also looked off. I think once we have the product list will look better!
26d8897 to
f052ed0
Compare
part of #8198
Why
This PR adds the UI for the first half of the product card. The next half, the product list, will be added in #8199 .
This PR links the UI using some fake data on the main hub view model.
How
DeltaTagto its own type so it can be reused.AnalyticsProductCardwhich contains the product card UI.AnalyticsProductCardViewModelto allow for easier data transportation.Screenshot
# Test Steps
RELEASE-NOTES.txtif necessary.