Skip to content

[Due for payment 2025-10-27] [Due for payment 2025-10-23] [$250] Update the error pattern for attempting to delete the last workspace when not allowed because of an annual subscription #63113

Closed
2 of 2 issues completed

Description

@trjExpensify

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: v9.1.54-2
Reproducible in staging?: Y
Reproducible in production?: Y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: @dylanexpensify
Slack conversation (hyperlinked to channel name): #migrate

Action Performed:

Pre-requisites:

  • User owns a workspace with three purchases and an annual subscription that has not expired.
  1. Go to the workspaces page
  2. Click on the kebab menu
  3. Click Delete

OR

  1. Go to the workspace settings > Overview
  2. Click Delete

Expected Result:

Online

  1. User clicks Delete
  2. A centered alert modal appears:
Delete workspace

You can’t delete the workspace until the end of the annual subscription term.

[Got it] 

Image


Offline

  1. User clicks Delete
  2. The workspace is optimistically deleted (i.e appears at 50% opacity & strikethrough on the Workspaces page)
  3. User comes back online
  4. The RBR dismissible message is added in-line that reads: "You can’t delete the workspace until the end of the annual subscription term."
  5. User dismisses the error message and it disappears

Image

Image

Actual Result:

We show this odd message in the LHN of the workspace settings that 1) doesn't communicate the problem and 2) instructs the user to go somewhere to take an action they can't take.

Image

Workaround:

None

Platforms:

Select the officially supported platforms where the issue was reproduced:

  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop
Platforms Tested: On which of our officially supported platforms was this issue tested:
  • Android: App
  • Android: mWeb Chrome
  • iOS: App
  • iOS: mWeb Safari
  • iOS: mWeb Chrome
  • Windows: Chrome
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

In-line above

View all open jobs on GitHub

Upwork Automation - Do Not Edit
  • Upwork Job URL: https://www.upwork.com/jobs/~021930668092616939219
  • Upwork Job ID: 1930668092616939219
  • Last Price Increase: 2025-06-05
  • Automatic offers:
    • dominictb | Contributor | 107576142
Issue OwnerCurrent Issue Owner: @
Issue OwnerCurrent Issue Owner: @trjExpensify

Sub-issues

Sub-issues

2 of 2 Issues completed
Loading 2 sub-issues

Activity

  1. added
    Daily
    Planning
    Bug
    on May 30, 2025
  2. melvin-bot commented on May 30, 2025

    @melvin-bot

    Current assignee @trjExpensify is eligible for the Bug assigner, not assigning anyone new.

  3. blimpich commented on May 30, 2025

    @blimpich
    Contributor

    Created a sub-issue to handle BE changes needed here. Working through that.

  4. blimpich commented on May 31, 2025

    @blimpich
    Contributor

    For the contributor and C+ who picks this up you'll need access to my ngrok. Credentials here:

    NEW_EXPENSIFY_URL=https:/
    NEW_EXPENSIFY_URL=https://new.expensify.com/
    SECURE_EXPENSIFY_URL=https://secure.expensify.com.dev/
    EXPENSIFY_URL=https://www.expensify.com.dev/
    EXPENSIFY_PARTNER_NAME=chat-expensify-com
    EXPENSIFY_PARTNER_PASSWORD=e21965746fd75f82bb66
    PUSHER_APP_KEY=ac6d22b891daae55283a
    SECURE_NGROK_URL=https://secure-expensify-blimpich.ngrok.io/
    NGROK_URL=https://expensify-blimpich.ngrok.io/
    USE_NGROK=true
    USE_WEB_PROXY=false
    USE_WDYR=false
    CAPTURE_METRICS=false
    ONYX_METRICS=false
    
    PUSHER_DEV_SUFFIX=-def525f225124b848df43bee41aa4e7c
    

    And you'll want to log into the user with the email test1@downgrade.com. Magic code with be 000000. That user is set up with the right parameters so that we can recreate this error.

  5. blimpich commented on May 31, 2025

    @blimpich
    Contributor

    @trjExpensify I think for this one we throw it to #expert-contributors and see who wants it, proposals don't really make sense here since it's just adding a modal. Nothing really to debug. Plus they'll be more familiar with how to use my ngrok to connect to my local db and recreate the error. What do you think?

  6. trjExpensify commented on Jun 2, 2025

    @trjExpensify
    ContributorAuthor

    Nice yeah, asked yah here about a good candidate for this.

  7. 73 remaining items

  8. trjExpensify commented on Nov 4, 2025

    @trjExpensify
    ContributorAuthor

    Bump on the checklist, @shubham1206agra.

  9. shubham1206agra commented on Nov 4, 2025

    @shubham1206agra
    Contributor

    @trjExpensify The steps are covered in #73440 (comment).

  10. trjExpensify commented on Nov 5, 2025

    @trjExpensify
    ContributorAuthor

    Okay, so we'll add a regression test via the other issue.

    Payment summary as follows:

    Go ahead and request!

  11. garrettmknight commented on Dec 1, 2025

    @garrettmknight
    Contributor

    $250 approved for @shubham1206agra

  12. dominictb commented on Apr 21, 2026

    @dominictb
    Contributor

    @trjExpensify Hi, I should be paid via Upwork because this is before my NewDot eligibility date. Can you send me the offer?

  13. added
    Daily
    and removed
    Weekly
    on Apr 21, 2026
  14. trjExpensify commented on Apr 24, 2026

    @trjExpensify
    ContributorAuthor

    Offer sent, and amended the payment summary.

  15. trjExpensify commented on Apr 24, 2026

    @trjExpensify
    ContributorAuthor

    Paid, closing.

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

Metadata

Metadata

Labels

Awaiting PaymentBugDailyExternal

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions