mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
feat(site): connect open_in parameter (#16036)
Second step to resolve [open_in issue](https://github.com/coder/terraform-provider-coder/issues/297) This PR improves the way the open_in parameter is forwarded across the code, changing the last `string` to const everywhere. Also make sure it is available and forwarded up to the `CreateLink` component.
This commit is contained in:
Generated
+23
-7
@@ -6872,7 +6872,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"hidden": true,
|
||||
"icon": "string",
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"open_in": "string",
|
||||
"open_in": "slim-window",
|
||||
"sharing_level": "owner",
|
||||
"slug": "string",
|
||||
"subdomain": true,
|
||||
@@ -7060,7 +7060,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"hidden": true,
|
||||
"icon": "string",
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"open_in": "string",
|
||||
"open_in": "slim-window",
|
||||
"sharing_level": "owner",
|
||||
"slug": "string",
|
||||
"subdomain": true,
|
||||
@@ -7465,7 +7465,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"hidden": true,
|
||||
"icon": "string",
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"open_in": "string",
|
||||
"open_in": "slim-window",
|
||||
"sharing_level": "owner",
|
||||
"slug": "string",
|
||||
"subdomain": true,
|
||||
@@ -7486,7 +7486,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
| `hidden` | boolean | false | | |
|
||||
| `icon` | string | false | | Icon is a relative path or external URL that specifies an icon to be displayed in the dashboard. |
|
||||
| `id` | string | false | | |
|
||||
| `open_in` | string | false | | |
|
||||
| `open_in` | [codersdk.WorkspaceAppOpenIn](#codersdkworkspaceappopenin) | false | | |
|
||||
| `sharing_level` | [codersdk.WorkspaceAppSharingLevel](#codersdkworkspaceappsharinglevel) | false | | |
|
||||
| `slug` | string | false | | Slug is a unique identifier within the agent. |
|
||||
| `subdomain` | boolean | false | | Subdomain denotes whether the app should be accessed via a path on the `coder server` or via a hostname-based dev URL. If this is set to true and there is no app wildcard configured on the server, the app will not be accessible in the UI. |
|
||||
@@ -7518,6 +7518,22 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
| `healthy` |
|
||||
| `unhealthy` |
|
||||
|
||||
## codersdk.WorkspaceAppOpenIn
|
||||
|
||||
```json
|
||||
"slim-window"
|
||||
```
|
||||
|
||||
### Properties
|
||||
|
||||
#### Enumerated Values
|
||||
|
||||
| Value |
|
||||
|---------------|
|
||||
| `slim-window` |
|
||||
| `window` |
|
||||
| `tab` |
|
||||
|
||||
## codersdk.WorkspaceAppSharingLevel
|
||||
|
||||
```json
|
||||
@@ -7589,7 +7605,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"hidden": true,
|
||||
"icon": "string",
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"open_in": "string",
|
||||
"open_in": "slim-window",
|
||||
"sharing_level": "owner",
|
||||
"slug": "string",
|
||||
"subdomain": true,
|
||||
@@ -7989,7 +8005,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"hidden": true,
|
||||
"icon": "string",
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"open_in": "string",
|
||||
"open_in": "slim-window",
|
||||
"sharing_level": "owner",
|
||||
"slug": "string",
|
||||
"subdomain": true,
|
||||
@@ -8239,7 +8255,7 @@ If the schedule is empty, the user will be updated to use the default schedule.|
|
||||
"hidden": true,
|
||||
"icon": "string",
|
||||
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
|
||||
"open_in": "string",
|
||||
"open_in": "slim-window",
|
||||
"sharing_level": "owner",
|
||||
"slug": "string",
|
||||
"subdomain": true,
|
||||
|
||||
Reference in New Issue
Block a user