-
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
[HOLD for payment 2023-05-23] [$1000] Chat- Files mp4 with long name extend to the far edges of the screen. #16970
Comments
Triggered auto assignment to @greg-schroeder ( |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
ProposalPosting proposal early as per new guidelines Please re-state the problem that we are trying to solve in this issue.Chat- Files mp4 with long name extend to the far edges of the screen. What is the root cause of that problem?
App/src/components/AttachmentModal.js Lines 271 to 287 in 83b20de
Lines 1916 to 1921 in 83b20de
Attachment view render via this code for mp4 or other attachment. So content within it will expand fully this is the root cause of the problem. App/src/components/AttachmentView.js Lines 90 to 93 in 83b20de
What changes do you think we should make in order to solve the problem?From <AttachmentView
containerStyles={[styles.mh5]} // *** Add this
source={source}
isAuthTokenRequired={this.props.isAuthTokenRequired}
file={this.state.file}
onToggleKeyboard={this.updateConfirmButtonVisibility}
/> We have to use containerStyles props in return (
<View
style={[styles.defaultAttachmentView, ...props.containerStyles]}
>
....
</View>
); Important: So while we render it within attachment modal we can set horizontal margin and during chat list it will behave normally. This will solve the problem and shows horizontal margin when needed as shown in result video. What alternative solutions did you explore? (Optional)None ResultsAttachment.mov |
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
This comment was marked as resolved.
Job added to Upwork: https://www.upwork.com/jobs/~01fea9233c3c7ebaef |
Triggered auto assignment to Contributor Plus for review of internal employee PR - @rushatgabhane ( |
I got assigned 2 days ago. I think we missed adding Engineering label here? |
@PrashantMangukiya horiziontal margin of 20 seems good to me. C+ reveiwed 🎀 👀 🎀 |
This comment was marked as resolved.
This comment was marked as resolved.
We need to add engineering label and hire @PrashantMangukiya to fix this issue |
📣 @PrashantMangukiya You have been assigned to this job by @greg-schroeder! |
Okay - set to |
@greg-schroeder @rushatgabhane Thanks. I will prepare and submit pr within 2 hours asap. |
@rushatgabhane @danieldoglas @greg-schroeder PR is ready for review. |
🎯 ⚡️ Woah @rushatgabhane / @PrashantMangukiya, great job pushing this forwards! ⚡️ The pull request got merged within 2 working days of assignment, so this job is eligible for a 50% #urgency bonus 🎉
On to the next one 🚀 |
|
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.3.14-14 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 2023-05-23. 🎊 After the hold period is over and BZ checklist items are completed, please complete any of the applicable payments for this issue, and check them off once done.
As a reminder, here are the bonuses/penalties that should be applied for any External issue:
|
BugZero Checklist: The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed:
|
Offers sent to @rushatgabhane @PrashantMangukiya in preparation for payment date tomorrow, 5/23 |
@rushatgabhane please fill the checklist above |
Bump @rushatgabhane for the checklist and also to accept the offer for payment :) |
Friendly bump on the checklist and payment offer @rushatgabhane |
Pinged in the c+ room! |
Pinged in the c+ room again |
Updated the offer to @rushatgabhane's new Upwork profile, just waiting on the checklist |
This bug was present since Dec 2020 (source). I don't think there's much value in doing the checklist
|
Thanks @rushatgabhane |
If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!
Action Performed:
Expected Result:
Attachment preview doesn't extend to the far edges of the screen.
Actual Result:
Files mp4 with long name extend to the far edges of the screen.
Workaround:
Unknown
Platforms:
Which of our officially supported platforms is this issue occurring on?
Version Number: 1.2.95.0
Reproducible in staging?: Yes
Reproducible in production?: Yes
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Bug6007064_Screen_Recording_20230405_183417_Chrome.mp4
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
View all open jobs on GitHub
Upwork Automation - Do Not Edit
The text was updated successfully, but these errors were encountered: