Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workspace - WS can't be deleted after Expensify cards was disabled #50684

Open
6 tasks done
IuliiaHerets opened this issue Oct 12, 2024 · 13 comments
Open
6 tasks done

Workspace - WS can't be deleted after Expensify cards was disabled #50684

IuliiaHerets opened this issue Oct 12, 2024 · 13 comments
Assignees
Labels
Bug Something is broken. Auto assigns a BugZero manager. Reviewing Has a PR in review Weekly KSv2

Comments

@IuliiaHerets
Copy link

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.0.48-0
Reproducible in staging?: Y
Reproducible in production?: Y
Issue reported by: Applause Internal Team

Action Performed:

Precondition: new private domain account. Workspace with added expensify card (physical or virtual).

  1. Go to Workspace > Expensify cards
  2. Click on added card > Deactivate card
  3. Go to Workspace > More features
  4. Disable Expensify cards
  5. Delete workspace

Expected Result:

Workspace deleted.

Actual Result:

An error occur during deletion. It says that my ws has expensify card when actually it hasn't.
Error Message: Your company has enabled Expensify Cards. Please reach out to [concierge@expensify.com](mailto:concierge@expensify.com) to have the cards removed. Until then, the Workspace cannot be deleted.

Workaround:

Unknown

Platforms:

  • Android: Native
  • Android: mWeb Chrome
  • iOS: Native
  • iOS: mWeb Safari
  • MacOS: Chrome / Safari
  • MacOS: Desktop

Screenshots/Videos

Bug6632169_1728675517309.delete_expensify_card.mp4

View all open jobs on GitHub

@IuliiaHerets IuliiaHerets added Daily KSv2 Bug Something is broken. Auto assigns a BugZero manager. labels Oct 12, 2024
Copy link

melvin-bot bot commented Oct 12, 2024

Triggered auto assignment to @joekaufmanexpensify (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.

@IuliiaHerets
Copy link
Author

We think that this bug might be related to #wave-collect - Release 2

@IuliiaHerets
Copy link
Author

@joekaufmanexpensify FYI I haven't added the External label as I wasn't 100% sure about this issue. Please take a look and add the label if you agree it's a bug and can be handled by external contributors

@melvin-bot melvin-bot bot added the Overdue label Oct 14, 2024
@joekaufmanexpensify
Copy link
Contributor

Not overdue. Will triage tomorrow

@melvin-bot melvin-bot bot removed the Overdue label Oct 14, 2024
@joekaufmanexpensify
Copy link
Contributor

Discussing here.

@mountiny
Copy link
Contributor

We would like the modal to looks like this
image

@melvin-bot melvin-bot bot added the Overdue label Oct 17, 2024
@joekaufmanexpensify
Copy link
Contributor

joekaufmanexpensify commented Oct 17, 2024

@mountiny the more I think about it, I kinda wonder if this one is worth prioritizing right now. Deleting a workspace is in general such a rare action to take. Given this works now the same way it does in OldDot (which is totally fine), I wonder if it's worth just leaving as is for now until we experience a problem from it?

As this isn't really a bug now, and I wonder if it's worth investing resources in changing this design before really anyone is using this feature. What do you think?

@melvin-bot melvin-bot bot removed the Overdue label Oct 17, 2024
@mountiny
Copy link
Contributor

@joekaufmanexpensify I think its still just good to knock it out now, I think its a rare case, but when it happens its annoying, especially given its much more easier now to run into this case than then we required verified domain

@mountiny
Copy link
Contributor

But I think we can make it weekly and maybe @nkuoch would be up for helping with this one

@melvin-bot melvin-bot bot added the Overdue label Oct 21, 2024
@joekaufmanexpensify
Copy link
Contributor

Fair enough, sounds good. In addition to the deleting workspace case though, there's one other case we should align on. According to the design doc, the user should not be able to toggle off Expensify Card in More features when the workspace is provisioned at all. But in the above video, toggling this off is possible after terminating the workspace's only assigned card.

I'm thinking we intentionally allowed this when the workspace is provisioned (but there are no active cards). Is that right, @mountiny?

@melvin-bot melvin-bot bot removed the Overdue label Oct 21, 2024
@nkuoch nkuoch self-assigned this Oct 21, 2024
@nkuoch nkuoch added Weekly KSv2 and removed Daily KSv2 labels Oct 21, 2024
Copy link

melvin-bot bot commented Oct 26, 2024

@nkuoch @joekaufmanexpensify this issue was created 2 weeks ago. Are we close to a solution? Let's make sure we're treating this as a top priority. Don't hesitate to create a thread in #expensify-open-source to align faster in real time. Thanks!

@joekaufmanexpensify joekaufmanexpensify added the Reviewing Has a PR in review label Oct 28, 2024
@joekaufmanexpensify
Copy link
Contributor

PRs in review!

@nkuoch
Copy link
Contributor

nkuoch commented Oct 28, 2024

Seems like toggling off doesn't actually do anything backend side? https://github.com/Expensify/Web-Expensify/pull/28072/files#diff-fd75745654fb72974da44d75c3835ee837a6e644a05a6ffaae48556924242946R877

cc @mountiny do you know if an issue currently exists for that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something is broken. Auto assigns a BugZero manager. Reviewing Has a PR in review Weekly KSv2
Projects
Status: No status
Development

No branches or pull requests

4 participants