chore(coderd): remove the window option in open_in (#16104)

As we worked on adding a `open_in` parameter for workspace_apps - we
initially created three options :
- window
- slim_window
- tab

After further investigation, `window` should not be used and has to be
removed.

ℹ️ I decided to remove the option instead of deprecating it as we've not
created any release nor documented the feature. Can be discussed.
This commit is contained in:
Vincent Vielle
2025-01-15 15:26:31 +01:00
committed by GitHub
parent b4fde801f5
commit a160e8f06c
12 changed files with 27 additions and 41 deletions
-2
View File
@@ -38,13 +38,11 @@ type WorkspaceAppOpenIn string
const (
WorkspaceAppOpenInSlimWindow WorkspaceAppOpenIn = "slim-window"
WorkspaceAppOpenInWindow WorkspaceAppOpenIn = "window"
WorkspaceAppOpenInTab WorkspaceAppOpenIn = "tab"
)
var MapWorkspaceAppOpenIns = map[WorkspaceAppOpenIn]struct{}{
WorkspaceAppOpenInSlimWindow: {},
WorkspaceAppOpenInWindow: {},
WorkspaceAppOpenInTab: {},
}