-
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
[HOLD for payment 2021-12-15] [$250] Attachment - If file name is too long, attachment preview is overflowing the modal - Reported by: @Santhosh-Sellavel #6157
Comments
Triggered auto assignment to @Luke9389 ( |
Triggered auto assignment to @Christinadobrzyn ( |
First of all this issue was not addressed in the PR #5969 Also, we would still need to hold proposals.
Then, based on the outcome of the discussion we should resume proposals! |
Thanks, @Christinadobrzyn, good catch. Now that I read the PR comments on that, Chirag did recommend making a separate issue for this. I'll tag @Expensify/design to see how we want to chop this text. I think a |
Sorry, @Santhosh-Sellavel I should have asked you if this fix was in the PR - thanks for clarifying. Sounds like we'll wait to get thoughts from design on what the truncated attachment name should look like and then collect proposals. |
@Expensify/design when possible, can you let us know how you'd like the truncated attachment name should look in newdot? |
Triggered auto assignment to @michelle-thompson ( |
Still waiting on design for this one. |
Yup, I agree with this! |
OK, we're open for proposals on this one. 👍 |
Posted in Upwork: Internal post - https://www.upwork.com/ab/applicants/1458222432920576000/job-details |
solution to this is easy adding flex to the text and a word wrap will make the text stay within the confined of the parent after that you can add any styling you want there is no technical changes needed only styling |
Proposal @Luke9389 We could've used the default I've got a couple of approaches to solve this problem:
I've implemented a similar approach for Typing indicator here #5933
|
Hi @akshayasalvi, thanks for the clear and detailed proposal. |
@Luke9389 Here we didn't split the username. What we did is we had Hope this clarifies your question. |
OH ok I see, thanks @akshayasalvi. |
No there won't be any character limit check. We won't have to do it because if the file name is shorter, then ellipses in first
In
and replace the current line:
with:
|
Ok, I like this plan. I think we're getting pretty close here. |
I think another possible approach (and a proposal) is to solve this issue simply leveraging CSS styling. The logic will be quite simple. With this there are a total of 3 styling that needs to change for this issue.
|
Well, MIME-type is the better solution, I assumed string after the last '.' is the extension. |
OH, last |
Hired @akshayasalvi in Upwork! Also hired @Santhosh-Sellavel for reporting this issue - we will pay the $250 for proposing this when the job is complete. |
That makes sense to me. I also think it couldn't hurt to give this some kind of max-width. |
@Christinadobrzyn I accidentally ended the Upwork contract for this issue when closing #5755. Can you pay @Santhosh-Sellavel via this contract when this issue gets completed? Sorry for the confusion! |
No worries! Yes, I'll make sure to pay @Santhosh-Sellavel for this contract when this job closes |
Hey @Luke9389 can you please give an update on this job? It looks like we're reviewing the PR? |
Just merged the PR. We went for word wrapping after all 👍 |
The solution for this issue has been 🚀 deployed to production 🚀 in version 1.1.18-3 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 2021-12-15. 🎊 |
7 day production timeframe is complete! Paid @akshayasalvi in Upwork. @Santhosh-Sellavel - I rehired you for this job in Upwork so I can pay you for reporting this. Can you please let me know when you've accepted my request in Upwork and I'll pay you the $250 for reporting this? Thanks! Keeping this open until we pay @Santhosh-Sellavel |
Since we paid @Santhosh-Sellavel for reporting this bug instead of job #5755 I paid @Santhosh-Sellavel for #5755 and closed it out. I think we're all good with paying Santosh - let me know if otherwise! |
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 name should not overflow the modal.
Actual Result:
Attachment name is overflowing the modal
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platform:
Where is this issue occurring?
Version Number: 1.1.12-0
Reproducible in staging?: Yes
Reproducible in production?: Yes
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
Expensify/Expensify Issue URL:
Issue reported by: @Santhosh-Sellavel
Slack conversation: (In this case GH conversation) #5755 (comment)
View all open jobs on GitHub
The text was updated successfully, but these errors were encountered: