-
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
fix: Attachment - I'm navigated to about:blank after downloading a docx attachment. #52996
Conversation
…cx attachment. Signed-off-by: krishna2323 <belivethatkg@gmail.com>
@hungvu193 Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
@Krishna2323 Any updates? |
@hungvu193, I will update this very soon. The changes work well for all other attachments like "csv", "xls", and "txt", but not for "doc" or "docx" files. For "doc" files, they remain in the new tab and open the app there. I'm still investigating this issue. |
Do you have any other update? |
I wasn't able to find anything helpful yesterday, I'll try again on the weekend. |
@hungvu193, I'm unable to find a solution for other types of files. With the current approach, the app opens a new tab when downloading, and after the user takes action, the app loads in the new tab. Should we start a Slack conversation to update the behavior to prevent opening a new tab in mWeb Safari? In this Slack conversation and this issue, it was decided to open a new tab when downloading an attachment to fix the multiple download issue. |
Hmm yes, please raise a slack discussion, tag me and internal engineer, ty. |
@hungvu193 FYI, slack thread was created 2 days ago but we haven't got any response. Should we tag the design team? |
I think it's a bit technical, so let's ask Internal engineer first @Krishna2323 |
Discussing here: https://expensify.slack.com/archives/C01GTK53T8Q/p1733242576938629 |
Lets close the PR @Krishna2323, but I think we can request the compensation since we already worked on the PR. |
Explanation of Change
Fixed Issues
$ #52572
PROPOSAL: #52572 (comment)
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop