2016-04-27 09:29:59 -05:00
|
|
|
<query-editor-row query-ctrl="ctrl" can-collapse="false">
|
|
|
|
<div class="gf-form-inline">
|
|
|
|
<div class="gf-form max-width-25">
|
|
|
|
<label class="gf-form-label query-keyword width-8">
|
|
|
|
Metric
|
|
|
|
<label class="gf-form-label" bs-tooltip="ctrl.errors.metric" style="color: rgb(229, 189, 28)" ng-show="ctrl.errors.metric">
|
2020-04-12 15:20:02 -05:00
|
|
|
<icon name="'exclamation-triangle'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</label>
|
|
|
|
</label>
|
|
|
|
<input type="text" class="gf-form-input" ng-model="ctrl.target.metric"
|
|
|
|
spellcheck='false' bs-typeahead="ctrl.suggestMetrics" placeholder="metric name" data-min-length=0 data-items=100
|
|
|
|
ng-blur="ctrl.targetBlur()">
|
|
|
|
</input>
|
|
|
|
</div>
|
|
|
|
<div class="gf-form">
|
|
|
|
<label class="gf-form-label query-keyword">
|
|
|
|
Aggregator
|
|
|
|
<a bs-tooltip="ctrl.errors.aggregator" style="color: rgb(229, 189, 28)" ng-show="ctrl.errors.aggregator">
|
2020-04-12 15:20:02 -05:00
|
|
|
<icon name="'exclamation-triangle'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
</label>
|
|
|
|
<div class="gf-form-select-wrapper max-width-15">
|
|
|
|
<select ng-model="ctrl.target.aggregator" class="gf-form-input"
|
|
|
|
ng-options="agg for agg in ctrl.aggregators"
|
|
|
|
ng-change="ctrl.targetBlur()">
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div class="gf-form max-width-20">
|
|
|
|
<label class="gf-form-label query-keyword width-6">
|
|
|
|
Alias:
|
|
|
|
<info-popover mode="right-normal">
|
|
|
|
Use patterns like $tag_tagname to replace part of the alias for a tag value
|
|
|
|
</info-popover>
|
|
|
|
</label>
|
|
|
|
<input type="text" class="gf-form-input"
|
|
|
|
ng-model="ctrl.target.alias"
|
|
|
|
spellcheck='false'
|
|
|
|
placeholder="series alias"
|
|
|
|
data-min-length=0 data-items=100
|
|
|
|
ng-blur="ctrl.targetBlur()"></input>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form gf-form--grow">
|
|
|
|
<div class="gf-form-label gf-form-label--grow"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form-inline">
|
|
|
|
<div class="gf-form max-width-25">
|
|
|
|
<label class="gf-form-label query-keyword width-8">Down sample</label>
|
2019-03-06 07:45:13 -06:00
|
|
|
<input type="text" class="gf-form-input gf-form-input--has-help-icon"
|
2016-04-27 09:29:59 -05:00
|
|
|
ng-model="ctrl.target.downsampleInterval"
|
|
|
|
ng-model-onblur
|
|
|
|
ng-change="ctrl.targetBlur()"
|
|
|
|
placeholder="interval"></input>
|
|
|
|
<info-popover mode="right-absolute">
|
|
|
|
blank for auto, or for example <code>1m</code>
|
|
|
|
</info-popover>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form">
|
|
|
|
<label class="gf-form-label query-keyword">Aggregator</label>
|
|
|
|
<div class="gf-form-select-wrapper">
|
|
|
|
<select ng-model="ctrl.target.downsampleAggregator" class="gf-form-input"
|
|
|
|
ng-options="agg for agg in ctrl.aggregators"
|
|
|
|
ng-change="ctrl.targetBlur()">
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-05-13 15:22:56 -05:00
|
|
|
<div class="gf-form" ng-if="ctrl.tsdbVersion >= 2">
|
2016-04-27 09:29:59 -05:00
|
|
|
<label class="gf-form-label query-keyword width-6">Fill</label>
|
|
|
|
<div class="gf-form-select-wrapper">
|
|
|
|
<select ng-model="ctrl.target.downsampleFillPolicy" class="gf-form-input"
|
|
|
|
ng-options="agg for agg in ctrl.fillPolicies"
|
|
|
|
ng-change="ctrl.targetBlur()">
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<gf-form-switch class="gf-form"
|
|
|
|
label="Disable downsampling"
|
2016-05-03 03:09:03 -05:00
|
|
|
label-class="query-keyword"
|
2016-04-27 09:29:59 -05:00
|
|
|
checked="ctrl.target.disableDownsampling"
|
|
|
|
on-change="ctrl.targetBlur()">
|
|
|
|
</gf-form-switch>
|
|
|
|
|
|
|
|
<div class="gf-form gf-form--grow">
|
|
|
|
<div class="gf-form-label gf-form-label--grow"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-05-13 15:22:56 -05:00
|
|
|
<div class="gf-form-inline" ng-if="ctrl.tsdbVersion >= 2">
|
2016-04-27 09:29:59 -05:00
|
|
|
<div class="gf-form">
|
|
|
|
|
|
|
|
<label class="gf-form-label query-keyword width-8">
|
|
|
|
Filters
|
|
|
|
<info-popover mode="right-normal">
|
|
|
|
Filters does not work with tags, either of the two will work but not both.
|
|
|
|
</info-popover>
|
|
|
|
</label>
|
|
|
|
|
|
|
|
<div ng-repeat="fil in ctrl.target.filters track by $index" class="gf-form-label">
|
|
|
|
{{fil.tagk}} = {{fil.type}}({{fil.filter}}) , groupBy = {{fil.groupBy}}
|
|
|
|
<a ng-click="ctrl.editFilter(fil, $index)">
|
2020-04-12 15:20:02 -05:00
|
|
|
<icon name="'pen'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
<a ng-click="ctrl.removeFilter($index)">
|
@grafana/ui: Create Icon component and replace part of the icons (#23402)
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Resolve type errors resulted from merge
* Part2: Unicons implementation (#23266)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Implment icons in Tabs
* Implement icons in search items and empty list
* Update buttons
* Update button-related snapshot tests
* Update icons in modals and page headers
* Create anfular wrapper and update all icons on search screen
* Update sizing, remove colors, update snapshot tests
* Remove color prop from icon, remove color implemetation in mono icons
* Remove color props from monochrome icons
* Complete update of icons for search screen
* Update icons for infor tooltips, playlist, permissions
* Support temporarly font awesome icons used in enterprise grafana
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Icons update
* Add optional chaining to for isFontAwesome variable
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Part3: Unicons implementation (#23356)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Implment icons in Tabs
* Implement icons in search items and empty list
* Update buttons
* Update button-related snapshot tests
* Update icons in modals and page headers
* Create anfular wrapper and update all icons on search screen
* Update sizing, remove colors, update snapshot tests
* Remove color prop from icon, remove color implemetation in mono icons
* Remove color props from monochrome icons
* Complete update of icons for search screen
* Update icons for infor tooltips, playlist, permissions
* Support temporarly font awesome icons used in enterprise grafana
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Update icons in Explore
* Update icons in alerting
* Update + and x buttons
* Update icons in configurations and settings
* Update close icons
* Update icons in rich history
* Update alert messages
* Add optional chaining to for isFontAwesome variable
* Remove icon mock, set up jest.config
* Fix navbar plus icon
* Fir enable-bacground to enableBackgournd
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Merge remote branch origin master to icons-unicons
* Revert "Merge remote branch origin master to icons-unicons"
This reverts commit 3f25d50a39a940883fefe73ce51219139c1ed37f.
* Size-up dashnav icons
* Fix alerting icons, panel headers, update tests
* Fix typecheck error
* Adjustments - add panel icon, spacing
* Set TerserPlugin sourceMap to false to prevent running out of memory when publishing storybook
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-08 07:33:31 -05:00
|
|
|
<icon name="'times'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
</div>
|
|
|
|
<label class="gf-form-label query-keyword" ng-hide="ctrl.addFilterMode">
|
|
|
|
<a ng-click="ctrl.addFilter()">
|
2020-04-14 04:32:14 -05:00
|
|
|
<icon name="'plus'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form-inline" ng-show="ctrl.addFilterMode">
|
|
|
|
<div class="gf-form">
|
|
|
|
<input type="text" class="gf-form-input" spellcheck='false'
|
|
|
|
bs-typeahead="ctrl.suggestTagKeys" data-min-length=0 data-items=100
|
|
|
|
ng-model="ctrl.target.currentFilterKey" placeholder="key">
|
|
|
|
</input>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form">
|
2016-05-03 03:09:03 -05:00
|
|
|
<label class="gf-form-label query-keyword">Type</label>
|
2016-04-27 09:29:59 -05:00
|
|
|
<div class="gf-form-select-wrapper">
|
|
|
|
<select ng-model="ctrl.target.currentFilterType" class="gf-form-input" ng-options="filType for filType in ctrl.filterTypes">
|
|
|
|
</select>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form">
|
|
|
|
<input type="text" class="gf-form-input" spellcheck='false' bs-typeahead="ctrl.suggestTagValues" data-min-length=0 data-items=100 ng-model="ctrl.target.currentFilterValue" placeholder="filter">
|
|
|
|
</input>
|
|
|
|
</div>
|
|
|
|
|
2016-05-03 03:09:03 -05:00
|
|
|
<gf-form-switch class="gf-form"
|
2019-03-06 07:45:13 -06:00
|
|
|
label="Group by"
|
2016-05-03 03:09:03 -05:00
|
|
|
label-class="query-keyword"
|
|
|
|
checked="ctrl.target.currentFilterGroupBy"
|
|
|
|
on-change="ctrl.targetBlur()">
|
2016-04-27 09:29:59 -05:00
|
|
|
</gf-form-switch>
|
|
|
|
|
|
|
|
<div class="gf-form" ng-show="ctrl.addFilterMode">
|
|
|
|
<label class="gf-form-label" ng-show="ctrl.errors.filters">
|
|
|
|
<a bs-tooltip="ctrl.errors.filters" style="color: rgb(229, 189, 28)" >
|
2020-04-12 15:20:02 -05:00
|
|
|
<icon name="'exclamation-triangle'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
</label>
|
|
|
|
<label class="gf-form-label">
|
|
|
|
<a ng-click="ctrl.addFilter()" ng-hide="ctrl.errors.filters">add filter</a>
|
|
|
|
<a ng-click="ctrl.closeAddFilterMode()">
|
@grafana/ui: Create Icon component and replace part of the icons (#23402)
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Resolve type errors resulted from merge
* Part2: Unicons implementation (#23266)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Implment icons in Tabs
* Implement icons in search items and empty list
* Update buttons
* Update button-related snapshot tests
* Update icons in modals and page headers
* Create anfular wrapper and update all icons on search screen
* Update sizing, remove colors, update snapshot tests
* Remove color prop from icon, remove color implemetation in mono icons
* Remove color props from monochrome icons
* Complete update of icons for search screen
* Update icons for infor tooltips, playlist, permissions
* Support temporarly font awesome icons used in enterprise grafana
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Icons update
* Add optional chaining to for isFontAwesome variable
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Part3: Unicons implementation (#23356)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Implment icons in Tabs
* Implement icons in search items and empty list
* Update buttons
* Update button-related snapshot tests
* Update icons in modals and page headers
* Create anfular wrapper and update all icons on search screen
* Update sizing, remove colors, update snapshot tests
* Remove color prop from icon, remove color implemetation in mono icons
* Remove color props from monochrome icons
* Complete update of icons for search screen
* Update icons for infor tooltips, playlist, permissions
* Support temporarly font awesome icons used in enterprise grafana
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Update icons in Explore
* Update icons in alerting
* Update + and x buttons
* Update icons in configurations and settings
* Update close icons
* Update icons in rich history
* Update alert messages
* Add optional chaining to for isFontAwesome variable
* Remove icon mock, set up jest.config
* Fix navbar plus icon
* Fir enable-bacground to enableBackgournd
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Merge remote branch origin master to icons-unicons
* Revert "Merge remote branch origin master to icons-unicons"
This reverts commit 3f25d50a39a940883fefe73ce51219139c1ed37f.
* Size-up dashnav icons
* Fix alerting icons, panel headers, update tests
* Fix typecheck error
* Adjustments - add panel icon, spacing
* Set TerserPlugin sourceMap to false to prevent running out of memory when publishing storybook
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-08 07:33:31 -05:00
|
|
|
<icon name="'times'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form gf-form--grow">
|
|
|
|
<div class="gf-form-label gf-form-label--grow"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form-inline">
|
|
|
|
<div class="gf-form">
|
|
|
|
<label class="gf-form-label query-keyword width-8">
|
|
|
|
Tags
|
2016-05-13 15:22:56 -05:00
|
|
|
<info-popover mode="right-normal" ng-if="ctrl.tsdbVersion >= 2">
|
2016-04-27 09:29:59 -05:00
|
|
|
Please use filters, tags are deprecated in opentsdb 2.2
|
|
|
|
</info-popover>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form" ng-repeat="(key, value) in ctrl.target.tags track by $index" class="gf-form">
|
|
|
|
<label class="gf-form-label">
|
|
|
|
{{key}} = {{value}}
|
|
|
|
<a ng-click="ctrl.editTag(key, value)">
|
2020-04-12 15:20:02 -05:00
|
|
|
<icon name="'pen'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
<a ng-click="ctrl.removeTag(key)">
|
@grafana/ui: Create Icon component and replace part of the icons (#23402)
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Resolve type errors resulted from merge
* Part2: Unicons implementation (#23266)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Implment icons in Tabs
* Implement icons in search items and empty list
* Update buttons
* Update button-related snapshot tests
* Update icons in modals and page headers
* Create anfular wrapper and update all icons on search screen
* Update sizing, remove colors, update snapshot tests
* Remove color prop from icon, remove color implemetation in mono icons
* Remove color props from monochrome icons
* Complete update of icons for search screen
* Update icons for infor tooltips, playlist, permissions
* Support temporarly font awesome icons used in enterprise grafana
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Icons update
* Add optional chaining to for isFontAwesome variable
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Part3: Unicons implementation (#23356)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Implment icons in Tabs
* Implement icons in search items and empty list
* Update buttons
* Update button-related snapshot tests
* Update icons in modals and page headers
* Create anfular wrapper and update all icons on search screen
* Update sizing, remove colors, update snapshot tests
* Remove color prop from icon, remove color implemetation in mono icons
* Remove color props from monochrome icons
* Complete update of icons for search screen
* Update icons for infor tooltips, playlist, permissions
* Support temporarly font awesome icons used in enterprise grafana
* Part1: Unicons implementation (#23197)
* Create a new Icon component
* Update icons in main sidebar
* Update icons in Useful links and in react components on main site
* Update icons in Useful links and in main top navigation
* Adjust sizing
* Update panel navigation and timepicker
* Update icons in Panel menu
* NewPanelEditor: Fixed so that test alert rule works in new edit mode (#23179)
* Update icons in add panel widget
* Resolve merge conflict
* Fix part of the test errors and type errors
* Fix storybook errors
* Update getAvailableIcons import in storybook knobs
* Fix import path
* Fix SyntaxError: Cannot use import statement outside a module in test environment error
* Remove dynamic imports
* Remove types as using @ts-ignore
* Update snapshot test
* Add @iconscout/react-unicons to the shouldExclude list as it is blundled with es2015 syntax
* Remove color prop from icon, remove color implemetation in mono icons
* Update navbar styling
* Move toPascalCase to utils/string
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Update icons in Explore
* Update icons in alerting
* Update + and x buttons
* Update icons in configurations and settings
* Update close icons
* Update icons in rich history
* Update alert messages
* Add optional chaining to for isFontAwesome variable
* Remove icon mock, set up jest.config
* Fix navbar plus icon
* Fir enable-bacground to enableBackgournd
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
* Merge remote branch origin master to icons-unicons
* Revert "Merge remote branch origin master to icons-unicons"
This reverts commit 3f25d50a39a940883fefe73ce51219139c1ed37f.
* Size-up dashnav icons
* Fix alerting icons, panel headers, update tests
* Fix typecheck error
* Adjustments - add panel icon, spacing
* Set TerserPlugin sourceMap to false to prevent running out of memory when publishing storybook
Co-authored-by: Torkel Ödegaard <torkel@grafana.com>
2020-04-08 07:33:31 -05:00
|
|
|
<icon name="'times'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form" ng-hide="ctrl.addTagMode">
|
|
|
|
<label class="gf-form-label query-keyword">
|
2020-04-14 04:32:14 -05:00
|
|
|
<a ng-click="ctrl.addTag()"><icon name="'plus'"></icon></a>
|
2016-04-27 09:29:59 -05:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form" ng-show="ctrl.addTagMode">
|
|
|
|
<input type="text"
|
|
|
|
class="gf-form-input" spellcheck='false'
|
|
|
|
bs-typeahead="ctrl.suggestTagKeys" data-min-length=0 data-items=100
|
|
|
|
ng-model="ctrl.target.currentTagKey" placeholder="key">
|
|
|
|
</input>
|
2014-06-14 04:38:27 -05:00
|
|
|
|
2016-04-27 09:29:59 -05:00
|
|
|
<input type="text" class="gf-form-input"
|
|
|
|
spellcheck='false' bs-typeahead="ctrl.suggestTagValues"
|
|
|
|
data-min-length=0 data-items=100 ng-model="ctrl.target.currentTagValue" placeholder="value">
|
2015-08-25 02:34:43 -05:00
|
|
|
</input>
|
2016-02-10 02:35:39 -06:00
|
|
|
|
2016-04-27 09:29:59 -05:00
|
|
|
<label class="gf-form-label" ng-show="ctrl.errors.tags">
|
|
|
|
<a bs-tooltip="ctrl.errors.tags" style="color: rgb(229, 189, 28)" >
|
2020-04-12 15:20:02 -05:00
|
|
|
<icon name="'exclamation-triangle'"></icon>
|
2016-04-27 09:29:59 -05:00
|
|
|
</a>
|
|
|
|
</label>
|
|
|
|
<label class="gf-form-label" >
|
|
|
|
<a ng-click="ctrl.addTag()" ng-hide="ctrl.errors.tags">add tag</a>
|
2020-04-16 06:49:58 -05:00
|
|
|
<a ng-click="ctrl.closeAddTagMode()"><icon name="'times'" size="'sm'"></icon></a>
|
2016-04-27 09:29:59 -05:00
|
|
|
</label>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form gf-form--grow">
|
|
|
|
<div class="gf-form-label gf-form-label--grow"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="gf-form-inline">
|
2016-04-28 03:13:18 -05:00
|
|
|
<gf-form-switch class="gf-form" label="Rate" label-class="width-8 query-keyword" checked="ctrl.target.shouldComputeRate" on-change="ctrl.targetBlur()">
|
2016-04-27 09:29:59 -05:00
|
|
|
</gf-form-switch>
|
|
|
|
|
|
|
|
<gf-form-switch ng-hide="!ctrl.target.shouldComputeRate"
|
2016-05-03 03:09:03 -05:00
|
|
|
class="gf-form" label="Counter" label-class="query-keyword" checked="ctrl.target.isCounter" on-change="ctrl.targetBlur()">
|
2016-04-27 09:29:59 -05:00
|
|
|
</gf-form-switch>
|
|
|
|
|
|
|
|
|
|
|
|
<div class="gf-form" ng-hide="!ctrl.target.isCounter || !ctrl.target.shouldComputeRate">
|
2016-05-03 03:09:03 -05:00
|
|
|
<label class="gf-form-label query-keyword">Counter Max</label>
|
2016-04-27 09:29:59 -05:00
|
|
|
<input type="text" class="gf-form-input"
|
|
|
|
ng-disabled="!ctrl.target.shouldComputeRate"
|
|
|
|
ng-model="ctrl.target.counterMax" spellcheck='false'
|
|
|
|
placeholder="max value" ng-model-onblur
|
|
|
|
ng-blur="ctrl.targetBlur()">
|
|
|
|
</input>
|
|
|
|
|
2016-05-03 03:09:03 -05:00
|
|
|
<label class="gf-form-label query-keyword">Reset Value</label>
|
2016-04-27 09:29:59 -05:00
|
|
|
<input type="text" class="tight-form-input input-small"
|
|
|
|
ng-disabled="!ctrl.target.shouldComputeRate"
|
|
|
|
ng-model="ctrl.target.counterResetValue" spellcheck='false'
|
|
|
|
placeholder="reset value" ng-model-onblur
|
|
|
|
ng-blur="ctrl.targetBlur()">
|
|
|
|
</input>
|
|
|
|
</div>
|
|
|
|
|
2016-10-24 02:15:19 -05:00
|
|
|
<div class="gf-form" ng-if="ctrl.tsdbVersion > 2">
|
|
|
|
<gf-form-switch class="gf-form" label="Explicit tags" label-class="width-8 query-keyword" checked="ctrl.target.explicitTags" on-change="ctrl.targetBlur()">
|
|
|
|
</gf-form-switch>
|
|
|
|
</div>
|
|
|
|
|
2016-04-27 09:29:59 -05:00
|
|
|
<div class="gf-form gf-form--grow">
|
|
|
|
<div class="gf-form-label gf-form-label--grow"></div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</query-editor-row>
|
|
|
|
|