Commit Graph

6910 Commits (d58f06b2321050b4e342986a43fda5ab0ac35923)

Author SHA1 Message Date
Iris Scholten 3f899048d6 Add last() before yield if before range() and filter()
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-12 13:37:27 -07:00
Deniz Kusefoglu 932336bff3 Merge pull request #3645 from influxdata/chore/TS-redundancy
Remove redundant FieldName in favor of FieldOption interface
2018-06-12 13:24:49 -07:00
Brandon Farmer 4244abd552 Remove feature flag for log viewer
- Strip newline from log messages

Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-12 13:19:53 -07:00
Brandon Farmer 1c19faa1f5 Implement load on scroll
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-06-12 13:12:09 -07:00
Alex P b8fb73b784 Decrease font size of calendar tiles and remove border 2018-06-12 13:06:41 -07:00
Alex P f2364421f3 Use drop shadow CSS mixin 2018-06-12 13:06:23 -07:00
Alex P a72566da58 Fix arrows in date picker 2018-06-12 13:05:57 -07:00
ebb-tide 31c4d347f5 Remove redundant FieldName in favor of FieldOption interface 2018-06-12 11:16:46 -07:00
Chris Henn df03ae5850 Merge pull request #3636 from influxdata/bugfix/single-stat
Fix line graph + single stat dygraphs
2018-06-12 09:20:20 -07:00
Jared Scheib 40f83a64d1 Merge pull request #3556 from influxdata/fix/tempvars_url_query
Add ability to override template variables and time ranges via URL query
2018-06-11 17:08:34 -07:00
Christopher Henn e028b7c4a5 Fix line graph + single stat dygraphs 2018-06-11 16:52:03 -07:00
Jared Scheib a8180f6920 Rename pruneDashboardTimeV1 to retainRangesDashboardTimeV1 2018-06-11 16:42:06 -07:00
Jared Scheib 37eb215869 Remove obsolete jsdoc comments 2018-06-11 16:26:17 -07:00
Jared Scheib 77f5f44793 Remove obsolete tempVarOverrides reducer prop 2018-06-11 16:19:40 -07:00
Jared Scheib 654ad6fdcd Rename queries to queryParams for clarity 2018-06-11 16:13:45 -07:00
Alex Paxton 65d0236842 Merge pull request #3612 from influxdata/polish/icons
Polish Icons
2018-06-11 16:04:05 -07:00
Iris Scholten 533ae1acf7 Prevent yield() from being added before a range and filter function
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 14:37:31 -07:00
Jared Scheib 630e9a8184 Add type for loadDashboard action 2018-06-11 14:12:40 -07:00
Jared Scheib d4ef31e5de Remove obsolete onCancelEditCell method relevant to last merge changeset 2018-06-11 14:11:16 -07:00
Iris Scholten 699d86931f Stop propagation of click events from funcArgs
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 14:10:34 -07:00
Jared Scheib b1d1876621 Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query 2018-06-11 14:08:57 -07:00
Andrew Watkins 03afd831f7 Dygraph to TypeScript 2018-06-11 14:03:56 -07:00
Alex Paxton 1d46b4d615 Merge branch 'master' into polish/icons 2018-06-11 13:59:48 -07:00
Alex P 350569f2a4 Highlight func nodes when they precede a yield node 2018-06-11 13:57:28 -07:00
Alex P 510568c682 Style yield node visualization to conform to available space 2018-06-11 13:56:11 -07:00
Deniz Kusefoglu ba56a3ca4d Merge pull request #3614 from influxdata/bugfix/multiple-legends
Bugfix/multiple legends
2018-06-11 12:52:35 -07:00
Iris Scholten 98496418fd Get the correct data for a yield node
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 11:34:09 -07:00
Brandon Farmer e94dc256b4 Refactor and decrease render calls for log viewer table 2018-06-11 11:29:59 -07:00
Iris Scholten c13d40de3d Move the script above the explorer
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten 0c5453d200 Fix error when declaration has no funcs
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Del 4ded95e9e4 Move time machine visualization from bottom division to yield func node
component

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Del 62ce1c2c64 Add unique name to yield func nodes
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten 60c82d405b Stop propagation when clicking on the dropdown in funcNodes
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten ee38ea789e Remove yield if clicking on FuncNode with a yield func node after it
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Iris Scholten c64933541b Add a yield node immediately after a clicked funcNode
Co-authored-by: Delmer Reed <delmer814+1@gmail.com>
2018-06-11 10:47:17 -07:00
Jared Scheib 2036071827 Type new dashboard actions 2018-06-08 19:51:40 -07:00
Jared Scheib 0e69777933 Add DefinitelyTyped for react-router-redux v4 2018-06-08 19:51:04 -07:00
Jared Scheib 8238caf934 Type new synchronous dashboard action creators 2018-06-08 19:01:17 -07:00
Jared Scheib 73480c7128 Collapse spaces between dashboard types & actions for readability 2018-06-08 18:56:11 -07:00
Jared Scheib 77b475cd6b Type remaining new fns in dashboard/utils/tempVars.ts 2018-06-08 18:48:58 -07:00
Jared Scheib a15a950992 Create file for tempVars types, move tempVar types there, and update imports 2018-06-08 18:38:22 -07:00
Jared Scheib 93d09f5c12 Type stripTempVar 2018-06-08 18:37:30 -07:00
lukevmorris 37855fcf25 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
Jared Scheib d6e4c3517f Rename & type generateURLQueriesFromTempVars 2018-06-08 18:30:47 -07:00
Jared Scheib c78c4885c6 Move viewer unauthorized notification to tempvars section 2018-06-08 18:22:07 -07:00
Jared Scheib 767b5a56ef Delete obsolete DashboardsPage.js file left by merge 2018-06-08 18:20:41 -07:00
Jared Scheib a2e21db12e Remove obsolete comment 2018-06-08 18:20:25 -07:00
Deniz Kusefoglu e61304aa85 Merge pull request #3604 from influxdata/bugfix/table-graph-series-name
Bugfix/table graph series name
2018-06-08 17:55:10 -07:00
ebb-tide c35770b90b Fix prettier error 2018-06-08 17:52:47 -07:00
nathan haugo 042b168c5a Update the name to fqi 2018-06-08 17:37:22 -07:00
Jared Scheib 3c99cabd8f Prevent Viewer role from overriding temp vars from URL query 2018-06-08 17:31:21 -07:00
Jared Scheib b8d7e317db Fix dashboard switching & loading dashboard upon switching 2018-06-08 15:42:18 -07:00
Jared Scheib d59443e55a Fix merge bug where temp vars selected action needed changed prop key 2018-06-08 15:40:59 -07:00
Andrew Watkins 957880bea2 Add test for SET_ACTIVE_CELL 2018-06-08 15:34:59 -07:00
Christopher Henn 4285abf5d4 Ensure schema explorer copy button visible 2018-06-08 15:22:54 -07:00
Andrew Watkins ba62ec82b5 Type dashboard test 2018-06-08 15:11:16 -07:00
Alex P 68d05a3ce9 Use solid dashboard icon in dashboard switcher
Might have a minute usability boost
2018-06-08 14:41:50 -07:00
Alex P 038d267980 Change source indicator to look more "databasey" 2018-06-08 14:41:32 -07:00
Alex P cd5964b3c6 Move Time Machine into its own nav tab with "Flux Capacitor" icon 2018-06-08 14:41:16 -07:00
Alex P aec602b7a8 Update icon font 2018-06-08 14:40:25 -07:00
Chris Henn 0f4116147a Merge pull request #3609 from influxdata/flux/cache-metaqueries
Preserve schema tree children open state
2018-06-08 14:30:34 -07:00
Chris Henn 28c69ff92d Merge pull request #3599 from influxdata/bugfix/kapacitor-form-alignment
Fix misaligned kapacitor form
2018-06-08 14:16:48 -07:00
Christopher Henn e657b052c2 Preserve open state of schema tree children 2018-06-08 13:59:06 -07:00
Andrew Watkins 18956c8f0b Remove linter comment 2018-06-08 13:51:33 -07:00
Andrew Watkins 4dde7a2ba9 Convert dashboard test to ts 2018-06-08 13:51:11 -07:00
Christopher Henn 7740e3375b Group schema tree children in div 2018-06-08 13:28:29 -07:00
Brandon Farmer b4581498bd Merge pull request #3593 from influxdata/log-viewer/dynamic-message-width
Message column width changes with window size
2018-06-08 11:07:44 -07:00
Alex Paxton f8c8f97bec Merge pull request #3598 from influxdata/flux/vertical-builder
Make Flux Builder Stack Vertically
2018-06-08 11:05:21 -07:00
Brandon Farmer 7f7b61d5ec Handle failing queries for log viewer 2018-06-08 10:49:42 -07:00
ebb-tide 17789f848f Remove unnecessary comment in TableGraph 2018-06-08 10:48:44 -07:00
Andrew Watkins dcf1553d9e Remove FeatureFlag from Flux Page 2018-06-08 10:44:06 -07:00
ebb-tide 0b526d47e2 Add isGroupBy field to series that have groupby 2018-06-08 10:13:37 -07:00
Alex P d5654b723e Refactor func args to use getters instead of ternary
Cleaning up the render function
2018-06-08 10:10:37 -07:00
Jared Scheib da2a3930aa Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query 2018-06-07 18:05:13 -07:00
Brandon Farmer 7d39f74551 Add indication if query is running 2018-06-07 16:38:13 -07:00
Christopher Henn c0bbdee93e Fix misaligned kapacitor form 2018-06-07 16:36:48 -07:00
Alex P a9ab9e0c41 Align func node tooltip contents horizontally 2018-06-07 16:22:12 -07:00
Chris Henn 2d03fbc234 Merge pull request #3596 from influxdata/flux/limit-responses
Improved handling of large Flux query responses
2018-06-07 16:13:20 -07:00
Jared Scheib e55f362628 Make browser Back button work as expected in the context of url queries syncing
Replace rather than push browser history when syncing url queries.
2018-06-07 16:02:07 -07:00
Brandon Farmer 27d21914ae Selecting source is reflected in the dropdown 2018-06-07 15:43:41 -07:00
Jared Scheib e9c9b33b88 Clear and hydrate temp vars on switch dashboards
componentDidMount was the only place that hydrating and syncing was happening,
but the component did not re-mount when you use the dashboard switcher. So
the new React 16 componentDidUpdate life cycle method was an appropriate place
to detect if the dashboard had switched, rather than creating an event handler
for dashboard switching.
2018-06-07 15:40:34 -07:00
Jared Scheib 2225cd4ad4 Get dashboards names for DashboardSwitcher
Refactor dashboards names into DashboardPage component state and
refresh names upon dashboard rename.
2018-06-07 15:35:05 -07:00
Jared Scheib 10c084fca8 Remove obsolete comment 2018-06-07 15:29:04 -07:00
Alex P 5e86a7b5e7 Position node tooltips to the right of the node 2018-06-07 15:08:39 -07:00
Alex P 278c147089 Add connector line from unassigned FROM to following node 2018-06-07 14:54:37 -07:00
Andrew Watkins 8b867d3ad3 Merge pull request #3595 from influxdata/flux/char-error
Flux Page Error Robustness
2018-06-07 14:39:16 -07:00
Alex P 944c4ed803 Add connector dot to variables when they are assigned to queries 2018-06-07 14:37:42 -07:00
Christopher Henn fd2a489a91 Increase max response limit 2018-06-07 14:32:54 -07:00
Christopher Henn 5645764478 Improve scrolling performance in TimeMachineTable 2018-06-07 14:32:54 -07:00
Christopher Henn a754311b05 Only parse first 2MB of Flux query responses 2018-06-07 14:32:54 -07:00
Andrew Watkins 252e845e15 Fix updating twice 2018-06-07 14:19:43 -07:00
Andrew Watkins 61c67c98f3 Fix typing 2018-06-07 13:36:07 -07:00
Andrew Watkins 1ace9495ff Update AST debounce script typing change 2018-06-07 13:30:05 -07:00
Alex P 09b44edfe1 Redesign flux builder to stack nodes vertically 2018-06-07 11:57:48 -07:00
Alex P 4b92b84b58 Wrap body builder in fancy scrollbars 2018-06-07 11:57:25 -07:00
Andrew Watkins a2122eabe8 Add clickable gutter error 2018-06-07 11:18:37 -07:00
Brandon Farmer d03cee0535 Message column width changes with window size 2018-06-07 11:05:45 -07:00
Alex Paxton 241b8588fd Merge pull request #3589 from influxdata/flux/explorer-polish
Flux Explorer Polish
2018-06-07 10:38:56 -07:00
Alex P b17eaaf8aa Refactor to remove ternary 2018-06-07 10:03:01 -07:00
Alex P feecd88147 Replace icons in navbar with redesigned "outline" style icons 2018-06-06 17:27:22 -07:00