Closed pierrelefevre closed 2 months ago
How about using a ToggleButtonGroup
with togglebuttons inside? Quick mockup:
Sounds good!
Quick question, how is hidden set?
In the struct from go-deploy
...
Visibility string `json:"visibility" bson:"visibility" binding:"omitempty,oneof=public private auth"`
...
which gives these possible values
type visibility = "public" | "private" | "auth" | undefined;
right?
This is my current interpretation, please let me know if I have misunderstood anything:
Public --> public
Private (Teams) --> private (edit:
is this the old hidden mode, and auth is just automatically for either teams or only you if the deployment is not shared?)
Private (Only You) --> auth "When auth, deploy a oauth proxy which only allows the deployment owner."
Hidden --> ?
Might be a mistake when writing the issue!
This issue or #647?
go-deploy has added new visibility modes for deployments instead of just public and private.
We could make some sort of slider instead of the existing toggle switch