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

Display full-screen loading indicator while fetching currency data #3577

Merged
merged 3 commits into from
Jun 18, 2021

Conversation

HorusGoul
Copy link
Contributor

Details

Display full-screen loading indicator while fetching currency data to avoid flashing the previous currency in the Request money dialog.

Fixed Issues

Fixes #3560

Tests

  1. Open Request money dialog
  2. Tap on the currency sign (€ for me).
  3. Select another currency (AUD, for example).
  4. Close the Request money dialog
  5. Open the Request money dialog again. It should display the original currency (€ in my case) without showing the other one first.

QA Steps

  1. Open Request money dialog
  2. Tap on the currency sign (€ for me).
  3. Select another currency (AUD, for example).
  4. Close the Request money dialog
  5. Open the Request money dialog again. It should display the original currency (€ in my case) without showing the other one first.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Screen.Recording.2021-06-14.at.13.10.44.mov

Mobile Web

Screen.Recording.2021-06-14.at.13.53.12.mov

Desktop

Screen.Recording.2021-06-14.at.13.56.55.mov

iOS

Screen.Recording.2021-06-14.at.14.06.37.mov

Android

Screen.Recording.2021-06-14.at.14.10.10.mov

@HorusGoul HorusGoul requested review from Julesssss and a team June 14, 2021 12:11
@HorusGoul HorusGoul self-assigned this Jun 14, 2021
@MelvinBot MelvinBot requested review from Gonals and removed request for a team and Gonals June 14, 2021 12:12
Copy link
Contributor

@Julesssss Julesssss left a comment

Choose a reason for hiding this comment

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

This looks good, but I think the IOU key is better suited for this loading state. MY_PERSONAL_DETAILS should contain user information, not state related to an unrelated API call.

Can you swap this to the IOU key? As its purpose is to contain the loading states for IOU features.

@Julesssss
Copy link
Contributor

Also, we should initialise state keys here, so that we can guarantee they exist.

@HorusGoul HorusGoul requested a review from a team as a code owner June 15, 2021 11:47
@MelvinBot MelvinBot requested review from sketchydroide and removed request for a team June 15, 2021 11:48
@HorusGoul HorusGoul requested a review from Julesssss June 15, 2021 11:55
@HorusGoul
Copy link
Contributor Author

Done!

sketchydroide
sketchydroide previously approved these changes Jun 15, 2021
Copy link
Contributor

@sketchydroide sketchydroide left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Contributor

@Gonals Gonals left a comment

Choose a reason for hiding this comment

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

LGTM!

Copy link
Contributor

@Julesssss Julesssss left a comment

Choose a reason for hiding this comment

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

Whoops, forgot about this one. Thanks for making the changes!

@Julesssss Julesssss merged commit 04e830b into main Jun 18, 2021
@Julesssss Julesssss deleted the horus-fix-iou-currency-flash branch June 18, 2021 10:41
@OSBotify
Copy link
Contributor

✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release.

@OSBotify
Copy link
Contributor

🚀 Deployed to staging in version: 1.0.71-1🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

@OSBotify
Copy link
Contributor

🚀 Deployed to production in version: 1.0.73-3🚀

platform result
🤖 android 🤖 success ✅
🖥 desktop 🖥 success ✅
🍎 iOS 🍎 success ✅
🕸 web 🕸 success ✅

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.

Web - IOU - Previously used currency appears for a brief moment for request/ split money
5 participants