8000 [🔌] NT-1129 Adding progress state for pledging by eoji · Pull Request #831 · kickstarter/android-oss · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[🔌] NT-1129 Adding progress state for pledging #831

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

Merged
merged 2 commits into from
Apr 9, 2020
Merged

[🔌] NT-1129 Adding progress state for pledging #831

merged 2 commits into from
Apr 9, 2020

Conversation

eoji
Copy link
Contributor
@eoji eoji commented Apr 9, 2020

**Note: ** Please review #830 first.

📲 What

Displaying progress state when user clicks pledge button and request is in progress.

🤔 Why

So users know when their pledge has been submitted.

🛠 How

PledgeFragmentViewModel

  • Added output pledgeProgressIsGone that emits a Boolean determining if the pledge ProgressBar should be visible.
    • pledgeProgressIsGone has the same behavior as updatePledgeProgressIsGone because updatePledgeProgressIsGone will be removed when the Update Pledge button is removed
  • Disabling the Pledge button when a pledge is being created.
  • Tests...so many tests

👀 See

device-2020-04-08-175715 2020-04-09 12_32_42

📋 QA

Smash that pledge button.

Story 📖

NT-1129

eoji added 2 commits April 9, 2020 11:11
- Added output `pledgeProgressIsGone` that emits a `Boolean` determining if the pledge `ProgressBar` should be visible.
  - `pledgeProgressIsGone` has the same behavior as `updatePledgeProgressIsGone` because `updatePledgeProgressIsGone` will be removed when the `Update Pledge` button is removed
- Disabling the `Pledge` button when a pledge is being created.
- Tests
## `fragment_pledge_section_footer.xml`
- Added fake `pledge_footer_pledge_button_progress` button that lives on top of `pledge_footer_pledge_button`
@eoji eoji requested a review from a team April 9, 2020 16:34
@eoji eoji changed the title [🔌] NT-1127 Adding progress state for pledging [🔌] NT-1129 Adding progress state for pledging Apr 9, 2020
@eoji eoji merged commit f116ae4 into NT-1103 Apr 9, 2020
@eoji eoji deleted the NT-1127 branch April 9, 2020 20:38
eoji added a commit that referenced this pull request Apr 20, 2020
* [🦶🏾] NT-1104 Add Pledge screen footer (#817)
* [⬇] NT-1120 Vertical payment methods in Pledge screen (#821)
* [🔨] NT-1121 Stored cards redesign (#822)
* [🛒] NT-1105 Kickstarter is not a store redesign (#823)
* [💳] NT-1122 Initial card selection (#824)
* [⏳] NT-1124 Loading state for payment methods (#825)
* [➕] NT-1125 New card CTA (#828)
* [💳] NT-1123 Last four digits copy (#826)
* [💳] NT-1123 Card not allowed copy (#827)
* [🎨] NT-1111 Adding 2 buttons in the new pledge footer (#830)
* [🔌] NT-1129 Adding progress state for pledging (#831)
* [🗣] NT-1126 Payment methods a11y (#829)
* [👷🏾‍♀️] NT-1128 Moved continue button in Pledge screen to footer (#833)
* [⚠️] NT-1131 Pledge error Toasts (#832)
* [␡] NT-1127 Removing Update pledge button (#834)
* [📝] NT-1130 Pledge button CTA (#835)
* [✅] NT-1133 Enabling pledge button only when all fields are valid (#836)
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.

2 participants
0