Skip to content

Commit 161a8af

Browse files
committed
Add filter to experiments
1 parent 4e8f4f2 commit 161a8af

File tree

5 files changed

+20
-6
lines changed

5 files changed

+20
-6
lines changed

coderd/apidoc/docs.go

Lines changed: 4 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

coderd/apidoc/swagger.json

Lines changed: 6 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

codersdk/deployment.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1682,6 +1682,9 @@ const (
16821682
// https://github.com/coder/coder/milestone/19
16831683
ExperimentWorkspaceActions Experiment = "workspace_actions"
16841684

1685+
// New workspace filter
1686+
ExperimentWorkspaceFilter Experiment = "workspace_filter"
1687+
16851688
// Add new experiments here!
16861689
// ExperimentExample Experiment = "example"
16871690
)

docs/api/schemas.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2559,6 +2559,7 @@ CreateParameterRequest is a structure used to create a new parameter value for a
25592559
| ------------------- |
25602560
| `moons` |
25612561
| `workspace_actions` |
2562+
| `workspace_filter` |
25622563

25632564
## codersdk.Feature
25642565

site/src/api/typesGenerated.ts

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1385,8 +1385,12 @@ export const Entitlements: Entitlement[] = [
13851385
]
13861386

13871387
// From codersdk/deployment.go
1388-
export type Experiment = "moons" | "workspace_actions"
1389-
export const Experiments: Experiment[] = ["moons", "workspace_actions"]
1388+
export type Experiment = "moons" | "workspace_actions" | "workspace_filter"
1389+
export const Experiments: Experiment[] = [
1390+
"moons",
1391+
"workspace_actions",
1392+
"workspace_filter",
1393+
]
13901394

13911395
// From codersdk/deployment.go
13921396
export type FeatureName =

0 commit comments

Comments
 (0)