Skip to content

[Due for payment 2026-06-08] Create ExportDownloadStatusModal component and shared translation strings #90296

Closed

Description

@mollfpr

Context

Shared modal component for the Bulk Report PDF Export and Improve Report Export
Realtime Delivery projects. Built with 4 states covering the CSV flow. Structured
so the PDF partial failure state slots in without restructuring. No user-visible
changes — not wired anywhere yet.

Mockup Image Image Image Image

Figma: https://www.figma.com/design/efrX2KvHEpMbkcjBki9DUH/Wave-8--Integration-Export-Errors?node-id=576-13571&t=aOe86IQoNs5jwavE-1

Depends on

src/components/ExportDownloadStatusModal.tsx (new file)

Props: exportID, isVisible, onClose, failedBody

Behavior:

  • Subscribes to ONYXKEYS.COLLECTION.EXPORT_DOWNLOAD + exportID
  • Uses useRef to retain last known export data after Onyx key is cleared
  • Auto-triggers fileDownload(downloadURL) on transition to ready
  • Non-dismissable during preparing state — no close button, backdrop
    press is a no-op, mobile swipe-to-dismiss disabled

Modal states:

State Title Body Buttons
preparing "Preparing download..." "You can either wait..." "Send me the file when it's ready"
shouldSendFromConcierge: true "You bet!" "Concierge will send you a message..." "Go to Concierge", "Dismiss"
ready "Your file is ready!" "If it didn't automatically download..." "Download file", "Close"
failed "Export failed" failedBody prop "Close"

failedBody is passed as a prop — PDF and CSV use different copy.
"Go to Concierge" calls onClose() then navigateToConciergeChat().

src/languages/en.ts (and other translation files)

Key Value
exportDownload.preparingTitle "Preparing download..."
exportDownload.preparingBody "You can either wait for the download to finish or Concierge can send it to you via chat."
exportDownload.sendFromConcierge "Send me the file when it's ready"
exportDownload.conciergeTitle "You bet!"
exportDownload.conciergeBody "Concierge will send you a message when the file is ready."
exportDownload.goToConcierge "Go to Concierge"
exportDownload.dismiss "Dismiss"
exportDownload.readyTitle "Your file is ready!"
exportDownload.readyBody "If it didn't automatically download, use the button below."
exportDownload.downloadFile "Download file"
exportDownload.failedTitle "Export failed"
exportDownload.close "Close"

Testing

Unit tests in tests/unit/ExportDownloadStatusModalTest.tsx:

  • Renders preparing state with spinner and Send button
  • Is non-dismissable during preparing state (backdrop + swipe-down)
  • Transitions to Concierge state on button click
  • Auto-downloads on ready state transition
  • Shows failed state with correct failedBody prop
  • Retains last state when Onyx key becomes null
  • "Go to Concierge" navigates and closes
  • Close button calls clearExportDownload
Issue OwnerCurrent Issue Owner: @mallenexpensify

Activity

  1. self-assigned this
    on May 12, 2026
  2. mollfpr commented on May 12, 2026

    @mollfpr
    ContributorAuthor

    @daledah as reviewer and @truph01 will implementing 🙌

  3. melvin-bot commented on May 15, 2026

    @melvin-bot

    @truph01 Whoops! This issue is 2 days overdue. Let's get this updated quick!

  4. mollfpr commented on May 18, 2026

    @mollfpr
    ContributorAuthor

    Not overdue. The dependencies PR is actively being worked on.

  5. melvin-bot commented on May 19, 2026

    @melvin-bot

    @truph01 Still overdue 6 days?! Let's take care of this!

  6. melvin-bot commented on May 21, 2026

    @melvin-bot

    @truph01 8 days overdue is a lot. Should this be a Weekly issue? If so, feel free to change it!

  7. mollfpr commented on May 22, 2026

    @mollfpr
    ContributorAuthor

    @truph01 Any ETA for the PR? Thanks!

  8. 19 remaining items

  9. melvin-bot commented on Jun 7, 2026

    @melvin-bot

    Payment Summary

    Upwork Job

    • Reviewer: @truph01 owed $250 via NewDot
    • Reviewer: @daledah owed $250 via NewDot

    BugZero Checklist (@mallenexpensify)

    • I have verified the correct assignees and roles are listed above and updated the necessary manual offers
    • I have verified that there are no duplicate or incorrect contracts on Upwork for this job (https://www.upwork.com/ab/applicants//hired)
    • I have verified the PR was not reverted
    • I have applied any discounts due to bugs/regressions introduced by this PR
    • I have paid out the Upwork contracts or cancelled the ones that are incorrect
    • I have verified the payment summary above is correct
  10. mallenexpensify commented on Jun 8, 2026

    @mallenexpensify
    Contributor

    @truph01 @mollfpr @daledah how much is due? The link above is to a different issue/PR (but.. I think part of the same project) . It's either

    1. $250 each
    2. $125 each cuz no tests were needed.

    Thx

  11. melvin-bot commented on Jun 11, 2026

    @melvin-bot

    @mallenexpensify Whoops! This issue is 2 days overdue. Let's get this updated quick!

  12. truph01 commented on Jun 12, 2026

    @truph01
    Contributor

    @mallenexpensify I think it should be $250 each for the same reason mentioned here:

    #90295 (comment)

  13. melvin-bot commented on Jun 15, 2026

    @melvin-bot

    @mallenexpensify 6 days overdue. This is scarier than being forced to listen to Vogon poetry!

  14. melvin-bot commented on Jun 17, 2026

    @melvin-bot

    @mallenexpensify Now this issue is 8 days overdue. Are you sure this should be a Daily? Feel free to change it!

  15. mallenexpensify commented on Jun 18, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor: @truph01 due $250 via NewDot
    Contributor+: @daledah due $250 via NewDot

  16. quinthar commented on Jun 29, 2026

    @quinthar
    Contributor

    Approved $250 to @daledah

  17. garrettmknight commented on Aug 10, 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

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions