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

[HOLD #20471] Mp3 audio file displays differently than video file when returning from offline mode #18886

Closed
1 of 6 tasks
kavimuru opened this issue May 13, 2023 · 30 comments
Closed
1 of 6 tasks
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2

Comments

@kavimuru
Copy link

kavimuru commented May 13, 2023

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. Go to staging dot on web chrome
  2. Go to any chat
  3. Send one video mp4 file and the second mp3 audio file
  4. Go offline
  5. Now click on both the files and notice that they open up in a new tab
  6. Now go online
  7. Wait for a few seconds
  8. After the page is refreshed, notice that the video file plays without problem but the audio file shows some weird display

Expected Result:

Mp3 file should also be played or should get downloaded in a similar how video file behaves when coming back to online from the offline mode

Actual Result:

Mp3 file shows some weird display on coming back to online from the offline mode and doesn't behave the same way how video file does

Workaround:

Can the user still use Expensify without this being fixed? Have you informed them of the workaround?

Platforms:

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

  • Android / native
  • Android / Chrome
  • iOS / native
  • iOS / Safari
  • MacOS / Chrome / Safari
  • MacOS / Desktop

Version Number: 1.3.13.1
Reproducible in staging?: y
Reproducible in production?: y
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
Notes/Photos/Videos: Any additional supporting documentation

error-2023-05-12_20.51.29.mp4
Recording.598.mp4

Expensify/Expensify Issue URL:
Issue reported by: @priya-zha
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1683904534756129

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~01b1830648bef2fa99
  • Upwork Job ID: 1658211495048851456
  • Last Price Increase: 2023-05-15
@kavimuru kavimuru added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels May 13, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 13, 2023

Triggered auto assignment to @maddylewis (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details.

@melvin-bot
Copy link

melvin-bot bot commented May 13, 2023

Bug0 Triage Checklist (Main S/O)

  • This "bug" occurs on a supported platform (ensure Platforms in OP are ✅)
  • This bug is not a duplicate report (check E/App issues and #expensify-bugs)
    • If it is, comment with a link to the original report, close the issue and add any novel details to the original issue instead
  • This bug is reproducible using the reproduction steps in the OP. S/O
    • If the reproduction steps are clear and you're unable to reproduce the bug, check with the reporter and QA first, then close the issue.
    • If the reproduction steps aren't clear and you determine the correct steps, please update the OP.
  • This issue is filled out as thoroughly and clearly as possible
    • Pay special attention to the title, results, platforms where the bug occurs, and if the bug happens on staging/production.
  • I have reviewed and subscribed to the linked Slack conversation to ensure Slack/Github stay in sync

@therealsujitk
Copy link
Contributor

therealsujitk commented May 13, 2023

This is an internal issue, the Content-Type header isn't being set before sending the file. For some cases the browser is able to guess what kind of file it is loading, for other cases it needs to know how to display that data.

Additionally, it would be good to add a Content-Disposition header as well to set the file name and whether the file should be displayed in the browser or downloaded.

@melvin-bot melvin-bot bot added the Overdue label May 15, 2023
@maddylewis maddylewis added the Internal Requires API changes or must be handled by Expensify staff label May 15, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 15, 2023

Job added to Upwork: https://www.upwork.com/jobs/~01b1830648bef2fa99

@melvin-bot
Copy link

melvin-bot bot commented May 15, 2023

Triggered auto assignment to Contributor Plus for review of internal employee PR - @thesahindia (Internal)

@maddylewis maddylewis changed the title Mp3 file shows a weird display on coming back from offline mode Staging: Mp3 audio file displays differently than video file when returning from offline mode May 15, 2023
@maddylewis
Copy link
Contributor

reviewed / repo'd / added internal label for review.

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 15, 2023
@maddylewis
Copy link
Contributor

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 18, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 22, 2023

@maddylewis, @thesahindia Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

@melvin-bot
Copy link

melvin-bot bot commented May 22, 2023

Triggered auto assignment to @puneetlath (Engineering), see https://stackoverflow.com/c/expensify/questions/4319 for more details.

@maddylewis
Copy link
Contributor

hiya @puneetlath - looking for some direction on this one so i added the eng label. I've added the internal label and bumped the original thread to try and get some proposal action, but i haven't had any luck yet. but since it's internal maybe i should've added the engineering label immediately??

@melvin-bot melvin-bot bot added Overdue and removed Overdue labels May 23, 2023
@puneetlath
Copy link
Contributor

@maddylewis yeah I think in that case, it makes sense to just go ahead and add the label to get an engineer assigned. I'll start looking into this further soon.

@melvin-bot melvin-bot bot removed the Overdue label May 25, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 27, 2023

@puneetlath @maddylewis @thesahindia this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@melvin-bot melvin-bot bot added the Overdue label May 29, 2023
@melvin-bot
Copy link

melvin-bot bot commented May 29, 2023

@puneetlath, @maddylewis, @thesahindia Whoops! This issue is 2 days overdue. Let's get this updated quick!

@melvin-bot melvin-bot bot removed the Overdue label Jun 12, 2023
@melvin-bot melvin-bot bot added the Overdue label Jun 21, 2023
@puneetlath
Copy link
Contributor

I will try to take this to the finish line next week after SNH.

@melvin-bot melvin-bot bot removed the Overdue label Jun 21, 2023
@puneetlath
Copy link
Contributor

I think this would actually get solved by the media player that we are adding in #20471. Going to go ahead and put it on hold for that.

@puneetlath puneetlath changed the title Staging: Mp3 audio file displays differently than video file when returning from offline mode [HOLD #20471] Mp3 audio file displays differently than video file when returning from offline mode Jun 26, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 4, 2023
@maddylewis
Copy link
Contributor

still holding for this one - #20471

@melvin-bot melvin-bot bot removed the Overdue label Jul 5, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 13, 2023
@maddylewis
Copy link
Contributor

still holding for - #20471

@melvin-bot melvin-bot bot removed the Overdue label Jul 14, 2023
@melvin-bot melvin-bot bot added the Overdue label Jul 24, 2023
@maddylewis
Copy link
Contributor

i believe we are still holding for - #20471

@melvin-bot melvin-bot bot removed the Overdue label Jul 24, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 1, 2023
@puneetlath
Copy link
Contributor

Still on hold. @maddylewis I'm actually going to un-assign myself for now. Feel free to re-assign the engineering label once this is ready for some action.

@melvin-bot melvin-bot bot removed the Overdue label Aug 2, 2023
@puneetlath puneetlath removed their assignment Aug 2, 2023
@melvin-bot melvin-bot bot added the Overdue label Aug 10, 2023
@maddylewis
Copy link
Contributor

holding/moving to monthly - #20471 (comment)

@melvin-bot melvin-bot bot removed the Overdue label Aug 15, 2023
@maddylewis maddylewis added Monthly KSv2 Overdue and removed Weekly KSv2 labels Aug 15, 2023
@melvin-bot melvin-bot bot removed the Overdue label Aug 15, 2023
@melvin-bot melvin-bot bot added the Overdue label Sep 18, 2023
@maddylewis
Copy link
Contributor

still holding

@melvin-bot melvin-bot bot removed the Overdue label Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Engineering Internal Requires API changes or must be handled by Expensify staff Monthly KSv2
Projects
None yet
Development

No branches or pull requests

5 participants