App icon indicating copy to clipboard operation
App copied to clipboard

[Workspace Feed] Loading Circle Displays Indefinitely When Queuing Offline Card Update

Open m-natarajan opened this issue 1 year ago β€’ 5 comments

If you haven’t already, check out our contributing guidelines for onboarding and email [email protected] to request to join our Slack channel!


Version Number: Reproducible in staging?: Needs reproduction Reproducible in production?: Needs reproduction If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: If this was caught during regression testing, add the test name, ID and link from TestRail: Email or phone of affected tester (no customers): Logs: https://stackoverflow.com/c/expensify/questions/4856 Expensify/Expensify Issue URL: Issue reported by: @joekaufmanexpensify Slack conversation (hyperlinked to channel name): #quality

Action Performed:

Prerequisite: Members and company cards added in workspace

  1. Go to staging.new.expensify.com
  2. Choose the workspace from settings
  3. Click company cards >Card Details
  4. Go offline and click update card

Expected Result:

Grey out the "Update card" button offline

Actual Result:

Loading circle is displayed infinitely when you queue an offline card update.

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
  • [x] MacOS: Chrome / Safari
  • [ ] MacOS: Desktop

Screenshots/Videos

Add any screenshot/video evidence

https://github.com/user-attachments/assets/9aa1ac19-1211-440a-a152-80217f3bbd9a

View all open jobs on GitHub

m-natarajan avatar Nov 01 '24 18:11 m-natarajan

Triggered auto assignment to @muttmuure (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

melvin-bot[bot] avatar Nov 01 '24 18:11 melvin-bot[bot]

This has been labelled "Needs Reproduction". Follow the steps here: https://stackoverflowteams.com/c/expensify/questions/16989

MelvinBot avatar Nov 01 '24 18:11 MelvinBot

BZ team member, Callstack will work on this issue, please wait for them to comment before moving the issue forward.

m-natarajan avatar Nov 01 '24 18:11 m-natarajan

Current assignee @mountiny is eligible for the AutoAssignerNewDotQuality assigner, not assigning anyone new.

melvin-bot[bot] avatar Nov 01 '24 19:11 melvin-bot[bot]

Current assignee @mountiny is eligible for the AutoAssignerNewDotQuality assigner, not assigning anyone new.

melvin-bot[bot] avatar Nov 01 '24 20:11 melvin-bot[bot]

Added to the project

mountiny avatar Nov 04 '24 13:11 mountiny

Hey, I'm Agata from Callstack. I would like to work on this issue πŸ™‚

koko57 avatar Nov 06 '24 02:11 koko57

Assigned

joekaufmanexpensify avatar Nov 06 '24 13:11 joekaufmanexpensify

PR in review https://github.com/Expensify/App/issues/51895

koko57 avatar Nov 06 '24 14:11 koko57

PR was merged

koko57 avatar Nov 08 '24 04:11 koko57

πŸš€

mountiny avatar Nov 08 '24 16:11 mountiny

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

  • https://github.com/Expensify/App/pull/52109

If no regressions arise, payment will be issued on 2024-11-20. :confetti_ball:

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

  • @koko57 does not require payment (Contractor)
  • @allgandalf requires payment (Needs manual offer from BZ)

melvin-bot[bot] avatar Nov 13 '24 00:11 melvin-bot[bot]

@allgandalf @muttmuure @allgandalf 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]

melvin-bot[bot] avatar Nov 13 '24 00:11 melvin-bot[bot]

BugZero Checklist:

  • [x] [Contributor] Classify the bug:
Bug classification

Source of bug:

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

Where bug was reported:

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

Who reported the bug:

  • [ ] 3a. Expensify user
  • [x] 3b. Expensify employee
  • [ ] 3c. Contributor
  • [ ] 3d. QA
  • [ ] 3z. Other:
  • [x] [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/48491/files#r1845484338

  • [x] [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

  • [x] [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:

  • Company cards enabled
  • A feed added to the policy with some cards assigned

Test:

  1. Go offline > Workspace > Company Cards
  2. Go to card details of any one assigned card
  3. Update Card button should be disabled
  4. Go back online > Go to card details
  5. Update Card button should be enabled > Click the button

Verify that when loading the button is also disabled and the loading stops when back online

Do we agree πŸ‘ or πŸ‘Ž

allgandalf avatar Nov 17 '24 14:11 allgandalf

I think these tests will be handled by testing added by @joekaufmanexpensify for the project. I am going to close this as we will handle the payments together later for the project. Thanks for the rest of the checklist

mountiny avatar Nov 18 '24 15:11 mountiny