-
Notifications
You must be signed in to change notification settings - Fork 1.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
[NT-892, NT-893] (2/3) Landing page carousel #1083
[NT-892, NT-893] (2/3) Landing page carousel #1083
Conversation
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.
@@ -61,6 +62,7 @@ public final class LandingPageViewController: UIViewController { | |||
.observeForUI() | |||
.observeValues { [weak self] cards in | |||
self?.configureCards(with: cards) | |||
self?.updatePageControl(with: cards) |
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 wonder if this should be a separate output pageControlCount
so it can be tested independently 🤔
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.
Oh, good idea! 👍
public var quantity: String? { | ||
switch self { | ||
case .successfulProjects: | ||
return Strings.Total_plus(total: "177,000") |
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.
Should we use Format.wholeNumber
here so the number is localized?
case .successfulProjects: | ||
return Strings.Total_plus(total: "177,000") | ||
case .totalBackers: | ||
return Strings.Million_plus(total_amount: "17") |
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.
Same here though this one is probably fine.
Generated by 🚫 Danger |
📲 What
. This is the second part of a 3 parts work to create our new LandingPage.
. It adds the
stats
andhow to
cards to the Landing Page screen.🤔 Why
We want to tell new users a little more about Kickstarter during their first session.
JIRA tickets:
Ticket 1
Ticket 2
🛠 How
👀 See
Trello, screenshots, external resources?
♿️ Accessibility
✅ Acceptance criteria