Upgrade to react-native-render-html@6.0.0-beta.8#4047
Upgrade to react-native-render-html@6.0.0-beta.8#4047marcaaron merged 1 commit intoExpensify:mainfrom
Conversation
|
Sorry for the delay @jsamr. I'll give this a look tomorrow! |
|
@marcaaron No worries :-) |
|
It looks like there is a very minor styling difference where hyperlinks now have a line underneath them. But I'm not sure if this is at all a blocker. Going to double check with @Expensify/design just in case there are strong opinions :) Edit: Actually looks like this only happens on mobile web. I'm not sure if this is already like this but probably is and isn't a blocker. Code looks good, but will do some testing locally before merging. |
|
I think the underlined hyperlink is super common and don't have any issues with it |
|
@marcaaron did you run |
|
@marcaaron I'll take a look at why there is suddenly underline for web (but not web mobile, did I get the screenshot wrong?) tomorrow morning and post my findings here. If you'd like a hover rule as suggested by @michelle-thompson, I have to say IDK how to achieve that with react-native-web! |
|
I deleted node modules and re-installed everything + cleared the metro cache |
|
@marcaaron That's really weird; cloning the branch in a tmp to start with a pure state, and I'll let you know if I can reproduce. In the meantime (cloning is slow!), if you EDIT npm why is available in npm 7, might not be your case... |
|
Ok, let me know how it goes. We are using node v14.16.0 & npm 6.14.11. |
|
@marcaaron expensify-test.mp4Most likely a cache issue... sorry those are so annoying! Could you try a clean state with EDIT my recording tool (Peek) added frames from the end in the beginning... weird bug |
|
So, running in the cloned repo seems to have worked and is testing well. But breaks stuff when pulling this branch from my main project folder. Maybe it's a gremlin - but I just want to verify this isn't going to cause issues for everyone who merges the |
|
Ok all resolved on my end ::oh-nothing:: ! |
|
I think building from x code worked fine |
|
Oh jeez; npm nutery! ; AFAIK ci stricly matches npm lockfile while install allows more recent dependencies versions... perhaps try upgrade cli... sorry for this nightmare, I can take a look tomorrow morning and test on my Mac... |
|
@marcaaron So I tried on main branch on my mac, commit 329dc18 First, with Then with So I believe the issue is not related to my commit. I guess it didn't occur to me when I tested because I built and run from XCode directly. |
parasharrajat
left a comment
There was a problem hiding this comment.
Look Good. One Question why aren't we upgrading to 6.0.2? Asking just for curiosity?
Also, one question about dangerouslyDisableWhitespaceCollapsing={false}.
If we set it to true, What would be the major change in the output apart from the spaces that will not collapse. Will it break the layout?
Thanks for your time.
6.0.2 was not released at the time of writing this PR. But there are no functional differences between 6.0.0-beta.8 and 6.0.2.
It shouldn't break the layout. Basically, would be equivalent to setting |
Got it, I think perhaps related to including expo unimodules but unsure. App builds fine in Xcode and Android Studio. We still need to fix the conflicts here then I can merge :) |
|
@marcaaron Sorry I was unsure if you needed me to do the resolution; but I just realized that you were probably waiting for me to do it. So I just did it! |
|
🚀 Deployed to staging in version: 1.0.79-6🚀
|
|
🚀 Deployed to production in version: 1.0.80-2🚀
|





@marcaaron
Details
Upgrade react-native-render-html from 6.0.0-alpha.10 to version 6.0.0-beta.8 and adapt code to API changes. Great care was given on manually testing each platform. A visual comparision (before, after) for each platform is available in the Screenshots section.
Fixed Issues
#3951
Tests
npm cito sync yournode_modulesnpm run start -- --resetCacheQA Steps
Follow steps 4 to 6 from the previous section.
Tested On
I could not run dev on dekstop, there seems to be a file missing in the dist folder (could reproduce prior and after patch):
Screenshots
Web
Mobile Web
Desktop
N/A
iOS
Android
Note that the inline code issue is being tracked here: #4005