chore: add multi-org experiment for UI view toggling (#13260)

* chore: Add multi-org experiment

UI will use to toggle different views
This commit is contained in:
Steven Masley
2024-05-13 13:46:01 -05:00
committed by GitHub
parent ebee9288ae
commit 9ced001570
5 changed files with 25 additions and 8 deletions

9
coderd/apidoc/docs.go generated
View File

@ -9542,15 +9542,18 @@ const docTemplate = `{
"type": "string",
"enum": [
"example",
"auto-fill-parameters"
"auto-fill-parameters",
"multi-organization"
],
"x-enum-comments": {
"ExperimentAutoFillParameters": "This should not be taken out of experiments until we have redesigned the feature.",
"ExperimentExample": "This isn't used for anything."
"ExperimentExample": "This isn't used for anything.",
"ExperimentMultiOrganization": "Requires organization context for interactions, default org is assumed."
},
"x-enum-varnames": [
"ExperimentExample",
"ExperimentAutoFillParameters"
"ExperimentAutoFillParameters",
"ExperimentMultiOrganization"
]
},
"codersdk.ExternalAuth": {

View File

@ -8541,12 +8541,17 @@
},
"codersdk.Experiment": {
"type": "string",
"enum": ["example", "auto-fill-parameters"],
"enum": ["example", "auto-fill-parameters", "multi-organization"],
"x-enum-comments": {
"ExperimentAutoFillParameters": "This should not be taken out of experiments until we have redesigned the feature.",
"ExperimentExample": "This isn't used for anything."
"ExperimentExample": "This isn't used for anything.",
"ExperimentMultiOrganization": "Requires organization context for interactions, default org is assumed."
},
"x-enum-varnames": ["ExperimentExample", "ExperimentAutoFillParameters"]
"x-enum-varnames": [
"ExperimentExample",
"ExperimentAutoFillParameters",
"ExperimentMultiOrganization"
]
},
"codersdk.ExternalAuth": {
"type": "object",