Commit Graph

10282 Commits (58abce8d14e447cba7f48c9d81334f76d6ae504b)

Author SHA1 Message Date
Delmer 58abce8d14
Merge pull request #3730 from influxdata/fix/script-yield-before-range-filter
Fix unable to toggle yields
2018-06-20 15:29:02 -04:00
Delmer Reed 990371a085 Add type asserition to Papa.parse data
Parsed data from Papa.parse does not utilize a generic
type and returns any[]. Adding an asserition will at least
error if there are changes to the type of FluxTable.data.
2018-06-20 15:18:07 -04:00
Alex Paxton 7f8791e3c3
Merge pull request #3662 from influxdata/presentational-page-components
Introduce Presentational Page Components
2018-06-20 11:49:33 -07:00
Alex P bb68cf7f03 Merge branch 'master' into presentational-page-components 2018-06-20 11:36:35 -07:00
Alex P ff1fc05b99 Rename prop to indicate intended use 2018-06-20 11:03:20 -07:00
Alex P 0edf440f45 Improve clarity of prop name 2018-06-20 10:58:55 -07:00
Alex P 03245a8ee3 Rename prop to be more descriptive 2018-06-20 10:57:19 -07:00
Alex P daee2d9397 Use getters to pass in elements directly instead of functions that return elements 2018-06-20 10:54:49 -07:00
Alex P e0a93fd128 Fix rendering of logs toggle in TICKscript editor 2018-06-20 10:44:48 -07:00
Chris Henn ced9a3ffba
Merge pull request #3734 from influxdata/tempVars/meta-queries
Add "Custom Meta Query" template variable type
2018-06-20 10:38:29 -07:00
Alex P cb1204b44c Rename prop to "RenderPageControls" 2018-06-20 10:38:23 -07:00
Alex P 87248dbb42 Remove center render prop from PageHeader
Only one instance of use, not worth the added complexity
2018-06-20 10:37:57 -07:00
Christopher Henn bfce6b4d9c
Type MetaQueryTemplateBuilder constructor props 2018-06-20 10:03:18 -07:00
Christopher Henn 666cbcc0a6
Access properties more safely 2018-06-20 10:02:33 -07:00
Delmer Reed 96b067e9f1 Remove duplicate before/after filter and range checks
Removes component update checks for filter and range.
ExpressionNode now renders with a check for filter and range and
looks at the next func node index to determine how much script to pass
to YieldFuncNode. FuncNodes also utilize a isYielding and
isYieldingInScript to determine how to toggle yields.
2018-06-20 12:57:59 -04:00
Christopher Henn 3e9de95d3f
Remove unused "query" template type 2018-06-20 09:17:12 -07:00
Iris Scholten 508f75da3a
Merge pull request #3722 from influxdata/fun/kapacitor-typescript
Convert Kapacitor components to typescript
2018-06-19 18:06:44 -07:00
Iris Scholten c50f1523e0 Convert KapacitorRule tree to typescript 2018-06-19 17:46:51 -07:00
Iris Scholten 61f9f47cb6
Merge pull request #3733 from influxdata/fix/sorting-arrow-directions
Change Ascending arrows to point up instead of down
2018-06-19 17:35:51 -07:00
Deniz Kusefoglu c03e8ad396
Merge pull request #3721 from influxdata/fun/status-page-to-TS
Fun/status page to ts
2018-06-19 17:31:39 -07:00
ebb-tide d362e43d3c TS things further 2018-06-19 17:12:30 -07:00
Chris Henn ff61f9431d
Merge pull request #3735 from influxdata/tempVars/polish
Improve save button copy in TemplateVariableEditor
2018-06-19 16:58:47 -07:00
Christopher Henn 961ed5f5f2
Use more consistent naming 2018-06-19 16:39:28 -07:00
Christopher Henn 0ced327a2a
Fix failing template test 2018-06-19 16:37:02 -07:00
Iris Scholten 5a4781dd58 Update changelog 2018-06-19 16:25:06 -07:00
Christopher Henn 2c1dc440c3
Refactor hydrateTempVarValuesAsync 2018-06-19 16:24:40 -07:00
Christopher Henn 9e0820e032
Hydrate MetaQueryTemplateBuilder correctly 2018-06-19 16:24:40 -07:00
Christopher Henn 2a494b4f75
Support persisting "influxql" template variables 2018-06-19 16:24:40 -07:00
Alirie Gray 065c3e19bc
Implement custom meta query template variable type
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>
2018-06-19 16:22:19 -07:00
Iris Scholten fd1edf083f Change Ascending arrows to point up instead of down 2018-06-19 16:21:52 -07:00
Alex P 390bc7b983 Implement PageHeader in SourceForm 2018-06-19 15:46:58 -07:00
Iris Scholten e111cc86d3
Merge pull request #3731 from influxdata/tempVars/map-type-api
Add map as a valid type of template variables in api
2018-06-19 15:38:12 -07:00
Alex P 6e220c1672 Provide mock context in test to prevent fail 2018-06-19 15:06:21 -07:00
Alex P ea6446da4f Refactor SourceIndicator to use context API 2018-06-19 15:06:03 -07:00
Iris Scholten 3722925a0b Update swagger 2018-06-19 14:57:48 -07:00
Iris Scholten 4ee1405dae Add map as a valid type of template variables in api 2018-06-19 14:50:16 -07:00
Alex P aa4a6461b6 Remove only from test 2018-06-19 13:47:00 -07:00
Alex P e366db996b Refactor component to guard against missing context 2018-06-19 13:38:58 -07:00
Christopher Henn d68d57edaa
Improve save button copy in TemplateVariableEditor 2018-06-19 13:21:27 -07:00
Chris Henn c969bf96d0
Merge pull request #3729 from influxdata/bugfix/temp-vars-name-overwritten
Preserve template variable name when editing type
2018-06-19 12:59:52 -07:00
Iris Scholten d4c9a96a9d Remove implicit yield functionality
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-19 11:52:26 -07:00
Delmer Reed bbd2d7aadd Update FuncNode toggle to check when script yields
Updating FuncNode toggle to use a prop to determine when toggling
the script yield or yield with last in the ExpressionNode. The
is Yielding prop is not ineffective for determining how to toggle
a FuncNode. This also fixes an issue where toggling was not
updating FuncMenu styles.
2018-06-19 11:49:20 -07:00
Delmer Reed b0bcce10a3 Add response error handling in builder
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-06-19 11:47:41 -07:00
Delmer Reed 8c6cb9b6ca Check for yields before filter and range funcs in expression
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-06-19 11:47:40 -07:00
Christopher Henn 7f72fc992c
Preserve template variable name when editing type 2018-06-19 11:38:40 -07:00
Alex P a3c3fc6e1e fix nesting issue in test 2018-06-19 11:29:56 -07:00
Alex P 913239bf7c Fix nesting issue in test 2018-06-19 11:29:45 -07:00
Alex P 1c1c5fe216 Remove connection to redux from page header 2018-06-19 11:29:24 -07:00
ebb-tide 2bbe80032d Fix failing test 2018-06-19 11:16:43 -07:00
ebb-tide f9f33fe7ea Fix merge errors and rollback Source object updates 2018-06-19 11:05:18 -07:00