Skip to content

fix: refresh buy & sell UI immediately upon login/logout from a service - #860

Merged
HashEngineering merged 85 commits into
feature-coinbase-integrationfrom
bugfix-refresh-buy-sell-ui
Jan 25, 2022
Merged

HashEngineering merged 85 commits into
feature-coinbase-integrationfrom
bugfix-refresh-buy-sell-ui

Conversation

@ClaudeHangui

@ClaudeHangui ClaudeHangui commented Jan 4, 2022 •

Copy link
Copy Markdown
Contributor

Issue being fixed or feature implemented

Upon successful login/logout from the one of the services available to purchase Dash in Buy & Sell Dash UI, the state of the service wasn't updated accordingly in the list, unless we left the screen and resumed it afterwards

Related PR's and Dependencies

Screenshots / Videos

How Has This Been Tested?

  • QA (Mobile Team)

Checklist:

  • I have performed a self-review of my own code and added comments where necessary
  • I have added or updated relevant unit/integration/functional/e2e tests

Syn-McJ and others added 30 commits December 14, 2021 13:00
…itory and an implementation for the interface

- set up web services for payment_methods, place_buy_order, commit_order and send_funds_to_wallet
…to feature-buy-dash-data

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/viewmodels/CoinbaseServicesViewModel.kt
…_Order_Preview_Info_dialogs_Error_Success_messages

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/ui/CoinbaseServicesFragment.kt
…r_Preview_Info_dialogs_Error_Success_messages

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/ui/CoinbaseServicesFragment.kt
…_Order_Preview_Info_dialogs_Error_Success_messages

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/ui/CoinbaseServicesFragment.kt
…1131_Buy_Dash_UI_Order_Preview_Info_dialogs_Error_Success_messages

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/viewmodels/CoinbaseServicesViewModel.kt
…i models

- update implementation in CoinBaseRepository.kt and CoinbaseServicesViewModel.kt to for buy/commit/send flows
…to feature-buy-dash-data

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/viewmodels/CoinbaseServicesViewModel.kt
…t.kt

- change user authorization scope for coinbase in CoinBaseWebClientActivity.kt
- inject wallet data provider in WalletDataProviderModule.kt
- update calls to get payment methods, place/commit buy orders and send funds to dash wallet
…1131_Buy_Dash_UI_Order_Preview_Info_dialogs_Error_Success_messages

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/ui/CoinbaseBuyDashFragment.kt
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/viewmodels/CoinbaseServicesViewModel.kt
#	wallet/src/de/schildbach/wallet/ui/coinbase/CoinBaseWebClientActivity.kt
- redirect to wallet home screen after successful transfer of dash wallet
- set min_amount and send_limit_period for coinbase client
- remove FancyAlertDialogViewModel.kt
- update FancyAlertDialog event listener
…ix-refresh-buy-sell-ui

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/repository/CoinBaseAuthRepository.kt
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/viewmodels/CoinbaseServicesViewModel.kt
#	wallet/src/de/schildbach/wallet/ui/BuyAndSellViewModel.kt
- observe coinbase logout with livedata
- update implementation to open Coinbase portal upon coinbase authentication
@ClaudeHangui
ClaudeHangui requested a review from hadia January 21, 2022 21:18

@HashEngineering HashEngineering left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

This has many merge conflicts. Hopefully after those are fixed, it will be easier to review.

…to bugfix-refresh-buy-sell-ui

# Conflicts:
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/Constants.kt
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/repository/CoinBaseRepository.kt
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/ui/CoinbaseServicesFragment.kt
#	integrations/coinbase-integration/src/main/java/org/dash/wallet/integration/coinbase_integration/viewmodels/CoinbaseServicesViewModel.kt
#	wallet/src/de/schildbach/wallet/ui/BuyAndSellLiquidUpholdActivity.kt
#	wallet/src/de/schildbach/wallet/ui/BuyAndSellViewModel.kt
@ClaudeHangui

ClaudeHangui commented Jan 25, 2022 •

Copy link
Copy Markdown
Contributor Author

@HashEngineering merge conflicts with feature-coinbase-integration branch have been fixed

@hadia hadia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

great work

@HashEngineering
HashEngineering merged commit 0ee7a5b into feature-coinbase-integration Jan 25, 2022
@HashEngineering
HashEngineering deleted the bugfix-refresh-buy-sell-ui branch February 24, 2022 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.

4 participants