Skip to content

[Bulk workspace edits] Page 2 (Select features) [4] #88671

Closed

Description

@francoisl

Task

Build pages/workspace/copyPolicySettings/CopyPolicySettingsSelectFeaturesPage.tsx, the second RHP step where the admin picks which settings to copy.

Reuse the feature-list pattern from WorkspaceDuplicateSelectFeaturesForm with these adjustments:

  1. Disabled items based on accounting compatibility. Categories, Tags, Reports, and Taxes must be disabled when any selected target workspace has a mismatched (or missing) accounting connection relative to the source. Port the companyID comparison logic from auth/lib/Policy.cpp (lines ~5907–5929 in the design doc link) to a new TypeScript utility. Test it with all the examples called out in the doc (source connected to nothing vs. target connected to NetSuite, QBO vs. nothing, NetSuite Acme Corp vs. NetSuite ExpensivePie, etc.).
  2. Force-enable logic for Accounting. When "Accounting" is selected, Categories, Tags, Reports, and Taxes flip to isSelected: true, isDisabled: true and cannot be unchecked.
  3. Workflows-without-members warning. If "Workflows" is selected but "Members" is not, use showConfirmModal() on Next to warn that Submission and Payment settings are being copied without members.
  4. Persist + navigate. On Next, call setCopyPolicySettingsData({parts: selectedItems}) and route to Confirm.

Add tests for the accounting companyID utility (at minimum) covering the scenarios in the design doc.

Relevant design doc section: "[App] Page 2: Select Settings".

Depends on Issues 1 and 2.

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. self-assigned this
    on Apr 24, 2026
  2. added
    Internal
    on Apr 24, 2026
  3. self-assigned this
    on May 11, 2026
  4. added
    Reviewing
    Weekly
    and removed
    Weekly
    on May 20, 2026
  5. self-assigned this
    on May 26, 2026
  6. truph01 commented on May 27, 2026

    @truph01
    Contributor

    @francoisl, could you assign me to this issue to keep track payment since I worked on #90220?

  7. melvin-bot commented on May 27, 2026

    @melvin-bot

    ⚠️ Looks like this issue was linked to a Deploy Blocker here

    If you are the assigned CME please investigate whether the linked PR caused a regression and leave a comment with the results.

    If a regression has occurred and you are the assigned CM follow the instructions here.

    If this regression could have been avoided please consider also proposing a recommendation to the PR checklist so that we can avoid it in the future.

  8. jponikarchuk commented on May 27, 2026

    @jponikarchuk

    Deploy Blocker #91791 was identified to be related to the PR #90220 that attempted to fix this issue.

  9. 28 remaining items

  10. added
    Weekly
    and removed
    Daily
    on Jun 11, 2026
  11. ishpaul777 commented on Jun 18, 2026

    @ishpaul777
    Contributor

    Whats left here? Can we close

  12. truph01 commented on Aug 10, 2026

    @truph01
    Contributor

    @mallenexpensify Could you handle the payment since I worked on this issue?

  13. truph01 commented on Aug 14, 2026

    @truph01
    Contributor

    Friendly bump @mallenexpensify

  14. truph01 commented on Aug 14, 2026

    @truph01
    Contributor

    Deploy Blocker #91791 was identified to be related to the PR #90220 that attempted to fix this issue.

    Based on #91791 (comment), it is expected.

    Deploy Blocker #91792 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout. The feature was then addressed via #91241

    Deploy Blocker #91793 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout. The feature was then addressed via #91241

    Deploy Blocker #91805 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout. The feature was then addressed via #91241

    Deploy Blocker #91821 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout. The feature was then addressed via #91241

    Deploy Blocker #91825 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout. The feature was then addressed via #91241

    Deploy Blocker #91827 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout. The feature was then addressed via #91241

    Deploy Blocker #91830 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout. The feature was then addressed via #91241

    Deploy Blocker #91833 was identified to be related to the PR #90220 that attempted to fix this issue.

    We moved that feature to behind beta via #91819 so the feature remains hidden until it's ready for wider rollout.

  15. mallenexpensify commented on Aug 19, 2026

    @mallenexpensify
    Contributor

    @MelvinBot who is due payment here and what amounts?

  16. MelvinBot commented on Aug 19, 2026

    @MelvinBot
    Contributor

    Only one person is due payment here: truph01 — $250 via NewDot (Reviewer). fedirjh was the Contributor but is a contractor, so requires no payment.

    This matches the Payment Summary and the deploy comment for PR #90220.

    Details
    • Contributor: fedirjh — does not require payment (Contractor)
    • Reviewer: truph01 — owed $250 via NewDot Manual Requests

    One thing worth confirming before paying: several deploy blockers (#91791, #91792, #91793, #91805, #91821, #91825, #91827, #91830, #91833) were linked to PR #90220. truph01 addressed each of them — one was expected behavior and the rest were resolved by gating the feature behind a beta (#91819) and follow-up PR #91241. So no regression discount appears warranted, but that's the item on the BugZero checklist ("I have applied any discounts due to bugs/regressions introduced by this PR") to sign off on.


    view run

  17. mallenexpensify commented on Aug 24, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor+: @truph01 due $250 via NewDot

  18. garrettmknight commented on Oct 12, 2026

    @garrettmknight
    Contributor

    $250 approved for @truph01

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

InternalTaskWeekly

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions