-
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
fix: display all LHN options in Import state mode #53374
fix: display all LHN options in Import state mode #53374
Conversation
Opening as a draft first as it is blocked by #53370 |
marking as ready for review as blocking PR is now merged |
Reviewer Checklist
Screenshots/VideosAndroid: Nativeandroid-app-2024-12-12_17.06.46.mp4Android: mWeb Chromeandroid-chrome-2024-12-12_17.10.01.mp4iOS: Nativeios-app-2024-12-12_17.28.34.mp4iOS: mWeb Safariios-safari-2024-12-12_17.31.41.mp4MacOS: Chrome / Safaridesktop-chrome-2024-12-12_17.11.02.mp4MacOS: Desktopdesktop-app-2024-12-12_17.14.50.mp4 |
@TMisiukiewicz Would it be worth adding a unit test for this? Also, would you mind adding a screenrecording for iOS Safari for completeness? 🙏 |
This comment was marked as resolved.
This comment was marked as resolved.
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.
Just a couple of comments to address.
I added some unit tests for transforming imported data
after updating Xcode I have problems with Safari on iOS and it crashes each time I try to open any website, already tried everything and couldn't find a solution for that 😕 I guess I have to wait for another update...
Actually it looks like fixing it in this PR is beneficial because it'll prevent moving to a main screen until the data is fully loaded. Let's fix it here then :) I'm taking a look on the issue with user data not appearing now. |
@jjcoffee ready for review ✅ |
…-when-importing-state
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.
LGTM! Thanks for the quick fixes 🙏
✋ 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/Gonals in version: 9.0.76-0 🚀
|
@TMisiukiewicz @jjcoffee @Gonals we ended up reverting this PR in an attempt to fix the issue that caused #fireroom-2024-12-17-hybridapp-crash. This PR was NOT the cause of the issue. I'm reverting the revert here |
🚀 Deployed to production by https://github.com/grgia in version: 9.0.76-12 🚀
|
Explanation of Change
When using Import Onyx state, for some users LHN list does not display all items comparing to the original account. This is because
session
key in Onyx is not overriden, and if theaccountID
does not exist in thepersonalDetails
, it doesn't display all the items. This PR overrides session and keeps the original one in a separate key until the app is not returned into the orignal state.Fixed Issues
$ #53060
PROPOSAL:
Tests
Offline tests
n/a
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Same as tests
PR Author Checklist
### Fixed Issues
section aboveTests
sectionOffline steps
sectionQA steps
sectiontoggleReport
and notonIconClick
)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
Android: Native
android.mov
Android: mWeb Chrome
android-web.mov
iOS: Native
ios.mp4
iOS: mWeb Safari
MacOS: Chrome / Safari
web.mov
MacOS: Desktop
desktop.mov