Skip to content
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

feat(app): setup advanced settings/tip management state for quick transfer #15192

Merged
merged 6 commits into from
May 17, 2024

Conversation

smb2268
Copy link
Contributor

@smb2268 smb2268 commented May 15, 2024

fix PLAT-227

Overview

This is a setup PR that doesn't add functionality. It adds the state and reducers needed for implementing the advanced settings and tip management portions of the quick transfer flow.

Test Plan

This doesn't impact functionality so no need to test

Changelog

  1. Rename QuickTransferSetupState to QuickTransferWizardState
  2. Create QuickTransferSummaryState type and getInitialSummaryState util that will generate the starting point for the state including default values based on what was selected in the wizard flow. There are a few TODO comments in here that will be addressed when those fields' screens are implemented.
  3. Add quickTransferSummaryReducer that will allow us to amend the state based on selections made in the advanced settings and tip management fields

Review requests

Look through utils for clarity

Risk assessment

Low, behind FF

@smb2268 smb2268 requested a review from a team May 15, 2024 21:25
@smb2268 smb2268 marked this pull request as ready for review May 15, 2024 21:25
@smb2268 smb2268 requested a review from a team as a code owner May 15, 2024 21:25
@smb2268 smb2268 requested review from brenthagen and removed request for a team May 15, 2024 21:25
Copy link
Contributor

@brenthagen brenthagen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM !

app/src/organisms/QuickTransferFlow/constants.ts Outdated Show resolved Hide resolved
@smb2268 smb2268 merged commit ea27e76 into edge May 17, 2024
38 checks passed
@smb2268 smb2268 deleted the app_quick-transfer-advanced-state branch May 17, 2024 19:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants