Fix - Uploading Mp4 Videos Removes 'Attachment' Tag #8438
Conversation
|
CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅ |
|
Please correct the commit errors and all commits need to sign. Follow Contributor (PR Author) Checklist for code changes. |
|
I have read the CLA Document and I hereby sign the CLA |
|
@parasharrajat fixed commit errors |
marcaaron
left a comment
There was a problem hiding this comment.
I think we missed what the original issue is asking for here.
mountiny
left a comment
There was a problem hiding this comment.
I think the expected results should be to always show [Attachment] for any type of upload to unify it for now and remove the inconsistency. I think we understood each other despite the misleading issue expected results section somehow 😄
|
I think QA steps can be improved.
|
mountiny
left a comment
There was a problem hiding this comment.
@dennismunene Can you please try to comment this again? Thank you
I have read the CLA Document and I hereby sign the CLA
There was a problem hiding this comment.
LGTM.
cc: @mountiny
PR Reviewer Checklist
- I verified the PR has a small number of commits behind
main - I verified the correct issue is linked in the
### Fixed Issuessection above - I verified testing steps are clear and they cover the changes made in this PR
- I verified the testing environment is mentioned in the test steps
- I verified testing steps cover success & fail scenarios (if applicable)
- I checked that screenshots or videos are included for tests on all platforms
- I verified tests pass on all platforms & I tested again on:
- iOS / native
- Android / native
- iOS / Safari
- Android / Chrome
- MacOS / Chrome
- MacOS / Desktop
- I verified there are no console errors related to changes in this PR
- I verified proper code patterns were followed (see Reviewing the code)
- I verified comments were added when the code was not self explanatory
- I verified any copy / text shown in the product was added in all
src/languages/*files (if applicable) - I verified proper naming convention for platform-specific files was followed (if applicable)
- I verified style guidelines were followed
- I verified the JSDocs style guidelines (in
STYLE.md) were followed
- I verified that this PR follows the guidelines as stated in the Review Guidelines
- I verified other components are not impacted by changes in this PR (i.e. if the PR modifies a shared library or component like
Avatar, I verified the components usingAvatarare working as expected) - I verified the UI performance was not affected (the performance is the same than
mainbranch) - If a new component is created I verified that a similar component doesn't exist in the codebase
🎀 👀 🎀 C+ reviewed
|
Please improve QA steps #8438 (comment) |
Let's update the original issue then? |
|
Oh sorry I saw you did. Thanks! |
|
I have read the CLA Document and I hereby sign the CLA |
mountiny
left a comment
There was a problem hiding this comment.
LGTM! Congratulations to the first PR @dennismunene! Great job on this one!
Thank you @parasharrajat for the review!
|
@dennismunene In terms of the refactor, there are not many occurrences of the Thank you very much for your work here, I hope to see many more PRs from you since the work you have done here has been very professional 🙇 🙌 |
|
@marcaaron Will you be able to approve and merge if you are happy with this one? Thank you very much! (dont want to dismiss your request for changes 😄 ) |
|
@mountiny Thank you. I've had a great experience working on this , I will definitely be raising more PR's in future 🙂 |
The requested changes has been addressed
|
I will be mean and go ahead and dismiss the review as the requested change has been addressed! Thank you very much for chiming in @marcaaron, @dennismunene will follow up with a refactor to address the other mentions of |
|
@dennismunene Very glad to hear this 🙌 |
|
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@mountiny @marcaaron Added the Refactor PR #8539 |
|
🚀 Deployed to production by @Julesssss in version: 1.1.54-1 🚀
|
Details
Fixed Issues
$ #8331
Tests
PR Review Checklist
Contributor (PR Author) Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick)src/languages/*filesSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)PR Reviewer Checklist
### Fixed Issuessection aboveTestssectionQA stepssectiontoggleReportand notonIconClick).src/languages/*filesSTYLE.md) were followed/** comment above it */displayNamepropertythisproperly so there are no scoping issues (i.e. foronClick={this.submit}the methodthis.submitshould be bound tothisin the constructor)thisare necessary to be bound (i.e. avoidthis.submit = this.submit.bind(this);ifthis.submitis never passed to a component event handler likeonClick)StyleUtils.getBackgroundAndBorderStyle(themeColors.componentBG)Avataris modified, I verified thatAvataris working as expected in all cases)QA Steps
##Expected Result
[Attachment]Tag should be shown for all attachment types.LHN - Left Hand Navigation
To test these changes on all platforms please follow these steps
Testing File uploads (Images,PDF,Audio,Video)
[Attachment]instead of showing the filename[Attachment]on the LHNTesting Links
https://google.comand not as an AttachmentThis should work on all platforms & for all attachments.
Screenshots
Web
Screen.Recording.2022-03-31.at.14.58.14.mov
Mobile Web
expensify-safari.mov
Desktop
expensify-desktop.mov
iOS
expensify-ios.mov
Android
expensify-android-chrome.mov