Skip to content

[Due for payment 2025-04-18] Threads - 'Download as PDF" option is be shown for DM thread, room and workspace chat #59873

Closed

Description

@jponikarchuk

If you haven’t already, check out our contributing guidelines for onboarding and email contributors@expensify.com to request to join our Slack channel!


Version Number: 9.1.25-0
Reproducible in staging?: Yes
Reproducible in production?: Unable to check, new feature
If this was caught on HybridApp, is this reproducible on New Expensify Standalone?: N/A
If this was caught during regression testing, add the test name, ID and link from TestRail: Exp
Email or phone of affected tester (no customers): applausetester+sdsoidsj@applause.expensifail.com
Issue reported by: Applause Internal Team
Device used: Mac 15.3 / Chrome
App Component: Chat Report View

Action Performed:

Precondition:

  • Log in with Expensifail account.
  1. Go to staging.new.expensify.com
  2. Go to 1:1 DM.
  3. Send a message.
  4. Right click on the message > Reply in thread.
  5. Click on the thread header.

Expected Result:

'Download as PDF" option will not be shown for DM thread.

Actual Result:

'Download as PDF" option is be shown for DM thread.
When trying to download the PDF, it fails.

The download PDF option is also seen in room details page and workspace chat.

Workaround:

Unknown

Platforms:

  • Android: Standalone
  • Android: HybridApp
  • Android: mWeb Chrome
  • iOS: Standalone
  • iOS: HybridApp
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

1.mp4

View all open jobs on GitHub

Issue OwnerCurrent Issue Owner: @RachCHopkins

Activity

  1. added
    Bug
    DeployBlockerCash
    on Apr 9, 2025
  2. melvin-bot commented on Apr 9, 2025

    @melvin-bot

    Triggered auto assignment to @RachCHopkins (Bug), see https://stackoverflow.com/c/expensify/questions/14418 for more details. Please add this bug to a GH project, as outlined in the SO.

  3. melvin-bot commented on Apr 9, 2025

    @melvin-bot

    Triggered auto assignment to @mollfpr (DeployBlockerCash), see https://stackoverflowteams.com/c/expensify/questions/9980/ for more details.

  4. melvin-bot commented on Apr 9, 2025

    @melvin-bot

    💬 A slack conversation has been started in #expensify-open-source

  5. github-actions commented on Apr 9, 2025

    @github-actions
    Contributor

    👋 Friendly reminder that deploy blockers are time-sensitive ⏱ issues! Check out the open `StagingDeployCash` deploy checklist to see the list of PRs included in this release, then work quickly to do one of the following:

    1. Identify the pull request that introduced this issue and revert it.
    2. Find someone who can quickly fix the issue.
    3. Fix the issue yourself.
  6. nkdengineer commented on Apr 9, 2025

    @nkdengineer
    Contributor

    Proposal

    Please re-state the problem that we are trying to solve in this issue.

    'Download as PDF" option is be shown for DM thread.
    When trying to download the PDF, it fails.

    What is the root cause of that problem?

    This comes from https://github.com/Expensify/App/pull/58084/files#diff-409b0e2fb439856e9897b808014031ce244a427d116ed30f37a2e0117599adc4L558

    We removed the check caseID === CASES.MONEY_REPORT then the Download as PDF option is shown for all reports if the beta is enabled.

    if (canUsePDFExport) {

    What changes do you think we should make in order to solve the problem?

    We should add the check the report is an expense report or not back

    if (canUsePDFExport && caseID === CASES.MONEY_REPORT) {
    

    if (canUsePDFExport) {

    What specific scenarios should we cover in automated tests to prevent reintroducing this issue in the future?

    None

    What alternative solutions did you explore? (Optional)

    Reminder: Please use plain English, be brief and avoid jargon. Feel free to use images, charts or pseudo-code if necessary. Do not post large multi-line diffs or write walls of text. Do not create PRs unless you have been hired for this job.

  7. mananjadhav commented on Apr 9, 2025

    @mananjadhav
    Collaborator

    @jnowakow looks like from our PR.

  8. jnowakow commented on Apr 9, 2025

    @jnowakow
    Contributor

    @mananjadhav yup :/ will take a look

  9. 30 remaining items

  10. removed
    Reviewing
    on Apr 11, 2025
  11. melvin-bot commented on Apr 11, 2025

    @melvin-bot

    Reviewing label has been removed, please complete the "BugZero Checklist".

  12. melvin-bot commented on Apr 11, 2025

    @melvin-bot

    The solution for this issue has been 🚀 deployed to production 🚀 in version 9.1.26-10 and is now subject to a 7-day regression period 📆. Here is the list of pull requests that resolve this issue:

    If no regressions arise, payment will be issued on 2025-04-18. 🎊

    For reference, here are some details about the assignees on this issue:

    • @mananjadhav requires payment through NewDot Manual Requests
    • @nkdengineer requires payment (Needs manual offer from BZ)
  13. melvin-bot commented on Apr 11, 2025

    @melvin-bot

    @mananjadhav @RachCHopkins @mananjadhav The PR fixing this issue has been merged! The following checklist (instructions) will need to be completed before the issue can be closed. Please copy/paste the BugZero Checklist from here into a new comment on this GH and complete it. If you have the K2 extension, you can simply click: [this button]

  14. added
    Reviewing
    Weekly
    and removed
    Weekly
    on Apr 15, 2025
  15. RachCHopkins commented on Apr 16, 2025

    @RachCHopkins
    Contributor

    @mananjadhav do we need a checklist here? Also, I assume there is no payment for you.

  16. mananjadhav commented on Apr 16, 2025

    @mananjadhav
    Collaborator

    Yeah looks like no payment. The PR was reverted, so no checklist as well.

  17. RachCHopkins commented on Apr 16, 2025

    @RachCHopkins
    Contributor

    @nkdengineer I have sent you an offer!

  18. RachCHopkins commented on Apr 16, 2025

    @RachCHopkins
    Contributor

    Payment Summary:

    Upwork job here

  19. added
    Daily
    and removed
    Weekly
    on Apr 17, 2025
  20. RachCHopkins commented on Apr 17, 2025

    @RachCHopkins
    Contributor

    Contributor has been paid, the contract has been completed, and the Upwork post has been closed.

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyEngineeringReviewing

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions