-
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 app crash with optional chaining #41293
Conversation
@ishpaul777 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] |
@ishpaul777 gentle bump |
I will complete this today : ) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeScreen.Recording.2024-05-09.at.12.04.06.AM.movAndroid: mWeb ChromeScreen.Recording.2024-05-08.at.11.21.38.PM.moviOS: NativeScreen.Recording.2024-05-05.at.12.02.23.AM.moviOS: mWeb SafariScreen.Recording.2024-05-05.at.12.26.46.AM.movMacOS: Chrome / SafariScreen.Recording.2024-05-04.at.11.mp4MacOS: DesktopScreen.Recording.2024-05-08.at.11.58.18.PM.mov |
This comment was marked as resolved.
This comment was marked as resolved.
@Nodebrute can you please merge main |
Bug: When using a random distance rate id in url it shows unusable page while it should show a not found page Screen.Recording.2024-05-05.at.12.33.57.AM.mov |
@ishpaul777 Do you think we should fix this here? I feel it's unrelated to this ticket. |
Done. |
Hey @Nodebrute How much effort do you think this would take to have not-found, i believe it should be straightforward isn't it? if we deliver it as it is, it will defintly caught while QA and might be considered a regression so if you think its straightforward lets fix it within the scope of this PR |
@ishpaul777 Apologies, I've fixed the issue on two pages |
This bug is repro on main also so I dont think this is within the scope of this issue but when i go to random policy id on any WS setting page there is weird error which has a different root cause (this started happening recently) Screen.Recording.2024-05-09.at.12.14.41.AM.mov |
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.
otherwise LGTM!
✋ 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/AndrewGable in version: 1.4.74-0 🚀
|
Bug #40481 is still reproducible in web mweb and android |
@Nodebrute Can you please take a look ^, its weird becuase it was working fine on dev |
I think we can just implement this as a follow up issue to the original issue |
🚀 Deployed to production by https://github.com/chiragsalian in version: 1.4.74-6 🚀
|
Details
Fixed Issues
$ #40481
PROPOSAL: #40481 (comment)
Tests
Test 1
Test 2
Test 3
Offline tests
Same as above
QA Steps
Test 1
Test 2
Test 3
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
Android: Native
Android: mWeb Chrome
Screen.Recording.2024-04-30.at.9.40.35.AM.mov
iOS: Native
iOS: mWeb Safari
Screen.Recording.2024-04-30.at.9.28.01.AM.mov
MacOS: Chrome / Safari
Screen.Recording.2024-04-30.at.9.01.37.AM.mov
Screen.Recording.2024-04-30.at.9.01.06.AM.mov
MacOS: Desktop