mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
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:
Generated
+1
@@ -23,6 +23,7 @@ export enum AppSharingLevel {
|
||||
}
|
||||
|
||||
export enum AppOpenIn {
|
||||
/** @deprecated */
|
||||
WINDOW = 0,
|
||||
SLIM_WINDOW = 1,
|
||||
TAB = 2,
|
||||
|
||||
Generated
+2
-6
@@ -3018,13 +3018,9 @@ export const WorkspaceAppHealths: WorkspaceAppHealth[] = [
|
||||
];
|
||||
|
||||
// From codersdk/workspaceapps.go
|
||||
export type WorkspaceAppOpenIn = "slim-window" | "tab" | "window";
|
||||
export type WorkspaceAppOpenIn = "slim-window" | "tab";
|
||||
|
||||
export const WorkspaceAppOpenIns: WorkspaceAppOpenIn[] = [
|
||||
"slim-window",
|
||||
"tab",
|
||||
"window",
|
||||
];
|
||||
export const WorkspaceAppOpenIns: WorkspaceAppOpenIn[] = ["slim-window", "tab"];
|
||||
|
||||
// From codersdk/workspaceapps.go
|
||||
export type WorkspaceAppSharingLevel = "authenticated" | "owner" | "public";
|
||||
|
||||
Reference in New Issue
Block a user