-
Notifications
You must be signed in to change notification settings - Fork 3.2k
[Due for payment 2025-05-27] [$250] Attachment - Attachment not found text moves, download modal not shown for broken image #60554
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
Comments
Triggered auto assignment to @lydiabarclay ( |
Posted here |
👋 @lydiabarclay - I think you should ship this |
Job added to Upwork: https://www.upwork.com/jobs/~021915486228184113065 |
Triggered auto assignment to Contributor-plus team member for initial proposal review - @hungvu193 ( |
ProposalPlease re-state the problem that we are trying to solve in this issue.
What is the root cause of that problem?Bug – "Attachment not found" text moves:
Bug – Download modal not shown for broken image:
What changes do you think we should make in order to solve the problem?Fix Bug Attachment - Attachment not found text moves:
Fix Bug Download modal not shown for broken image:
And update: App/src/libs/fileDownload/index.android.ts Lines 92 to 94 in ab60cd2
What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?
What alternative solutions did you explore? (Optional) |
I can only reproduce the first one:
The download button worked fine for me on latest main: Screen.Recording.2025-04-28.at.15.02.03.mov@truph01 Can you reproduce the bug where the download button doesn't show up? |
@hungvu193 I can reproduce it in the latest main (standalone app): Screen.Recording.2025-04-28.at.15.27.38.mov |
@hungvu193 I just tested one more time, I observed that the download modal is just shown after a long time (> 1 min): Screen.Recording.2025-04-28.at.15.39.44.mov |
Mind sharing your image message? The download modal shows everytime for me 😄 |
@hungvu193 Here is video from my side (the message is video.mp4Update: By adding the log in here, the error is Error: Download manager failed to download from https://invalid-url/image.jpg. Status Code = 16 |
Your explanation here can't convince me. I still see the response after 3,4 mins later 🤔 . I think this definitely a bug from Still waiting for proposals. |
📣 It's been a week! Do we have any satisfactory proposals yet? Do we need to adjust the bounty for this issue? 💸 |
Not overdue, Still looking for proposals 👀 |
Posted on Slack to get more 👀 |
@hungvu193 @lydiabarclay 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! |
Boosted on Slack |
I'm from SWM Expert Agency and I can take care of this, please assign me. |
Posted update in PR comment #61459 (comment) to keep it in one place, please take a look and address listed problems/updates so I can continue. |
Okay, many things were said in the PR if someone wants to know the full context, but to sum it up in my opinion we need a solid refractor of Discovered problems while fixing this issue
Videos for contextScreen.Recording.2025-05-09.at.15.01.37.movNewProblem.mp4Compare.mp4I've made a fix that hides the download button for now, and I haven't fixed moving the broken image left/right because we can move the image even when we have a single attachment chat on native (but not on m-web, web etc), so to keep consistency I haven't touched that - let me know what you think. That said, this is just a band-aid, and sooner or later new issues will arise around the whole attachment modal. It will probably take some time to refractor this logic, as it is complex and huge, but at this point I think it is worth doing. My idea is to go with the normal flow with this issue and after the merge of my PR simply raise an issue for refractor and assign me + @hungvu193 as the reviewer as we have the context because of the last days work on this. @mountiny what do you think about this? |
@chrispader is looking into refactoring the modal too, might have to align on the next steps with jim hut otherwise looks good |
Great, if someone else has a plan for it then I don't mind - @chrispader please confirm if you will be dealing with the above issues & the refractor (or if I should) so that @hungvu193 can continue to review the download button issue without worrying about the other related issues as they will be covered in another PR. |
Your PR looks good to me and does not conflict with my work in #56219
@JakubKorytko if you don't mind i'd like to look into this after #56219 has been merged. The PR includes quite a lot of re-structuring and simplification of all the I agree with all the discovered problems mentioned above, especially the problem with the context 🙌🏼
This was also causing ESLint to fail in my other PR. Feel free to create a follow-up PR for this, alternatively i can handle it a follow-up. |
Great, okay then, if you are aware of this and working/will work on it then awesome, I will wait for @hungvu193 to accept the PR and possibly create a PR for |
Yep. I'll review the PR today |
FYI: I've created a quick PR for the failing ESLint check #61841 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.46-12 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 2025-05-27. 🎊 For reference, here are some details about the assignees on this issue:
|
@hungvu193 @lydiabarclay @hungvu193 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] |
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: V9.1.30-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: No, reproducible on hybrid only
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): Slottwo1 [email protected]
Issue reported by: Applause Internal Team
Device used: Redminote 10s android 13
App Component: Chat Report View
Action Performed:
Expected Result:
In android, for broken image download button musnt be displayed or attachment not download modal must be shown.
Similarly like mweb, attachment not found must not move.
Actual Result:
In android, attachment not found text moves, download modal not shown for broken image. In mweb, image broken is misaligned and attachment not found text doesn't move.
Workaround:
Unknown
Platforms:
Screenshots/Videos
1.mp4
View all open jobs on GitHub
Upwork Automation - Do Not Edit
Issue Owner
Current Issue Owner: @lydiabarclayThe text was updated successfully, but these errors were encountered: