Skip to content

[P2P Statements] Add Loading Indicator#7921

Merged
nickmurray47 merged 13 commits intomainfrom
nmurray-statements-loading-screen
Feb 25, 2022
Merged

[P2P Statements] Add Loading Indicator#7921
nickmurray47 merged 13 commits intomainfrom
nmurray-statements-loading-screen

Conversation

@nickmurray47
Copy link
Contributor

@nickmurray47 nickmurray47 commented Feb 25, 2022

Details

Add loading indicator while p2p statements page is loading.

Fixed Issues

$ GH_LINK

Tests

  1. Follow the testing and setup steps from this PR
  2. When you load the statements modal with a lot of transactions, verify a loading indicator is present before the content loads

PR Review Checklist

Contributor (PR Author) Checklist

  • I made sure to pull main before submitting my PR for review
  • I linked the correct issue in the ### Fixed Issues section above
  • I wrote clear testing steps that cover the changes made in this PR
    • I clearly indicated the environment tests should be run in (Staging vs Production)
  • I wrote testing steps that cover success & fail scenarios (if applicable)
  • I ran the tests & they passed on all platforms
  • I included screenshots or videos for tests on all platforms (tested every platform except for mWeb)
  • I verified there are no console errors related to changes in this PR
  • I followed proper code patterns (see Reviewing the code)
    • I added comments when the code was not self explanatory
    • I put all copy / text shown in the product in all src/languages/* files (if applicable)
    • I followed proper naming convention for platform-specific files (if applicable)
    • I followed style guidelines (in Styling.md) for all style edits I made
  • I followed the guidelines as stated in the Review Guidelines

PR Reviewer Checklist

  • I verified the Author pulled main before submitting the PR
  • I verified the correct issue is linked in the ### Fixed Issues section above
  • I verified testing steps are clear and they cover the changes made in this PR
    • I verified the testing environment is mentioned in the test steps
  • I verified testing steps cover success & fail scenarios (if applicable)
  • I verified tests pass on all platforms & I tested again on all platforms
  • I checked that screenshots or videos are included for tests on all platforms
  • I verified there are no console errors related to changes in this PR
  • I verified proper code patterns were followed (see Reviewing the code)
    • I verified comments were added when the code was not self explanatory
    • I verified any copy / text shown in the product was added in all src/languages/* files (if applicable)
    • I verified proper naming convention for platform-specific files was followed (if applicable)
    • I verified style guidelines were followed
  • I verified that this PR follows the guidelines as stated in the Review Guidelines

QA Steps

  1. [Only on web for right now] On prod with an account with wallet transactions (can use my own account here), go to new.expensify.com/statements/202112 and verify a loading indicator displays before the statements page is loaded.

Tested On

  • Web
  • Mobile Web
  • Desktop
  • iOS
  • Android

Screenshots

Web

Screen Shot 2022-02-25 at 11 35 10 AM

Screen Shot 2022-02-25 at 11 40 05 AM

Mobile Web

Desktop

Screen Shot 2022-02-25 at 11 35 10 AM

Screen Shot 2022-02-25 at 11 40 05 AM

iOS

Screen Shot 2022-02-25 at 12 43 30 PM

Android

Screen Shot 2022-02-25 at 1 30 52 PM

@nickmurray47 nickmurray47 requested a review from a team as a code owner February 25, 2022 19:37
@nickmurray47 nickmurray47 self-assigned this Feb 25, 2022
@MelvinBot MelvinBot requested review from Justicea83 and removed request for a team February 25, 2022 19:38
@nickmurray47 nickmurray47 changed the title [P2P Statements] Add Loading Indicator [WIP] [P2P Statements] Add Loading Indicator Feb 25, 2022
@nickmurray47 nickmurray47 changed the title [WIP] [P2P Statements] Add Loading Indicator [P2P Statements] Add Loading Indicator Feb 25, 2022
@nickmurray47
Copy link
Contributor Author

Ready for review!

Copy link
Contributor

@thienlnam thienlnam left a comment

Choose a reason for hiding this comment

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

Looks good but one comment about the loader which can clean up a lot of the code

@nickmurray47
Copy link
Contributor Author

nickmurray47 commented Feb 25, 2022

Screen Shot 2022-02-25 at 2 23 13 PM

lol, ready for you again @thienlnam !

@nickmurray47 nickmurray47 added the InternalQA This pull request required internal QA label Feb 25, 2022
@nickmurray47 nickmurray47 merged commit a719399 into main Feb 25, 2022
@nickmurray47 nickmurray47 deleted the nmurray-statements-loading-screen branch February 25, 2022 23:36
@MelvinBot
Copy link
Contributor

Triggered auto assignment to @Gonals (InternalQA), see https://stackoverflow.com/c/expensify/questions/5042 for more details.

@botify
Copy link

botify commented Feb 25, 2022

@nickmurray47 looks like this was merged without passing tests. Please add a note explaining why this was done and remove the Emergency label if this is not an emergency.

@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

OSBotify commented Mar 1, 2022

🚀 Deployed to staging by @nickmurray47 in version: 1.1.41-0 🚀

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

@OSBotify
Copy link
Contributor

OSBotify commented Mar 2, 2022

🚀 Deployed to staging by @nickmurray47 in version: 1.1.41-0 🚀

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

@francoisl
Copy link
Contributor

@nickmurray47 to clarify, can this only be tested on production? I see a loading indicator if I try on staging, but the app reloads over and over.
If it's production QA only, let's check it off of #7954.

@nickmurray47
Copy link
Contributor Author

Yeah @francoisl I'm doubtful this will work on Staging so we should be good to check it off.

@OSBotify
Copy link
Contributor

🚀 Deployed to production by @francoisl in version: 1.1.41-6 🚀

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

@thienlnam thienlnam mentioned this pull request Mar 11, 2022
50 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

InternalQA This pull request required internal QA

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants