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

fix: workspace hard delete nits #202

Merged
merged 2 commits into from
Jan 24, 2025
Merged

fix: workspace hard delete nits #202

merged 2 commits into from
Jan 24, 2025

Conversation

alex-mcgovern
Copy link
Collaborator

closes #192

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@coveralls
Copy link
Collaborator

coveralls commented Jan 24, 2025

Pull Request Test Coverage Report for Build 12953637666

Details

  • 10 of 10 (100.0%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage increased (+0.4%) to 71.466%

Totals Coverage Status
Change from base Build 12953634794: 0.4%
Covered Lines: 735
Relevant Lines: 925

💛 - Coveralls

@alex-mcgovern alex-mcgovern enabled auto-merge (squash) January 24, 2025 16:32
return "Cannot archive the active workspace";
}
if (workspaceName === "default") {
return "Cannot archive the default workspace";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess we can use the BE error message here, cause it is semantically correct

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The BE error is Cannot delete default workspace which is actually a remnant, and I was about to open a PR to fix separate to this.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right 🤔 I don't know why I remember that it was correct

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Anyways we can update the BE message too, but I agree on this change for now

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alex-mcgovern alex-mcgovern merged commit 9129a5b into main Jan 24, 2025
8 checks passed
@alex-mcgovern alex-mcgovern deleted the fix/hard-delete-nits branch January 24, 2025 16:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

nits with workspace hard delete
3 participants