chore: adding rangeAnnotations feature flag (#21556)
parent
b0d62f0c72
commit
46fe0ee9d1
|
@ -122,6 +122,14 @@
|
|||
expose: true
|
||||
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
|
||||
description: Management, display, and manual addition of Annotations from the UI
|
||||
key: annotations
|
||||
|
|
|
@ -212,6 +212,20 @@ func RefreshSingleCell() BoolFlag {
|
|||
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(
|
||||
"Annotations UI",
|
||||
"annotations",
|
||||
|
@ -242,6 +256,7 @@ var all = []Flag{
|
|||
editTelegrafs,
|
||||
cursorAtEOF,
|
||||
refreshSingleCell,
|
||||
rangeAnnotations,
|
||||
annotations,
|
||||
}
|
||||
|
||||
|
@ -261,5 +276,6 @@ var byKey = map[string]Flag{
|
|||
"editTelegrafs": editTelegrafs,
|
||||
"cursorAtEOF": cursorAtEOF,
|
||||
"refreshSingleCell": refreshSingleCell,
|
||||
"rangeAnnotations": rangeAnnotations,
|
||||
"annotations": annotations,
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue