Commit Graph

30 Commits (bd7d7a90f71939ae881daf0d20e84f4c464f81e0)

Author SHA1 Message Date
Pavel Zavora 460beb46c5 fix(schemaExplorer): ignore now() in upper timeRange 2022-02-09 15:23:38 +01:00
Pavel Zavora c3d191583c feat(schemaExplorer): introduce rangeArguments helper 2022-02-09 13:09:10 +01:00
Pavel Zavora d257c8c939 fix(ui): test extraction of exact time range 2021-09-23 15:09:02 +02:00
Pavel Zavora a1f5a93a71 feat: use fluxString when defining flux variable 2021-03-10 09:02:42 +01:00
Pavel Zavora b481df448d feat: add fluxString helper fn 2021-03-10 09:02:42 +01:00
Pavel Zavora ac7dd54657 feat: add test for flux script variable rendering 2021-03-10 09:02:42 +01:00
Pavel Zavora 9f27b6b381 chore: appease linter 2021-03-04 21:49:02 +01:00
Pavel Zavora e9e5ba6593 fix(ui/flux): add helper that creates flux property expression 2021-03-04 21:49:02 +01:00
Iris Scholten d1356cbb30 Update flux editor to use static functions file for suggestions 2018-11-01 16:37:48 -07:00
Daniel Campbell 11b3ab8fd6
Add Flux Functions Toolbar (#4700)
Co-authored-by: Daniel Campbell <metalwhirlwind@gmail.com>
2018-11-01 15:38:52 -07:00
Christopher Henn 905dff79e0 Reorganize Flux API utilities 2018-10-24 13:16:58 -07:00
Christopher Henn 308fed1f2a Enhance Flux autocompletion 2018-10-15 15:19:23 -07:00
Christopher Henn 1775261280 Remove BodyBuilder 2018-10-11 14:34:49 -07:00
Christopher Henn 681b1dcf2c Require explicit submit action in Flux builder 2018-10-04 13:42:09 -07:00
Iris Scholten f0d4f29f4c Treat flux service as a part of source 2018-10-01 12:44:46 -07:00
Brandon Farmer 7cb598e13b Flux editor stays selected when text changes 2018-09-24 09:55:21 -07:00
Jared Scheib e5f5ccf3e8
Maintain focus on Flux Editor text area when adding nodes via code (#4466)
* fix(flux/components): only autofocus new FuncArg input on user click

* update changelog
2018-09-17 14:42:17 -04:00
Brandon Farmer c4e40b7643 Update flux golang dependencies 2018-09-10 15:20:56 -07:00
Alirie Gray 61a0aea357 Remove FluxPage, related components and route 2018-09-07 12:12:18 -07:00
Alirie Gray d842622160
Save flux query in CEO (#4364)
* Add isSaveable condition for flux query in CEO

* Save flux query to cell in CEO

* Use flux query in Dashboard cell

* Move script state to cellEditorOverlay reducer

* Update Changelog

* Remove feature flag for allowFlux
2018-09-05 17:30:42 -07:00
Brandon Farmer 42e6b8a086 Use bucket instead of db for flux queries 2018-09-04 13:09:31 -07:00
Alirie Gray b781d2ece3
View flux editor in the CEO (#4311)
* Add FluxQueryEditor to CEO and move funcs to utils

* Use util functions in FluxPage

* Rename links to fluxLinks in TimeMachine

* Update Changelog

* Replace props with fluxContext
2018-08-29 13:32:59 -07:00
Iris Scholten 70c0d727a5 Fix failing test from addition of new props 2018-08-03 12:31:21 -07:00
Alirie Gray 0f393b8bf3 Flux/connections page (#4026)
* Load services on manages sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Flux dropdown on manage sources page

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add flux connection dropdown with create, select, and update

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Prevent creation of Flux connection with duplicate name

Fixed bug where refreshing page allowed for Flux or connections
with duplicate names to be created

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add ability to delete a FluxService from the fluxservice dropdown

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Change FluxPage to use the active flux connection set by FluxConnectionPage

Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Ensure that only flux services are loaded into redux services

* Polish styles for Flux Connection Page

Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add pingflux as a part of adding and updating a flux service

Co-authored-by: Chris Goller <goller@gmail.com>
Co-authored-by: Alirie Gray <alirie.gray@gmail.com>

* Add Swagger routes and definitions for Service endpoints

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace flux overlay with redirect to flux connections pages

* Add test for FluxConnectionPage

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Replace hard-coded string with enum

* Use active from metadata instead of service object in ServiceDropdown

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add generic for getDeep on service metadata property

* Capitalize enum constant values in FluxFormMode

* Show error notification when user reaches edit route for nonexistant flux

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>

* Add tests for FluxDropdown

* Update types for async functions
2018-07-26 18:16:02 -07:00
Andrew Watkins bea2548124 Introduce delete body 2018-06-15 09:18:52 -07:00
Alex P fae8d1f845 Fix failing test 2018-06-14 17:18:48 -07:00
Alex P 9fbe4944aa Rename 'Analyze' to 'Validate' 2018-06-14 10:27:46 -07:00
lukevmorris 94980fa0e3
Provide a builder UI for a Flux Filter Node (#3615)
* Introduce FilterArgs as a seam

* Selecting a value adds to Script and Preview

* Hydrate FilterArgs dropdown from function body

* Functional operator selector

* Style polish

* Rename Filter/FilterPreview components

* Pull types into flux type file

* Derive Flux Filter UI state directly from AST

* Default func body

* Remove flicker when updating conditions

* Render a div when filter body isn't supported

* Base condition (true) is parseable

* Remove a test file if it doesn't have any tests

* Enable tslint and resolve errors

* Address other PR feedback

* Tests and improved parsing logic

* Add helper text when filter ui falls back to a textarea
2018-06-08 18:36:50 -07:00
Christopher Henn 815597c069
Improve function specific autocomplete
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:24 -07:00
Andrew Watkins ed4a6f24e5
Change IFQL to Flux 2018-06-05 10:57:19 -07:00