fix: fix transitioning issue from old dot#28984
Conversation
|
@allroundexperts Please copy/paste the Reviewer Checklist from here into a new comment on this PR and complete it. If you have the K2 extension, you can simply click: [this button] |
Reviewer Checklist
Screenshots/VideosWebMobile Web - ChromeMobile Web - SafariDesktopiOSAndroid |
|
@allroundexperts it didn't happen before the changes? |
|
@allroundexperts I've checked it - it also happened before on main. So my changes didn't introduce the issue. @mountiny @allroundexperts I'm not sure if this should be fixed here or should be done as a follow-up issue? |
|
@koko57 Sounds good. I'll ignore this! |
|
@allroundexperts but I think we have to wait for this one #26530 |
|
Ah. Sorry, I'm confused @koko57. Why should we wait on that? Can you please explain briefly? Thanks! |
|
@allroundexperts The issue and the solution proposed in this issue are pretty similar to the one that I proposed. I just found this issue accidentally after I made a PR here. But the PR from this other issue was made earlier. My approach is slightly different though, and we also need to check if it solves this other problem, although I think it does and testing locally it works fine for me. |
|
I think the tab crashing is on main yeah |
|
@vit @allroundexperts I came from #26530 - In my opinion the solution implemented by this PR fixes both issues, the only concern that @Sourcecodedeveloper (author of the other solution) has, is that it breaks deeplinking, but I'm not sure it's the case here. In fact, with the solution from this PR, if we paste the cc: @koko57 |
|
@allroundexperts could we resume the checklist on this one please |
|
@allroundexperts @mountiny I'll merge with the newest main |
|
@koko57 coming from this PR/issue #28372 where transition from oldDot endpoint shows infinite spinner. We believe the issue will fixed by this PR. Are we expecting some more additions to this PR? Looks like current state is not fixing the issue cc @NikkiWines |
|
@MonilBhavsar could you please tell me a little bit more what's happening there? What are the exact steps to reproduce to get a loading spinner? I've found the fix for the spinner issue that @Sourcecodedeveloper mentioned but as it didn't happen on main I guess that it's a different scenario. |
Not @MonilBhavsar, but the issue is reproducible by logging into expensify.com and clicking the green chat bubble icon on the |
|
@NikkiWines Thanks for the response! Yeah, looks fixed now Screen.Recording.2023-10-17.at.08.23.24.mp4 |
|
@allroundexperts I think it's ready for re-review 🙂 |
| const currentUrl = getCurrentUrl(); | ||
|
|
||
| const isLoggingInAsNewUser = SessionUtils.isLoggingInAsNewUser(currentUrl, this.props.session.email); |
There was a problem hiding this comment.
| const currentUrl = getCurrentUrl(); | |
| const isLoggingInAsNewUser = SessionUtils.isLoggingInAsNewUser(currentUrl, this.props.session.email); | |
| const currentUrl = getCurrentUrl(); | |
| const isLoggingInAsNewUser = SessionUtils.isLoggingInAsNewUser(currentUrl, this.props.session.email); | |
mountiny
left a comment
There was a problem hiding this comment.
THis works for me locally with my VM but also noticed that it crashes in the other tab. I dont think that is a blocker but I swear we had fix for this in place
https://github.com/Expensify/App/assets/36083550/05210e1e-042d-4385-8e4e-35c114c3a231
|
Updated the checklist from @allroundexperts and moving this ahead |
|
✋ 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 https://github.com/mountiny in version: 1.3.86-0 🚀
|
|
This PR right? Expensify/react-native-onyx#382 anyone able to take it over? |
|
I can take it over, or someone from our team can 🙂 |
|
🚀 Deployed to production by https://github.com/francoisl in version: 1.3.86-5 🚀
|

Details
Fixed Issues
$ #27418
PROPOSAL: #27418 (comment)
Tests
Offline tests
N/A
QA Steps
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectiontoggleReportand notonIconClick)myBool && <MyComponent />.src/languages/*files and using the translation methodWaiting for Copylabel for a copy review on the original GH to get the correct copy.STYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)/** comment above it */thisproperly 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)ScrollViewcomponent to make it scrollable when more elements are added to the page.mainbranch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTeststeps.Screenshots/Videos
Web
Screen.Recording.2023-10-06.at.15.48.45.mp4
Mobile Web - Chrome
N/A
Mobile Web - Safari
N/A
Desktop
N/A
iOS
N/A
Android
N/A