fix: Long filename handling in Preview#7097
Conversation
|
@parasharrajat PR updated with 1 pending clarification and 1-2 questions. |
|
PR updated. |
|
this is Android M web. file name => |
|
Oh, Ok. If this issue exists on the main as well, I would report separately but now as we are working on a change that replaces both at once so we will have to fix it. We can't merge with a known bug. let's see if we can find a solution. But if you say that we should tackle this separately, then let me know. I am happy to report it. |
|
But I see why this is caused. and it's not your Code's fault. It's an issue with RN-web and I am reporting it there and There is another issue #6913 due to that bug. |
|
Here is the RN-web issue link necolas/react-native-web#2186 |
|
@parasharrajat PR updated
Agreed and hence I've fixed it with a solution albeit not fixing the root cause. It seems the ellipsis isn't working well with the multi-line styles but I haven't come across this earlier.
While I've tackled the issue and if it is accepted, can we add a bonus to this job to solve the other bug as well? |
|
Ok, I have found the fix for the RN-web issue and I am going to submit a PR that will fix three issues at once in our repo including the one which you faced. let's wait for that PR to merge. |
|
@parasharrajat Should I revert my recent changes? or wait for your PR to get merged? I saw your PR its the ideal fix for the issue. |
|
Le's wait for today. Thanks. |
|
@parasharrajat I can see the RNWeb PR is still not merged. Are you sure that this will fix the issue then I can probably revert my recent changes and close it from my side? |
|
Let's give it a couple of more days. I think it will fix it. I will create a tracking issue in the meantime. |
|
@mananjadhav You can revert the changes for the ellipsis fix. PR is #7254. Then we can merge this. |
…le-preview-line # Conflicts: # src/styles/styles.js
|
@parasharrajat @Julesssss PR updated. |
src/components/AttachmentModal.js
Outdated
| this.submitAndClose = this.submitAndClose.bind(this); | ||
| this.closeConfirmModal = this.closeConfirmModal.bind(this); | ||
| this.isValidSize = this.isValidSize.bind(this); | ||
| this.splitExtensionFromFileName = this.splitExtensionFromFileName.bind(this); |
parasharrajat
left a comment
There was a problem hiding this comment.
LGTM, tests well.
cc: @Julesssss
🎀 👀 🎀 C+ reviewed
Julesssss
left a comment
There was a problem hiding this comment.
Nice work. Looks good to me.
I was going to suggest a var name change, but it is too minor to care about for now.
|
✋ 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 @Julesssss in version: 1.1.31-2 🚀
|
|
🚀 Deployed to production by @AndrewGable in version: 1.1.32-0 🚀
|





Details
subtitleprop toHeaderso that a custom component or string can be passed toHeaderFixed Issues
$ #6873
Tests
ReportingTypingIndicatoras the component was updated.QA Steps
...and ensure that the extension should show up.Tested On
Screenshots
Web
Mobile Web
Desktop
iOS
Android