Skip to content
This repository was archived by the owner on Jul 8, 2025. It is now read-only.

fix: workspace hard delete nits - #202

Merged
lxmcgvrn merged 2 commits into
mainfrom
fix/hard-delete-nits
Jan 24, 2025
Merged

fix: workspace hard delete nits#202
lxmcgvrn merged 2 commits into
mainfrom
fix/hard-delete-nits

Conversation

@lxmcgvrn

Copy link
Copy Markdown
Contributor

closes#192

@coveralls

coveralls commented Jan 24, 2025

Copy link
Copy Markdown
Collaborator

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%

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

💛 - Coveralls

@lxmcgvrn
lxmcgvrn 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
Copy Markdown
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
Copy Markdown
ContributorAuthor

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
Copy Markdown
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
Copy Markdown
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
Copy Markdown
ContributorAuthor

Choose a reason for hiding this comment

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

@lxmcgvrn
lxmcgvrn merged commit 9129a5b into mainJan 24, 2025
@lxmcgvrn
lxmcgvrn deleted the fix/hard-delete-nits branch January 24, 2025 16:38
@stacklokbotstacklokbot mentioned this pull request Jan 24, 2025
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

nits with workspace hard delete

3 participants

@lxmcgvrn@coveralls@peppescg