Skip to content

[Waiting on checklist] [$250] Expensify Card - Verifying page does not show offline indication when user is offline #51885

Closed

Description

@lanitochka17

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.0.56-3
Reproducible in staging?: Y
Reproducible in production?: Unable to check
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail: N/A
**Email or phone of affected tester (no customers):**applausetester+khcategory18@applause.expensifail.com
Issue reported by: Applause - Internal Team

Action Performed:

  1. Go to staging.new.expensify.com
  2. Go to workspace settings > Expensify Card
  3. Click Issue new card
  4. Add a bank account if not yet
  5. Go offline
  6. Select the added bank account

Expected Result:

Verifying page will show that user is offline

Actual Result:

Verifying page shows the animation as long as user is offline

Workaround:

Unknown

Platforms:

Which of our officially supported platforms is this issue occurring on?

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence
Bug6652493_1730478171236.bandicam_2024-11-02_00-19-59-021.mp4

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021852431360082320267
  • Upwork Job ID: 1852431360082320267
  • Last Price Increase: 2024-11-01
  • Automatic offers:
    • ahmedGaber93 | Reviewer | 104729929
Issue OwnerCurrent Issue Owner: @ahmedGaber93

Activity

  1. added
    DeployBlockerCash
    on Nov 1, 2024
  2. melvin-bot commented on Nov 1, 2024

    @melvin-bot

    Triggered auto assignment to @francoisl (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  3. melvin-bot commented on Nov 1, 2024

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  4. github-actions commented on Nov 1, 2024

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  5. lanitochka17 commented on Nov 1, 2024

    @lanitochka17
    Author

    We think that this bug might be related to #wave-collect - Release 2

  6. Nodebrute commented on Nov 1, 2024

    @Nodebrute
    Contributor

    Edited by proposal-police: This proposal was edited at 2024-11-01 22:11:15 UTC.

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    Verifying page does not show offline indication when the user is offline.

    What is the root cause of that problem?

    Currently, to display the offline indicator on wider screens, we need to use the shouldShowOfflineIndicatorInWideScreen prop, which is missing in this instance.

    What changes do you think we should make to solve the problem?

    we can pass shouldShowOfflineIndicatorInWideScreen here if we want to show the offline indicator in wider screens

    Optionally we can add offlineIndicatorStyle={styles.mtAuto} so that in android, the indicator stays below the content

    What alternative solutions did you explore? (Optional)

    If we decide to show the FullPageOfflineBlockingView, as suggested in another proposal to wrap this code block in FullPageOfflineBlockingView , I believe this is not correct. Once the bank is verified, we display the verified state/waitlist state, so there's no need to block that view. There are no pending requests now we are just waiting for the user to take action.

    title={translate('workspace.expensifyCard.bankAccountVerified')}

    title={translate('workspace.expensifyCard.oneMoreStep')}

    Let's only wrap the code block below in FullPageOfflineBlockingView, as a write request is being made when it's pressed, and the response cannot be anticipated.

    {!isInVerificationState && (
    <View style={styles.flex1}>
    <Text style={[styles.mh5, styles.mb3]}>{translate('workspace.expensifyCard.chooseExistingBank')}</Text>
    {renderBankOptions()}
    <MenuItem
    icon={Expensicons.Plus}
    title={translate('workspace.expensifyCard.addNewBankAccount')}
    onPress={handleAddBankAccount}
    />
    </View>

    Optional: Although there is no need to block the view while it is in a loading state, if we decide to do so, let's just wrap this component in FullPageOfflineBlockingView.

    Alternative 2
    If we want to allow users to use the plus icon on the select bank account page, we can wrap only the loading state in the FullPageOfflineBlockingView.

    <BlockingView
    title={translate('workspace.expensifyCard.verifyingBankAccount')}
    subtitle={translate('workspace.expensifyCard.verifyingBankAccountDescription')}
    animation={LottieAnimations.ReviewingBankInfo}
    animationStyles={styles.loadingVBAAnimation}
    animationWebStyle={styles.loadingVBAAnimationWeb}
    subtitleStyle={styles.textLabelSupporting}
    containerStyle={styles.pb20}
    />

  7. francoisl commented on Nov 1, 2024

    @francoisl
    Contributor

    Sounds like it could come from #51407.
    The proposal makes sense to me, going to label External to get a second pair of eyes on it.

  8. added
    External
    on Nov 1, 2024
  9. changed the title [-]Expensify Card - Verifying page does not show offline indication when user is offline[/-] [+][$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+] on Nov 1, 2024
  10. melvin-bot commented on Nov 1, 2024

    @melvin-bot
  11. added
    Help Wanted
    on Nov 1, 2024
  12. melvin-bot commented on Nov 1, 2024

    @melvin-bot

    Triggered auto assignment to Contributor-plus team member for initial proposal review - @ahmedGaber93 (External)

  13. 54 remaining items

  14. changed the title [-][$250] Expensify Card - Verifying page does not show offline indication when user is offline[/-] [+][HOLD for payment 2024-11-14] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+] on Nov 7, 2024
  15. melvin-bot commented on Nov 7, 2024

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  16. removed
    Reviewing
    on Nov 7, 2024
  17. melvin-bot commented on Nov 7, 2024

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.0.58-2 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2024-11-14. 🎊

    For reference, here are some details about the assignees on this issue:

  18. melvin-bot commented on Nov 7, 2024

    @melvin-bot

    @ahmedGaber93 @twisterdotcom The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  19. added
    Daily
    and removed
    Weekly
    on Nov 14, 2024
  20. twisterdotcom commented on Nov 14, 2024

    @twisterdotcom
    Contributor

    Payment Summary:

  21. changed the title [-][HOLD for payment 2024-11-14] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/-] [+][Waiting on checklist] [$250] Expensify Card - Verifying page does not show offline indication when user is offline[/+] on Nov 14, 2024
  22. removed
    Awaiting Payment
    on Nov 14, 2024
  23. Nodebrute commented on Nov 14, 2024

    @Nodebrute
    Contributor

    Wow, sorry. I cannot keep up. Okay, in which case, that would be for you.

    @twisterdotcom friendly bump ^ #51885 (comment)

  24. Nodebrute commented on Nov 14, 2024

    @Nodebrute
    Contributor

    Accepted.

  25. melvin-bot commented on Nov 15, 2024

    @melvin-bot

    @francoisl @twisterdotcom @koko57 @ahmedGaber93 this issue was created 2 weeks ago. Are we close to approving a proposal? If not, what's blocking us from getting this issue assigned? Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

  26. ahmedGaber93 commented on Nov 15, 2024

    @ahmedGaber93
    Contributor

    BugZero Checklist:

    • [Contributor] Classify the bug:
    Bug classification

    Source of bug:

    • 1a. Result of the original design (eg. a case wasn't considered)
    • 1b. Mistake during implementation
    • 1c. Backend bug
    • 1z. Other:

    Where bug was reported:

    • 2a. Reported on production
    • 2b. Reported on staging (deploy blocker)
    • 2c. Reported on both staging and production
    • 2d. Reported on a PR
    • 2z. Other:

    Who reported the bug:

    • 3a. Expensify user
    • 3b. Expensify employee
    • 3c. Contributor
    • 3d. QA
    • 3z. Other: Applause - Internal Team
    • [Contributor] The offending PR has been commented on, pointing out the bug it caused and why, so the author and reviewers can learn from the mistake.

      Link to comment: https://github.com/Expensify/App/pull/51407/files#r1843618525

    • [Contributor] If the regression was CRITICAL (e.g. interrupts a core flow) A discussion in #expensify-open-source has been started about whether any other steps should be taken (e.g. updating the PR review checklist) in order to catch this type of bug sooner.

      Link to discussion: N/A

    • [Contributor] If it was decided to create a regression test for the bug, please propose the regression test steps using the template below to ensure the same bug will not reach production again.

    • [BugZero Assignee] Create a GH issue for creating/updating the regression test once above steps have been agreed upon.

      Link to issue:

    Regression Test Proposal

    Precondition:

    Test:

    1. Create new Workspace
    2. Go to Settings > Workspace > More features
    3. Enable Expensify Card
    4. Go offline
    5. Go to Expensify Card page, click Issue New card
    6. Verify the Choose Bank Account page should display the full page oflline blocking view.
    7. Try the same with workspaces that already have the Bank account verified or in verifying state - you should see the modal with this state instead

    Do we agree 👍 or 👎

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

BugDailyEngineeringExternal

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions