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

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

Metadata

Metadata

Labels

Awaiting PaymentAuto-added when associated PR is deployed to productionBugSomething is broken. Auto assigns a BugZero manager.DailyKSv2ExternalAdded to denote the issue can be worked on by a contributor

Type

No type

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions