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

[PAY] Image infinite loading when offline #13826

Closed
2 tasks
kavimuru opened this issue Dec 26, 2022 · 40 comments
Closed
2 tasks

[PAY] Image infinite loading when offline #13826

kavimuru opened this issue Dec 26, 2022 · 40 comments
Assignees
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Needs Reproduction Reproducible steps needed Weekly KSv2

Comments

@kavimuru
Copy link

kavimuru commented Dec 26, 2022

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


Action Performed:

  1. Turn on the Airplane mode, open the app
  2. Open any report that has image, click on image.
  3. Notice that the image is infinite loading.

Expected Result:

Image should show error or placeholder error.

Actual Result:

The image is infinite loading.

Workaround:

unknown

Platforms:

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

  • Android / native
  • iOS / native

Version Number: 1.2.43-1
Reproducible in staging?: y
Reproducible in production?: y
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos:

RPReplay_Final1671850663.MP4
CYVJ9736.1.MP4

Expensify/Expensify Issue URL:
Issue reported by: @hungvu193
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1671962332211369

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @mallenexpensify
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Dec 26, 2022
@melvin-bot melvin-bot bot locked and limited conversation to collaborators Dec 26, 2022
@mallenexpensify
Copy link
Contributor

Unable to reproduce on iOS v1.2.42-2.

  • Opened app
  • Uploaded photo with internet - worked fine
  • Went to airplane mode
  • Uploaded photo - showed "Uploading attachment" in main chat
  • Once connected back to internet, photo loaded once I went back into the chat.

Tried to test on Android via Browserstack but was getting an endless spinner when trying to sign in.

Anything I might be missing? @kavimuru can you please test again? Thanks

@MonilBhavsar
Copy link
Contributor

I'm able to reproduce.

@mallenexpensify the internet needs to be turned off and then tap on image attachment

@MonilBhavsar
Copy link
Contributor

On web also, there is no loader. But yeah we should stop showing infinite loader as the request already failed and display some message/icon

@mallenexpensify
Copy link
Contributor

Thanks @MonilBhavsar . I was able to reproduce today (maybe I wasn't on the latest version ¯_(ツ)_/¯ )
I'm unsure if this can be external so adding in an engineer....

@melvin-bot melvin-bot bot added the Overdue label Jan 2, 2023
@neil-marcellini neil-marcellini changed the title Image infinite loading when offline [HOLD App 10894 Caching] Image infinite loading when offline Jan 3, 2023
@neil-marcellini
Copy link
Contributor

We decided to hold this until the Onyx image caching is working as described in the tracking issue here #10894.

@melvin-bot melvin-bot bot removed the Overdue label Jan 3, 2023
@neil-marcellini neil-marcellini added Weekly KSv2 and removed Daily KSv2 labels Jan 3, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 11, 2023
@mallenexpensify
Copy link
Contributor

Looks like #10894 is still open

@melvin-bot melvin-bot bot removed the Overdue label Jan 14, 2023
@melvin-bot melvin-bot bot added the Overdue label Jan 23, 2023
@neil-marcellini
Copy link
Contributor

Still on hold, but the latest update here is that the caching PR is very close.

@melvin-bot melvin-bot bot removed the Overdue label Jan 23, 2023
@melvin-bot melvin-bot bot added the Overdue label Feb 1, 2023
@mallenexpensify
Copy link
Contributor

Quick little update: the React native web fix has been merged! I'm trying to publish our update (following this SO)

Update: published here! https://www.npmjs.com/package/@expensify/react-native-web/v/0.18.11

Should be able to take off hold soon

@melvin-bot melvin-bot bot removed the Overdue label Feb 1, 2023
@melvin-bot melvin-bot bot added the Overdue label Feb 9, 2023
@neil-marcellini
Copy link
Contributor

I believe we are still waiting on the App PR for image caching based on the latest update #10894 (comment).

@melvin-bot melvin-bot bot removed the Overdue label Feb 10, 2023
@melvin-bot melvin-bot bot added the Overdue label Feb 20, 2023
@neil-marcellini
Copy link
Contributor

Still waiting.

@mvtglobally
Copy link

Issue is reproducible during KI retests.

No infinite loading, but also no error, just blank.

1711963917259.TQZS4534.mp4
1711899843140.RPReplay_Final1711899737.mp4

@mvtglobally mvtglobally removed the retest-weekly Apply this label if you want this issue tested on a Weekly basis by Applause label Apr 4, 2024
@hungvu193
Copy link
Contributor

It's being fixed here:

#35502

@mallenexpensify mallenexpensify changed the title [HOLD #10894 Caching] Image infinite loading when offline [HOLD #10894 and/or #35502 Caching] Image infinite loading when offline Apr 7, 2024
@melvin-bot melvin-bot bot added the Overdue label Apr 29, 2024
@mallenexpensify mallenexpensify changed the title [HOLD #10894 and/or #35502 Caching] Image infinite loading when offline [HOLD #35502 Caching] Image infinite loading when offline May 1, 2024
@mallenexpensify
Copy link
Contributor

PR for issue we're held on is actively being worked on. Bumping this to weekly
#35502

@melvin-bot melvin-bot bot removed the Overdue label May 1, 2024
@mallenexpensify mallenexpensify added Weekly KSv2 and removed Monthly KSv2 labels May 1, 2024
@melvin-bot melvin-bot bot added the Overdue label May 9, 2024
@mallenexpensify
Copy link
Contributor

PR this is held on is very, very close to merging
#39290 (comment)

@melvin-bot melvin-bot bot removed the Overdue label May 15, 2024
@melvin-bot melvin-bot bot added the Overdue label May 23, 2024
@mallenexpensify
Copy link
Contributor

PR hit production two days ago 🎉

Unable to reproduce now, on Staging iOS. @neil-marcellini , should we not close this for some reason?

2024-05-24_14-27-06.mp4

@melvin-bot melvin-bot bot removed the Overdue label May 24, 2024
@hungvu193
Copy link
Contributor

I think I'm eligible for reporting bonus for this one 😂. One of the first issue I reported here

@mallenexpensify
Copy link
Contributor

Wow... looks like you might be. Help me track @hungvu193 to make sure I have this right

Sound right?

@hungvu193
Copy link
Contributor

@mallenexpensify Yes. That's correct

@mallenexpensify mallenexpensify changed the title [HOLD #35502 Caching] Image infinite loading when offline [PAY] Image infinite loading when offline May 29, 2024
@mallenexpensify
Copy link
Contributor

Ok... Since the report was from 2022, I'm going to assume it was $250.

@hungvu193 can you please accept the job and reply here once you have?
https://www.upwork.com/jobs/~01c9e76cecfe58dcad

@mallenexpensify mallenexpensify added Daily KSv2 Weekly KSv2 Awaiting Payment Auto-added when associated PR is deployed to production and removed Weekly KSv2 labels May 29, 2024
@hungvu193
Copy link
Contributor

Sure. I've accepted. Thank you 😊

@mallenexpensify
Copy link
Contributor

Bug Reporter: @hungvu193 paid $250 via Upwork.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Awaiting Payment Auto-added when associated PR is deployed to production Bug Something is broken. Auto assigns a BugZero manager. Daily KSv2 Engineering Needs Reproduction Reproducible steps needed Weekly KSv2
Projects
None yet
Development

No branches or pull requests

7 participants