-
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
[HybridApp] Bring back Travel to HybridApp #51327
[HybridApp] Bring back Travel to HybridApp #51327
Conversation
One performance test has failed. I'm not sure if we can guarantee smaller number of renders in this case, but I will investigate it tomorrow |
@rayane-djouah 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] |
@situchan as you reviewed the original PR for this, can you review this one today please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
perf tests failing
@situchan done |
I noticed small issue. Sometimes during first transition to NewDot via Travel button (after fresh install) we can see Btw this might turn out to be non-trivial. We can simply wait for keys to be loaded. However, if the user is offline, the BootSplash will hang indefinitely. We can additionally check if the user is offline to skip waiting for the keys, but then user will see Slow connection would also increase transition time significantly. Third approach: load betas on OldDot side. I'm not sure if this is possible with OldDot API. I think we might experience similar issues with copilot beta on HybridApp Is it reasonable approach? cc: @AndrewGable @trjExpensify Moved this discussion to slack: https://swmansion.slack.com/archives/C07HPDRELLD/p1730199889493489?thread_ts=1730160906.750479&cid=C07HPDRELLD |
Oh great find, I think we should load the betas on the OldApp side of things and not show the "new UI" unless they are on the beta. |
Reviewer Checklist
Screenshots/VideosAndroid: NativeAndroid: mWeb ChromeiOS: NativeiOS: mWeb SafariMacOS: Chrome / SafariScreen.Recording.2024-10-30.at.10.45.02.PM.movMacOS: Desktop |
@mateuuszzzzz are you sure? Please check #51139 (comment). |
Please also test #51115 in HybridApp. |
I observed the same crashes in the Crashlytics console that were not caused by the Travel PR, as they occurred in versions where Travel hadn’t been merged or had already been reverted. Here is more details #47734 (comment) |
I'm going to investigate how we can use those betas on OldApp side of things and introduce modifications to both of my PRs |
Check |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Confirmed no regression on non-hybrid app.
Please resolve conflict and perform regression test #51115 on hybrid app
I think this is held on figuring out beta permissions |
I confirmed that on HybridApp onboarding flow works correctly for all scenarios listed in |
@situchan I think you can take a look again once tests will pass. I added betas check on OldDot side as well so we don't need to rely on |
Code looks good. I am not able to test Hybrid app. Should be internal testing |
I tested HybridApp on my side with new betas check in mind and It works as expected |
✋ This PR was not deployed to staging yet because QA is ongoing. It will be automatically deployed to staging after the next production release. |
@situchan could you help with QA steps in the linked issue? Should this be tested from OD app? |
🚀 Deployed to staging by https://github.com/AndrewGable in version: 9.0.58-0 🚀
|
🚀 Deployed to production by https://github.com/Julesssss in version: 9.0.58-2 🚀
|
Details
This PR was reverted before. Current PR fixes the following issues:
OldDot PR: https://github.com/Expensify/Mobile-Expensify/pull/13245
iOS issue is not in the scope of this PR since it was not introduced by Travel PR.
Fixed Issues
$ #47734
PROPOSAL:
All tests/offline tests/QA steps are the same as in this PR: #49602
Tests
Offline tests
QA Steps
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)myBool && <MyComponent />
.src/languages/*
files and using the translation methodSTYLE.md
) were followedAvatar
, I verified the components usingAvatar
are working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG)
)Avatar
is modified, I verified thatAvatar
is working as expected in all cases)Design
label and/or tagged@Expensify/design
so the design team can review the changes.ScrollView
component to make it scrollable when more elements are added to the page.main
branch was merged into this PR after a review, I tested again and verified the outcome was still expected according to theTest
steps.Screenshots/Videos
See https://github.com/Expensify/Mobile-Expensify/pull/13234
Android: Native
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari
MacOS: Desktop