Remove createOptionList call from app start#75054
Conversation
|
All contributors have signed the CLA ✍️ ✅ |
Codecov Report✅ Changes either increased or maintained existing code coverage, great job!
|
…ized before checking locale
…to fix/1807/remove-createOpitonList-call-from-app-start
ccb2a84 to
34a7886
Compare
|
@Krishna2323 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] |
|
Reviewing... Update: The change is a one-liner and works well on my end. I’m having some issues building the iOS app, and I’ll share the checklist with recordings tomorrow. |
|
@BartekObudzinski do you think it would be valuable to add 1–2 small tests to ensure this behavior is locked in? I'm not entirely sure whether it's necessary.
|
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid_native.mp4Android: mWeb Chromeandroid_chrome.mp4iOS: HybridAppios_native.mp4iOS: mWeb Safariios_safari.mp4MacOS: Chrome / Safariweb_chrome.mp4MacOS: Desktopdesktop_app.mp4 |
|
Not sure why CLA Assistant check is failing, @mountiny could you please take a look? Thanks! |
… handling and options initialization
|
@Krishna2323 I think it's worth to add, so i created tests to cover this 2 cases |
Krishna2323
left a comment
There was a problem hiding this comment.
@BartekObudzinski thanks for writing the tests, they look solid.
|
Codex Review: Didn't find any major issues. Breezy! ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍. Codex can also answer questions or update the PR. Try commenting "@codex address that feedback". |
|
@JmillsExpensify LGTM, over to you! |
|
I have read the CLA Document and I hereby sign the CLA |
|
@BartekObudzinski thanks for your PR! Couple points of feedback:
And no need to wait for Jason as there is no change in behaviour here |
|
✋ 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: 9.2.61-0 🚀
|
|
🚀 Deployed to production by https://github.com/grgia in version: 9.2.61-5 🚀
|
…ized before checking locale
Explanation of Change
Fixed Issues
$ #75144
PROPOSAL:
Tests
Offline tests
QA Steps
// TODO: These must be filled out, or the issue title must include "[No QA]."
Steps:
run app
open any search screen and focus search input
loadOptions should not be loaded
go to settings and change language
go to any search screen and focus search input
loadOptions should be loaded
Verify that no errors appear in the JS console
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectioncanBeMissingparam foruseOnyxtoggleReportand notonIconClick)src/languages/*files and using the translation methodSTYLE.md) were followedAvatar, I verified the components usingAvatarare working as expected)StyleUtils.getBackgroundAndBorderStyle(theme.componentBG))npm run compress-svg)Avataris modified, I verified thatAvataris working as expected in all cases)Designlabel and/or tagged@Expensify/designso the design team can review the changes.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
Android: Native
Screen.Recording.2025-11-17.at.14.36.49.mov
Android: mWeb Chrome
Screen.Recording.2025-11-17.at.14.48.25.mov
iOS: Native
Screen.Recording.2025-11-17.at.14.50.57.mov
iOS: mWeb Safari
Screen.Recording.2025-11-17.at.14.51.49.mov
MacOS: Chrome / Safari
Screen.Recording.2025-11-17.at.14.49.21.mov
MacOS: Desktop
Screen.Recording.2025-11-17.at.14.55.09.mov