-
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: check the existence of reportDraft in withWritableReportOrNotFound #43507
Conversation
avoid OpenReport API call if report draft exists Signed-off-by: dominictb <tb-dominic@outlook.com>
@dominictb Please format your test steps using bullet points or numbers. Also, this step, Thanks. |
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.
@dominictb Although it doesn't crash, Unavailable workspace is still displayed after some time after clicking the Share with accountant button. Please check this.
Screen.Recording.2024-06-13.at.02.44.54.mp4
@akinwale I couldn't reproduce this issue even with the new account (see the image below). The |
Reviewer Checklist
Screenshots/VideosMacOS: Chrome / Safari43507-web.mp4MacOS: Desktop43507-desktop.mp4 |
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.
We did not find an internal engineer to review this PR, trying to assign a random engineer to #43260 as well as to this PR... Please reach out for help on Slack if no one gets assigned! |
✋ 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/yuwenmemon in version: 1.4.85-0 🚀
|
2 similar comments
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 1.4.85-0 🚀
|
🚀 Deployed to staging by https://github.com/yuwenmemon in version: 1.4.85-0 🚀
|
🚀 Deployed to production by https://github.com/AndrewGable in version: 1.4.85-7 🚀
|
Details
fix: check the existence of reportDraft in withWritableReportOrNotFound to avoid OpenReport API call on draft report
Fixed Issues
$ #43260
PROPOSAL: #43260 (comment)
Tests
Verify: The new workspace name displayed in on the confirmation page and user is able to proceed to the participant page
Offline tests
QA Steps
Verify: The new workspace name displayed in on the confirmation page and user is able to proceed to the participant page
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
a8.mp4
Android: mWeb Chrome
aweb8.mp4
iOS: Native
ios.mp4
iOS: mWeb Safari
Simulator.Screen.Recording.-.iPhone.15.Pro.Max.-.2024-06-12.at.08.56.07.mp4
MacOS: Chrome / Safari
web8.mp4
MacOS: Desktop
d8.mp4