Add helpful QuestionMarkTooltip in the manage tasks page header

This explains the difference between Alert Rules and TICKscripts
pull/10616/head
Alex P 2018-02-23 09:41:32 -08:00
parent 19b267504a
commit fcb8264fe7
1 changed files with 5 additions and 0 deletions

View File

@ -6,6 +6,7 @@ import SourceIndicator from 'shared/components/SourceIndicator'
import KapacitorRulesTable from 'src/kapacitor/components/KapacitorRulesTable'
import TasksTable from 'src/kapacitor/components/TasksTable'
import FancyScrollbar from 'shared/components/FancyScrollbar'
import QuestionMarkTooltip from 'shared/components/QuestionMarkTooltip'
const KapacitorRules = ({
source,
@ -112,6 +113,10 @@ const PageContents = ({children}) =>
<h1 className="page-header__title">Manage Tasks</h1>
</div>
<div className="page-header__right">
<QuestionMarkTooltip
tipID="manage-tasks--tooltip"
tipContent="<b>Alert Rules</b> generate a TICKscript for<br/>you using our Builder UI.<br/><br/>Not all TICKscripts can be edited<br/>using the Builder."
/>
<SourceIndicator />
</div>
</div>