Skip to content

[Due for payment 2026-08-18] [Due payment 2026-10-17][Release 2] [App] Restrict the report More menu on archived reports #97120

Closed

Description

@rlinoz
  • Add a constant allowlist for archived reports: EXPORT, DOWNLOAD_PDF, PRINT, CHANGE_WORKSPACE, DUPLICATE_EXPENSE, DUPLICATE_REPORT, VIEW_DETAILS.
  • In getSecondaryReportActions, compute isReportArchived and filter the built options down to the allowlist.
  • Exclude accounting exports (EXPORT_TO_INTEGRATION, MARK_AS_EXPORTED) from the export submenu when archived.

Design doc: https://docs.google.com/document/d/1M4-F4gR2GPfjlr3EoKu-8byVBwoYMPexwl6ttYZkb8U/edit
Tracking issue: https://github.com/Expensify/Expensify/issues/646296

Issue OwnerCurrent Issue Owner: @c3024

Activity

  1. self-assigned this
    on Jul 29, 2026
  2. assigned and unassigned on Aug 3, 2026
  3. c3024 commented on Aug 4, 2026

    @c3024
    Contributor

    I think we should extend the archived filter to getReportPrimaryAction (or gate isApproveAction like Pay) with same fix shape as the More-menu allowlist.

  4. rlinoz commented on Aug 4, 2026

    @rlinoz
    ContributorAuthor

    I think we should extend the archived filter to getReportPrimaryAction

    I think this makes sense.

  5. melvin-bot commented on Aug 7, 2026

    @melvin-bot

    @c3024 Uh oh! This issue is overdue by 2 days. Don't forget to update your issues!

  6. c3024 commented on Aug 8, 2026

    @c3024
    Contributor

    Not overdue. PR deployed to staging.

  7. melvin-bot commented on Aug 17, 2026

    @melvin-bot

    @c3024 Eep! 4 days overdue now. Issues have feelings too...

  8. rlinoz commented on Aug 18, 2026

    @rlinoz
    ContributorAuthor

    This has been deployed to prod and is due payment. #97681 (comment)

  9. changed the title [-][Release 2] [App] Restrict the report More menu on archived reports[/-] [+][Due payment 2026-10-17][Release 2] [App] Restrict the report More menu on archived reports[/+] on Aug 18, 2026
  10. self-assigned this
    on Aug 18, 2026
  11. added
    Awaiting PaymentAuto-added when associated PR is deployed to production
    on Aug 18, 2026
  12. changed the title [-][Due payment 2026-10-17][Release 2] [App] Restrict the report More menu on archived reports[/-] [+][Due for payment 2026-08-18] [Due payment 2026-10-17][Release 2] [App] Restrict the report More menu on archived reports[/+] on Aug 18, 2026
  13. melvin-bot commented on Aug 18, 2026

    @melvin-bot

    Triggered auto assignment to @mallenexpensify (Awaiting Payment)

  14. reopened this on Aug 18, 2026
  15. mallenexpensify commented on Aug 18, 2026

    @mallenexpensify
    Contributor

    Payment Summary

    Contributor+: @daledah due $250 via NewDot

    Guessing we don't need a test case here.

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 productionDailyKSv2ReviewingHas a PR in review

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions