Andrew Watkins
900702d6be
Fix field helper specs
2017-10-17 13:34:16 -07:00
Andrew Watkins
e1e84685fd
Change influxql and FieldList fields to value instead of name
2017-10-17 13:31:17 -07:00
Andrew Watkins
03ad5f25e5
Change tests and reducers to use value instead of name
2017-10-17 13:19:08 -07:00
Andrew Watkins
7d483d87df
WIP change name to value
2017-10-17 12:44:16 -07:00
Andrew Watkins
54bb1de47f
Remove irrlevant test
2017-10-17 12:42:58 -07:00
Andrew Watkins
2e208b54af
Fix broken test
2017-10-17 12:42:58 -07:00
Andrew Watkins
de460e6ce9
Adjust kapacitor components to accept new data shape
2017-10-17 12:42:58 -07:00
Andrew Watkins
17cd3e415a
Fix applying funcs with initial group by time
2017-10-17 12:42:58 -07:00
Andrew Watkins
8bfebdee24
Iron kinks
2017-10-17 12:42:58 -07:00
Andrew Watkins
faa7fd036d
Pull component specific attributes out of group by selection
2017-10-17 12:42:58 -07:00
Andrew Watkins
b553655e16
Move logic for initial field out of reducer
2017-10-17 12:42:58 -07:00
Andrew Watkins
e6c82b88e0
Fix rawText keeping old state in the DE
2017-10-17 12:42:57 -07:00
Andrew Watkins
0beca4dd21
Christmas came early
2017-10-17 12:42:57 -07:00
Andrew Watkins
89c2334aea
Max mean the default for new field
2017-10-17 12:42:57 -07:00
Andrew Watkins
3e964b86d9
Fix toggle field logic
2017-10-17 12:42:57 -07:00
Andrew Watkins
63960e107d
Move kapacitor specific logic out of toggleField
2017-10-17 12:42:57 -07:00
Andrew Watkins
a4656e8ea9
Add spec for REMOVE_FUNCS
2017-10-17 12:42:57 -07:00
Andrew Watkins
73f35be7e9
Start breaking up the sadness in applyFuncsToFields
2017-10-17 12:42:56 -07:00
Andrew Watkins
2c77ea9b52
New queryConfig shape 'works' in the DE
2017-10-17 12:42:56 -07:00
Andrew Watkins
5092185d48
Refactor FieldList to accept new shape
2017-10-17 12:42:56 -07:00
Chris Goller
92294923a3
Remove toggleFieldWithGroupByInterval
2017-10-17 12:42:56 -07:00
Chris Goller
446d729eca
Fix import of field helper typos
2017-10-17 12:42:56 -07:00
Chris Goller
ee2407c112
Update queryConfigSpec to remove deprecated mocha assertions
2017-10-17 12:42:56 -07:00
Chris Goller
322275962e
Add spec tests for field helpers
2017-10-17 12:42:55 -07:00
Chris Goller
5d9047116f
Update reducers to reflect new field helper location
2017-10-17 12:42:55 -07:00
Chris Goller
6930d25f93
Move fields helpers into shared reducers
2017-10-17 12:42:55 -07:00
Chris Goller
ecc3f2ccb7
Update queryTransitions to use field helpers
2017-10-17 12:42:55 -07:00
Chris Goller
14f7b16f50
Fix field helper function to be javascript
2017-10-17 12:42:55 -07:00
Chris Goller
8324e13670
WIP
2017-10-17 12:42:55 -07:00
Chris Goller
ebe75f1c5b
Add functions to handle fields in new queryConfig
2017-10-17 12:42:55 -07:00
Andrew Watkins
326a00b153
Update kapacitory query reducer
2017-10-17 12:42:54 -07:00
Andrew Watkins
1cfe98ec09
Put add funcs to fields in one reducer function
2017-10-17 12:42:54 -07:00
Chris Goller
5ff766e728
Update query building to new queryConfig shape
2017-10-17 12:42:54 -07:00
Chris Goller
9652703e5b
Move influxql spec file to correct location
2017-10-17 12:42:54 -07:00
Andrew Watkins
c6c63afbe6
WIP adding funcs and fields to query config v2
2017-10-17 12:42:54 -07:00
Hunter Trujillo
42d508e35a
WIP
2017-10-17 12:42:54 -07:00
Hunter Trujillo
ef4b01513b
WIP
2017-10-17 12:42:53 -07:00
Nathan Haugo
5a48394802
Merge branch 'master' into bug/fix-rp-copy
2017-10-10 11:07:06 -07:00
Alex Paxton
ad6fd8ee2e
Merge pull request #2078 from influxdata/rule-builder-polish-2
...
UI IMPROVEMENT: Rule Builder Polish
2017-10-10 09:34:07 -07:00
Andrew Watkins
4be06d1bf2
Fix tests
2017-10-09 13:01:40 -07:00
Andrew Watkins
d6663a1dcb
Add format to timeRange
2017-10-09 13:01:40 -07:00
Andrew Watkins
d4f002cc63
Add more properties to timeRange proptypes
2017-10-09 13:01:40 -07:00
Andrew Watkins
3cc59e847e
Simplify reducer
2017-10-09 13:01:40 -07:00
Andrew Watkins
caa3060950
Gaurd against ranges being undefined
2017-10-09 13:01:39 -07:00
Andrew Watkins
50ecc5d757
Add dashboard to props
2017-10-09 13:01:39 -07:00
Andrew Watkins
d2c2f81975
Move coercion of string into id normalizer
...
If an when we move to using URI's as the dynamic parameters
in routes. We will need a consolidate place to decocde them or
ensure they are of the proper types and shape. This commit introduces
this pattern.
2017-10-09 13:01:39 -07:00
Andrew Watkins
c0422f2163
Future proof buildInfluxQL function
2017-10-09 13:01:39 -07:00
Andrew Watkins
33593e7df0
Semantics
2017-10-09 13:01:39 -07:00
Andrew Watkins
9abbce4160
Test cleanup
2017-10-09 13:01:39 -07:00
Andrew Watkins
a861c7a862
Test cleanup
2017-10-09 13:01:39 -07:00