chore: adding rangeAnnotations feature flag (#21556)
parent
b0d62f0c72
commit
46fe0ee9d1
|
@ -122,6 +122,14 @@
|
||||||
expose: true
|
expose: true
|
||||||
lifetime: temporary
|
lifetime: temporary
|
||||||
|
|
||||||
|
- name: Range Annotations
|
||||||
|
description: Enables the creation of Range Annotations on Drag (if annotation write mode is activated)
|
||||||
|
key: rangeAnnotations
|
||||||
|
default: false
|
||||||
|
contact: Jill Pelavin/ Dumplings Team
|
||||||
|
lifetime: temporary
|
||||||
|
expose: true
|
||||||
|
|
||||||
- name: Annotations UI
|
- name: Annotations UI
|
||||||
description: Management, display, and manual addition of Annotations from the UI
|
description: Management, display, and manual addition of Annotations from the UI
|
||||||
key: annotations
|
key: annotations
|
||||||
|
|
|
@ -212,6 +212,20 @@ func RefreshSingleCell() BoolFlag {
|
||||||
return refreshSingleCell
|
return refreshSingleCell
|
||||||
}
|
}
|
||||||
|
|
||||||
|
var rangeAnnotations = MakeBoolFlag(
|
||||||
|
"Range Annotations",
|
||||||
|
"rangeAnnotations",
|
||||||
|
"Jill Pelavin/ Dumplings Team",
|
||||||
|
false,
|
||||||
|
Temporary,
|
||||||
|
true,
|
||||||
|
)
|
||||||
|
|
||||||
|
// RangeAnnotations - Enables the creation of Range Annotations on Drag (if annotation write mode is activated)
|
||||||
|
func RangeAnnotations() BoolFlag {
|
||||||
|
return rangeAnnotations
|
||||||
|
}
|
||||||
|
|
||||||
var annotations = MakeBoolFlag(
|
var annotations = MakeBoolFlag(
|
||||||
"Annotations UI",
|
"Annotations UI",
|
||||||
"annotations",
|
"annotations",
|
||||||
|
@ -242,6 +256,7 @@ var all = []Flag{
|
||||||
editTelegrafs,
|
editTelegrafs,
|
||||||
cursorAtEOF,
|
cursorAtEOF,
|
||||||
refreshSingleCell,
|
refreshSingleCell,
|
||||||
|
rangeAnnotations,
|
||||||
annotations,
|
annotations,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -261,5 +276,6 @@ var byKey = map[string]Flag{
|
||||||
"editTelegrafs": editTelegrafs,
|
"editTelegrafs": editTelegrafs,
|
||||||
"cursorAtEOF": cursorAtEOF,
|
"cursorAtEOF": cursorAtEOF,
|
||||||
"refreshSingleCell": refreshSingleCell,
|
"refreshSingleCell": refreshSingleCell,
|
||||||
|
"rangeAnnotations": rangeAnnotations,
|
||||||
"annotations": annotations,
|
"annotations": annotations,
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue