-
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
Dont create multiple policy #41990
Dont create multiple policy #41990
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] |
d39f389
to
a139da7
Compare
Welcome.setOnboardingAdminsChatReportID(adminsChatReportID); | ||
Welcome.setOnboardingPolicyID(policyID); | ||
} | ||
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style |
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.
Using this comment to fix the lint error like other places
Welcome.setOnboardingPolicyID(policyID); | ||
} | ||
// eslint-disable-next-line @typescript-eslint/non-nullable-type-assertion-style | ||
Policy.updateGeneralSettings(onboardingPolicyID as string, work, CONST.CURRENCY.USD); |
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.
Using "CONST.CURRENCY.USD" because this value always be returned from BE when creating workspace
c73e06e
to
df94ad0
Compare
@ishpaul777 The PR is ready |
will review today : ) |
Reviewer Checklist
Screenshots/VideosAndroid: NativeRecord_2024-05-15-00-57-54.mp4Android: mWeb ChromeRecord_2024-05-15-01-04-52.mp4iOS: NativeScreen.Recording.2024-05-15.at.12.38.55.AM.movScreen.Recording.2024-05-15.at.12.38.55.AM.moviOS: mWeb SafariScreen.Recording.2024-05-15.at.12.26.21.AM.movMacOS: Chrome / SafariScreen.Recording.2024-05-15.at.12.22.04.AM.movMacOS: DesktopScreen.Recording.2024-05-15.at.1.10.11.AM.mov |
@cretadn22 Please merge main |
@ishpaul777 Updated latest main |
@ishpaul777 How can we proceed from this point onward? |
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!
The lint error is so weird |
@francoisl I removed the assertion to fix lint error. Everything is ready to merge |
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.
👍
✋ 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/francoisl in version: 1.4.75-0 🚀
|
🚀 Deployed to production by https://github.com/puneetlath in version: 1.4.75-1 🚀
|
Details
Call UpdateWorkspaceGeneralSettings with the new name if the user navigated back and then forward again
Fixed Issues
$ #41838
PROPOSAL: #41838 (comment)
Tests
Offline tests
Can't test offline
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
Android: Native
Screen.Recording.2024-05-11.at.10.39.21.mov
Android: mWeb Chrome
Screen.Recording.2024-05-11.at.10.37.41.mov
iOS: Native
Screen.Recording.2024-05-11.at.10.38.25.mov
iOS: mWeb Safari
Screen.Recording.2024-05-11.at.10.34.35.mov
MacOS: Chrome / Safari
2.mp4
MacOS: Desktop
1.mov