Skip to content

Fix: Filter out deprecated templates in workspace creation dropdown#38

Closed
cdr-robot wants to merge 1 commit into
mainfrom
fix/filter-deprecated-templates
Closed

Fix: Filter out deprecated templates in workspace creation dropdown#38
cdr-robot wants to merge 1 commit into
mainfrom
fix/filter-deprecated-templates

Conversation

@cdr-robot
Copy link
Copy Markdown
Contributor

Summary

  • Filter out deprecated templates in the 'New Workspace' dropdown
  • Keep deprecated templates in the filter menu for existing workspaces

Test plan

  1. Mark a template as deprecated
  2. Verify it doesn't appear in the 'New Workspace' dropdown
  3. Verify it still appears in the template filter dropdown for existing workspaces

Fixes #20

Workspace is available at: https://demo.coder.com/ben/issue-20

Fixes the issue where deprecated templates were showing up in the 'New Workspace' dropdown.
Templates are now filtered out based on the deprecated flag in the workspace page component.
The template filter menu still includes deprecated templates for filtering existing workspaces.

Fixes github.com//issues/20
@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/filter-deprecated-templates 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.

bug: Coder recommends deprecated templates to users

1 participant