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.
we missed to add a comment to this prop when it was added, could we add it please?
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 |
| maybeIcon, | ||
| fallbackSource, | ||
| transaction, | ||
| transactionID = '-1', |
There was a problem hiding this comment.
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.
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 Attachmentoption.Send.Uploading.Offline tests
An Internet connection is required to upload an attachment.
QA Steps
Same as
TestsSection.PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.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