Skip to content

fix: hide Create Workspace button for deleted workspaces#41

Closed
cdr-robot wants to merge 1 commit into
mainfrom
fix-hide-create-workspace-deleted
Closed

fix: hide Create Workspace button for deleted workspaces#41
cdr-robot wants to merge 1 commit into
mainfrom
fix-hide-create-workspace-deleted

Conversation

@cdr-robot
Copy link
Copy Markdown
Contributor

Summary

  • Fixes issue bug: hide *Create Workspace* button for deleted workspaces #18 where Create Workspace button shows when filter:deleted:true is applied
  • Hides the button on the main page when the filter is applied
  • Filters out deleted templates in the template dropdown
  • Adds TypeScript module augmentation for the deleted property

Test plan

  1. Apply the filter:deleted:true filter on the workspaces page
  2. Verify that the Create Workspace button doesn't appear
  3. Verify that deleted templates don't appear in the templates dropdown when creating workspaces

Workspace URL: https://demo.coder.com/ben/issue-18

Fixes issue where the Create Workspace button was showing when filter:deleted:true was applied.
- Hide the button on the main page when the filter is applied
- Filter out deleted templates in the template dropdown
- Add TypeScript module augmentation for the deleted property
@github-actions github-actions Bot added the stale label May 3, 2025
@github-actions github-actions Bot closed this May 6, 2025
@github-actions github-actions Bot deleted the fix-hide-create-workspace-deleted branch November 1, 2025 01:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant