mirror of
https://github.com/safing/portbase
synced 2025-09-04 11:40:23 +00:00
Add category annotations to options
This commit is contained in:
parent
19f75bb6ca
commit
62d2737849
3 changed files with 3 additions and 0 deletions
|
@ -50,6 +50,7 @@ func registerConfig() error {
|
||||||
RequiresRestart: true,
|
RequiresRestart: true,
|
||||||
Annotations: config.Annotations{
|
Annotations: config.Annotations{
|
||||||
config.DisplayOrderAnnotation: 128,
|
config.DisplayOrderAnnotation: 128,
|
||||||
|
config.CategoryAnnotation: "Development",
|
||||||
},
|
},
|
||||||
})
|
})
|
||||||
if err != nil {
|
if err != nil {
|
||||||
|
|
|
@ -48,6 +48,7 @@ func registerExpertiseLevelOption() {
|
||||||
DefaultValue: ExpertiseLevelNameUser,
|
DefaultValue: ExpertiseLevelNameUser,
|
||||||
Annotations: Annotations{
|
Annotations: Annotations{
|
||||||
DisplayHintAnnotation: DisplayHintOneOf,
|
DisplayHintAnnotation: DisplayHintOneOf,
|
||||||
|
CategoryAnnotation: "Expertise & Release",
|
||||||
},
|
},
|
||||||
PossibleValues: []PossibleValue{
|
PossibleValues: []PossibleValue{
|
||||||
{
|
{
|
||||||
|
|
|
@ -46,6 +46,7 @@ func registerReleaseLevelOption() {
|
||||||
DefaultValue: ReleaseLevelNameStable,
|
DefaultValue: ReleaseLevelNameStable,
|
||||||
Annotations: Annotations{
|
Annotations: Annotations{
|
||||||
DisplayHintAnnotation: DisplayHintOneOf,
|
DisplayHintAnnotation: DisplayHintOneOf,
|
||||||
|
CategoryAnnotation: "Expertise & Release",
|
||||||
},
|
},
|
||||||
PossibleValues: []PossibleValue{
|
PossibleValues: []PossibleValue{
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Reference in a new issue