-
Notifications
You must be signed in to change notification settings - Fork 2.9k
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 - Unable to download a txt attachment until the browser is refreshed #49898
Conversation
Asked for translation confirmation on slack(https://expensify.slack.com/archives/C01GTK53T8Q/p1727696948270859) |
@getusha Friendly bump! |
|
||
/** Function for handle on press */ | ||
onPress?: (e?: GestureResponderEvent | KeyboardEvent) => void; | ||
isUsedInAttachmentModal?: boolean; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we missed to add a comment to this prop when it was added, could we add it please?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done.
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-10-13.at.4.54.39.in.the.afternoon.movAndroid: mWeb ChromeScreen.Recording.2024-10-13.at.4.44.07.in.the.afternoon.moviOS: NativeScreen.Recording.2024-10-13.at.4.44.07.in.the.afternoon.moviOS: mWeb SafariScreen.Recording.2024-10-13.at.4.41.40.in.the.afternoon.movMacOS: Chrome / SafariScreen.Recording.2024-10-13.at.4.39.48.in.the.afternoon.movMacOS: DesktopScreen.Recording.2024-10-13.at.4.50.05.in.the.afternoon.mov |
@@ -95,16 +92,20 @@ function AttachmentView({ | |||
isWorkspaceAvatar, | |||
maybeIcon, | |||
fallbackSource, | |||
transaction, | |||
transactionID = '-1', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is a conversation about the usage of -1
as default here: https://expensify.slack.com/archives/C01GTK53T8Q/p1729014019344209?thread_ts=1728329641.957179&cid=C01GTK53T8Q
In the future I understand we want undefined or null (not sure which one), so I don't know if we should be using null
or undefined
or -1
here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We will continue with -1
for now and migrate later.
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
🚀 Deployed to staging by https://github.com/aldo-expensify in version: 9.0.50-0 🚀
|
🚀 Deployed to production by https://github.com/marcaaron in version: 9.0.50-8 🚀
|
Details
Fixed Issues
$ #48679
PROPOSAL: #48679 (comment)
Tests
+
of the composer and selectAdd Attachment
option.Send
.Uploading
.Offline tests
An Internet connection is required to upload an attachment.
QA Steps
Same as
Tests
Section.PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.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-native-upload-loading-spinner.mp4
Android: mWeb Chrome
android-mweb-upload-loading-spinner.mp4
iOS: Native
ios-native-upload-loading-spinner.mp4
iOS: mWeb Safari
ios-safari-upload-loading-spinner.mp4
MacOS: Chrome / Safari
full-video-loading-spinner.mp4
MacOS: Desktop
desktop-upload.mp4