Skip to content

[Due for payment 2026-06-16] [Bulk workspace edits] Progress modal (in-progress, notify-requested, complete states) [6] #88673

Description

@francoisl

Task

Build pages/workspace/copyPolicySettings/CopyPolicySettingsProgressModal.tsx, rendered from WorkspacesListPage.tsx. Driven by the currentStep field on the COPY_POLICY_SETTINGS Onyx value:

  • 'loading'State 1: Copy in progress. Message explains the copy is running and offers a "Let me know when it's done" button. Clicking it calls requestCopyPolicySettingsNotification() and transitions to State 1b (rendered in the same modal — the design doc allows either a transition or a second modal, pick whichever is cleaner in the codebase).
  • State 1b (after notification requested): shows "Concierge will let you know" with two buttons — "Go to Concierge" navigates to ONYXKEYS.CONCIERGE_REPORT_ID, "Dismiss" clears the modal state.
  • 'complete'State 2: "All Set! Your workspace settings have been copied." Single "Done" button that calls clearCopyPolicySettings().
  • undefined → modal is hidden.

The currentStep transitions to 'complete' via the backend updating the bulkCopySettings NVP, which will flow through Onyx once the backend pieces (see backend Issues 1 and 3) are in place.

Relevant design doc section: "[App] Progress modal".

Depends on Issues 1 and 2.

Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionDailyKSv2InternalRequires API changes or must be handled by Expensify staffTask

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions