-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Chat -Uploading csv file in offline showing infinite loading #51810
Comments
Triggered auto assignment to @stephanieelliott ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.Uploading csv file in offline showing infinite loading What is the root cause of that problem?In this PR, we displayed a loading spinner while a file is uploading. However, in offline mode, the spinner will load indefinitely since the upload can't be completed until the user is back online. What changes do you think we should make in order to solve the problem?We can add another check here
What alternative solutions did you explore? (Optional) |
ProposalPlease re-state the problem that we are trying to solve in this issue.Uploading csv file in offline showing infinite loading What is the root cause of that problem?As the file is uploading the loading will continue until the site is offline. What changes do you think we should make in order to solve the problem?If we want to remove the loader while offline we should add the condition for offline here. App/src/components/Attachments/AttachmentView/DefaultAttachmentView/index.tsx Lines 60 to 68 in 224b633
like this
What alternative solutions did you explore? (Optional) |
Technically the file is still uploading, imo it's fine if we leave it like that. cc @Expensify/design |
Agree—the file is still uploading and the message is correctly styled as an offline message waiting to be posted so this seems like expected behavior to me. |
Yeah I agree, this seems expected seeing as you are offline |
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: 9.0.56-0
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: https://expensify.testrail.io/index.php?/tests/view/5171911
Issue reported by: Applause - Internal Team
Action Performed:
Expected Result:
Uploading csv file in offline must not show infinite loading
Actual Result:
Uploading csv file in offline showing infinite loading
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Screenshots/Videos
Add any screenshot/video evidence
Bug6651178_1730383918625.Screenrecorder-2024-10-31-19-38-12-814_compress_1.mp4
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: