Repository navigation
[Payment due @mananjadhav] Duplicate workspaces with Auth's part names and new rate IDs - #104362
Conversation
Codecov Report❌ Looks like you've decreased code coverage for some files. Please write tests to increase, or at least maintain, the existing level of code coverage. See our documentation here for how to interpret this table.
|
…675336-duplicate-auth-parts # Conflicts: # src/libs/actions/Policy/Policy.ts # src/pages/workspace/copyPolicySettings/CopyPolicySettingsSelectFeaturesPage.tsx
|
@parasharrajat 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] |
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 627e30f405
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
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".
|
@MelvinBot review this PR extensively and carefully
Please leave inline code comments as many as you want |
MelvinBot
left a comment
There was a problem hiding this comment.
Inline review from MelvinBot. Summary follows in a separate comment.
Reviewer Checklist
Screenshots/VideosAndroid: HybridAppandroid-duplicate-workspace.movAndroid: mWeb Chromemweb-chrome-duplicate-workspace.moviOS: HybridAppios-duplicate-workspace.moviOS: mWeb Safariios-duplicate-workspace.movMacOS: Chrome / Safariweb-duplicate-workspace.mov |
mananjadhav
left a comment
There was a problem hiding this comment.
May be best to get @Expensify/design input too? wdyt @ishpaul777 @francoisl ?
|
🎯 @mananjadhav, thanks for reviewing and testing this PR! 🎉 A payment issue will be created for your review once this PR is deployed to production. If payment is not needed (e.g., regression PR review fix etc), react with 👎 to this comment to prevent the payment issue from being created. |
@shawnborton Yeah I don't love that either. What if we did something like this?
I kinda like the generic duplicate icon since we could use it for other duplicate actions elsewhere. Or we could follow what we do elsewhere for duplicate and make a workspace specific version. |
|
I could get down with any of those. I could see generic dupe being too close to Copy, so maybe we wanna lick one of the bottom two you made? That's kinda where I lean. |
Right on. Was doing some cursory research and apparently the
cc @dubielzyk-expensify for thoughts too |
Ah if that's the case, I say let's go for it then? But yeah, let's let the judge weigh in! |
I'd probably vote to go with this for now as well. I've been finding the subscript icons to be a little busy or overly complicated/detailed lately. And since we already have this pattern for report and expense, I think it makes sense to just carry it through for this as well. (Personally I'm still a fan of just using a singular, generic duplicate icon in all situations, but we can always do that later if we decide we like that). |
|
Let's do it 👍 I like the duplicate pattern as well so definitely fine with going with that |
|
Cool, thanks design people for chiming in. So it sounds like we're leaning towards using new icons, right? Given that this PR doesn't touch the menu icon and is already pretty big, maybe we can do this in a follow-up PR? |
|
That works for me 👍 |
|
Sweet, let's work on that in #108610 then. |
|
🚧 francoisl has triggered a test Expensify/App build. You can view the workflow run 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. |
|
🧪🧪 Use the links below to test this adhoc build on Android, iOS, and Web. Happy testing! 🧪🧪
|
|
🚀 Deployed to staging by https://github.com/francoisl in version: 9.5.58-0 🚀
|
|
Help site update needed — duplication now supports selecting Currency, Time, and Receipt partners. Created a minimal draft help site PR, labeled @ishpaul777, please review the linked help site PR and confirm it reflects the current behavior. Then mark the linked help site PR |
|
🚀 Deployed to production by https://github.com/roryabraham in version: 9.5.58-3 🚀
Bundle Size Analysis (Sentry): |
|
🤖 Payment issue created: #108923 |






Explanation of Change
Use
DuplicatePolicyWithSettingsand share setting selection, dependencies, and Travel consent with Copy settings. Copy only selected settings; keep new workspace defaults for everything else.Fixed Issues
$ https://github.com/Expensify/Expensify/issues/675336
PROPOSAL: N/A
Tests
Manual platform testing is pending. Automated copy/duplicate and affected regression tests pass.
Offline tests
QA Steps
Agent rules follow-up for https://github.com/Expensify/Web-Expensify/pull/57988 and https://github.com/Expensify/Auth/pull/26320. Run with both backend changes deployed.
PR Author Checklist
### Fixed Issuessection aboveTestssectionOffline stepssectionQA stepssectionAvatar, I verified the components usingAvatarare working as expected)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.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
Android: mWeb Chrome
iOS: Native
iOS: mWeb Safari
MacOS: Chrome / Safari