Commit Graph

7047 Commits (58abce8d14e447cba7f48c9d81334f76d6ae504b)

Author SHA1 Message Date
Andrew Watkins a1b7eda7b2 WIP initial upgrade path webpack 4 2018-06-11 14:59:16 -07:00
Iris Scholten c69281ca9f 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 bd72720732 Add type for loadDashboard action 2018-06-11 14:12:40 -07:00
Jared Scheib 558400a714 Remove obsolete onCancelEditCell method relevant to last merge changeset 2018-06-11 14:11:16 -07:00
Iris Scholten ec4e8856d4 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 5bf315c0ed Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query 2018-06-11 14:08:57 -07:00
Andrew Watkins 79ac6095fb Dygraph to TypeScript 2018-06-11 14:03:56 -07:00
Alex Paxton 45f8598413
Merge branch 'master' into polish/icons 2018-06-11 13:59:48 -07:00
Alex P 2564f26de3 Highlight func nodes when they precede a yield node 2018-06-11 13:57:28 -07:00
Alex P 5ed292cb83 Style yield node visualization to conform to available space 2018-06-11 13:56:11 -07:00
Deniz Kusefoglu 61d2645c59
Merge pull request #3614 from influxdata/bugfix/multiple-legends
Bugfix/multiple legends
2018-06-11 12:52:35 -07:00
Iris Scholten 0927635aeb 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 30755cd3f4 Refactor and decrease render calls for log viewer table 2018-06-11 11:29:59 -07:00
Iris Scholten 091d59a4dc 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 5c4d2aa9ad 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 1db5de72d1 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 8edd0b3ff6 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 2ee002eedd 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 d6a5b018dd 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 fe505ed00f 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 b3af9ace01 Type new dashboard actions 2018-06-08 19:51:40 -07:00
Jared Scheib 62d269e97b Add DefinitelyTyped for react-router-redux v4 2018-06-08 19:51:04 -07:00
Jared Scheib 3db24b982b Type new synchronous dashboard action creators 2018-06-08 19:01:17 -07:00
Jared Scheib c66c8dff2f Collapse spaces between dashboard types & actions for readability 2018-06-08 18:56:11 -07:00
Jared Scheib 2080c32185 Type remaining new fns in dashboard/utils/tempVars.ts 2018-06-08 18:48:58 -07:00
Jared Scheib dc912ab974 Create file for tempVars types, move tempVar types there, and update imports 2018-06-08 18:38:22 -07:00
Jared Scheib c15e137cb2 Type stripTempVar 2018-06-08 18:37:30 -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
Jared Scheib 0c00da2249 Rename & type generateURLQueriesFromTempVars 2018-06-08 18:30:47 -07:00
Jared Scheib 05129e8371 Move viewer unauthorized notification to tempvars section 2018-06-08 18:22:07 -07:00
Jared Scheib afc221e607 Delete obsolete DashboardsPage.js file left by merge 2018-06-08 18:20:41 -07:00
Jared Scheib 53a0f07d42 Remove obsolete comment 2018-06-08 18:20:25 -07:00
Deniz Kusefoglu c4bad5b0d1
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 d4b95675e5 Fix prettier error 2018-06-08 17:52:47 -07:00
nathan haugo d885ae27cf Update the name to fqi 2018-06-08 17:37:22 -07:00
Jared Scheib b122f43348 Prevent Viewer role from overriding temp vars from URL query 2018-06-08 17:31:21 -07:00
Jared Scheib ff1b758091 Fix dashboard switching & loading dashboard upon switching 2018-06-08 15:42:18 -07:00
Jared Scheib bab5a1e7bc Fix merge bug where temp vars selected action needed changed prop key 2018-06-08 15:40:59 -07:00
Andrew Watkins b7a199be4d Add test for SET_ACTIVE_CELL 2018-06-08 15:34:59 -07:00
Christopher Henn 260f8add4b
Ensure schema explorer copy button visible 2018-06-08 15:22:54 -07:00
Andrew Watkins 4287c573e4 Type dashboard test 2018-06-08 15:11:16 -07:00
Alex P 011351789c Use solid dashboard icon in dashboard switcher
Might have a minute usability boost
2018-06-08 14:41:50 -07:00
Alex P 7f84b3e2f5 Change source indicator to look more "databasey" 2018-06-08 14:41:32 -07:00
Alex P e5f53239b7 Move Time Machine into its own nav tab with "Flux Capacitor" icon 2018-06-08 14:41:16 -07:00
Alex P a5996f4190 Update icon font 2018-06-08 14:40:25 -07:00
Chris Henn 886da96d44
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 0649fc8ab9
Merge pull request #3599 from influxdata/bugfix/kapacitor-form-alignment
Fix misaligned kapacitor form
2018-06-08 14:16:48 -07:00
Christopher Henn 093183890b
Preserve open state of schema tree children 2018-06-08 13:59:06 -07:00
Andrew Watkins 85a4dfa1c8 Remove linter comment 2018-06-08 13:51:33 -07:00
Andrew Watkins b9a22a14ab Convert dashboard test to ts 2018-06-08 13:51:11 -07:00
Christopher Henn df5efbc9f9
Group schema tree children in div 2018-06-08 13:28:29 -07:00
Brandon Farmer 5616ff9ec3
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 5e5d49d6cc
Merge pull request #3598 from influxdata/flux/vertical-builder
Make Flux Builder Stack Vertically
2018-06-08 11:05:21 -07:00
Brandon Farmer 6987b660e5 Handle failing queries for log viewer 2018-06-08 10:49:42 -07:00
ebb-tide 057b062381 Remove unnecessary comment in TableGraph 2018-06-08 10:48:44 -07:00
Andrew Watkins 47327459fd Remove FeatureFlag from Flux Page 2018-06-08 10:44:06 -07:00
ebb-tide e1a105757e Add isGroupBy field to series that have groupby 2018-06-08 10:13:37 -07:00
Alex P 6fdc610f69 Refactor func args to use getters instead of ternary
Cleaning up the render function
2018-06-08 10:10:37 -07:00
Jared Scheib 969c21d776 Merge remote-tracking branch 'origin/master' into fix/tempvars_url_query 2018-06-07 18:05:13 -07:00
Brandon Farmer 5c56a9f82d Add indication if query is running 2018-06-07 16:38:13 -07:00
Christopher Henn 5bda9c4150
Fix misaligned kapacitor form 2018-06-07 16:36:48 -07:00
Alex P c71ddb3e6f Align func node tooltip contents horizontally 2018-06-07 16:22:12 -07:00
Chris Henn 0e9552f495
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 f2dbf20715 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 4eab5e5ed2 Selecting source is reflected in the dropdown 2018-06-07 15:43:41 -07:00
Jared Scheib 4526655b9b 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 f841932ea3 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 13c371eecf Remove obsolete comment 2018-06-07 15:29:04 -07:00
Alex P 419eb07b90 Position node tooltips to the right of the node 2018-06-07 15:08:39 -07:00
Alex P d77263011c Add connector line from unassigned FROM to following node 2018-06-07 14:54:37 -07:00
Andrew Watkins 34916b7f99
Merge pull request #3595 from influxdata/flux/char-error
Flux Page Error Robustness
2018-06-07 14:39:16 -07:00
Alex P 3a66f92114 Add connector dot to variables when they are assigned to queries 2018-06-07 14:37:42 -07:00
Christopher Henn c1d7333807
Increase max response limit 2018-06-07 14:32:54 -07:00
Christopher Henn 8f74d1f4b4
Improve scrolling performance in TimeMachineTable 2018-06-07 14:32:54 -07:00
Christopher Henn 0739c2f2ce
Only parse first 2MB of Flux query responses 2018-06-07 14:32:54 -07:00
Andrew Watkins 2ca649ab47 Fix updating twice 2018-06-07 14:19:43 -07:00
Andrew Watkins cf0c4579b0 Fix typing 2018-06-07 13:36:07 -07:00
Andrew Watkins 2914069ee5 Update AST debounce script typing change 2018-06-07 13:30:05 -07:00
Alex P d6059a63d8 Redesign flux builder to stack nodes vertically 2018-06-07 11:57:48 -07:00
Alex P 75ba68e22e Wrap body builder in fancy scrollbars 2018-06-07 11:57:25 -07:00
Andrew Watkins cd1b77eecc Add clickable gutter error 2018-06-07 11:18:37 -07:00
Brandon Farmer f69198cef3 Message column width changes with window size 2018-06-07 11:05:45 -07:00
Alex Paxton e2351e3b25
Merge pull request #3589 from influxdata/flux/explorer-polish
Flux Explorer Polish
2018-06-07 10:38:56 -07:00
Alex P 95fce636c2 Refactor to remove ternary 2018-06-07 10:03:01 -07:00
Alex P a0d1dca7e6 Replace icons in navbar with redesigned "outline" style icons 2018-06-06 17:27:22 -07:00
Iris Scholten 90180754fa Rebase onto changeset from #3527 to fix time ranges for unparseable queries
Convert ui/src/shared/data/timeRanges to typescript

Update type in timeRanges.ts to extend TimeRange type from src/types/query

Fix typo in buildCannedDashboardQuery

Update addTimeBoundsToRawText to use regex in its string matching checks instead of strings
2018-06-06 17:17:33 -07:00
Alex P 90a87e9356 Fix linter bug 2018-06-06 16:41:22 -07:00
Alex P ace4a047a2 Polish loading dots 2018-06-06 16:00:54 -07:00
Alex P b87d726d9a Merge branch 'master' into flux/explorer-polish 2018-06-06 15:51:44 -07:00
Alex P 5f806cb60d Randomize widths of skeleton loader blocks 2018-06-06 15:35:09 -07:00
Brandon Farmer 8ca0a6f1e4
Merge pull request #3588 from influxdata/log-viewer/filtering
Log viewer/filtering
2018-06-06 15:33:11 -07:00
Brandon Farmer 55b58a8e39 Allow tags to be filtered with regex 2018-06-06 15:10:58 -07:00
Alex P a578ffae29 Update styles 2018-06-06 14:43:37 -07:00
Alex P 2513453743 Change classnames to be more BEM 2018-06-06 14:43:31 -07:00
Alex P ce7f9c52ad Wrap tag values count in div 2018-06-06 14:43:03 -07:00
Alex P a50e9e9b3e Make search inputs smaller 2018-06-06 14:42:40 -07:00
Jared Scheib 929ceb3b97 Fix source maps to exactly reflect code instead of es5 transpilation 2018-06-06 14:15:59 -07:00
Iris Scholten 4cc0c93fd2
Merge pull request #3575 from influxdata/ifql/copy-paste-schema
flux/Copy to clipboard in schema explorer
2018-06-06 14:14:43 -07:00
Brandon Farmer 9abafe1dc2 Basic == and != filtering for logs
Co-authored-by: Delmer Reed<delmer814+1@gmail.com>
2018-06-06 13:35:39 -07:00
Iris Scholten 68b9edec8a Rename copy functions for clarity 2018-06-06 13:31:45 -07:00
Iris Scholten 23bed0cb1b Create a notificationAction type to be used as notify's type 2018-06-06 13:28:22 -07:00
Chris Henn 694ecd2971
Merge pull request #3583 from influxdata/flux/autocomplete
Function / Param specific autocomplete
2018-06-06 13:20:03 -07:00
Alex Paxton 5c4ab41ff4
Merge pull request #3580 from influxdata/polish/log-icon
Replace log viewer icon with "log" icon
2018-06-06 13:06:01 -07:00
Christopher Henn 8aeba97319
Fix autocomplete typo 2018-06-06 13:04:25 -07:00
Christopher Henn 11e2ebcdda
Don't insert newlines with default Flux script
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-06-06 13:04:25 -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
Christopher Henn 0efda40a47
Remove unnecessary CodeMirror addon code
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
Christopher Henn 7187f64d4c
Use server-provided completion suggestions
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
Christopher Henn 1bcd89151a
Display autocomplete hints on Ctrl-Space only
...as opposed to on every key up.

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-06 13:04:24 -07:00
Alex P 1791e4ec53 Merge branch 'master' into logs-viewer/filter-bar 2018-06-06 11:34:27 -07:00
Alex P 68c670c979 Complete editable filter interaction 2018-06-06 11:28:56 -07:00
Alex P c40385dc5d Replace log viewer icon with "log" icon 2018-06-06 10:50:42 -07:00
Jared Scheib dd8dfc56c9
Merge pull request #3574 from influxdata/fix/webpack_sourcemaps
Fix source maps to exactly reflect code instead of es5 transpilation
2018-06-05 16:53:34 -07:00
Iris Scholten 9b4af1a23e Add copy to clipboard to Tag value list items 2018-06-05 16:31:25 -07:00
Iris Scholten 99cc5e4135 Add copy to clipboard to tag list items 2018-06-05 16:19:41 -07:00
Iris Scholten 08388af19b Update styles for copy to clipboard
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 15:16:31 -07:00
Jared Scheib 04ef3ca5c3 Fix source maps to exactly reflect code instead of es5 transpilation 2018-06-05 14:37:12 -07:00
Iris Scholten f06c2e25c0 Send notification when copying to clipbaord 2018-06-05 14:24:56 -07:00
Alex P 46a2978483 Remove excess closure 2018-06-05 14:14:31 -07:00
Alex P b02bf2fc4d WIP Make filter blocks editable 2018-06-05 13:59:13 -07:00
Iris Scholten 809da1ab4d Refactor the filter logic into getter 2018-06-05 13:37:09 -07:00
Iris Scholten 245228b847 Create styles for copy in schema and stop click propagation 2018-06-05 13:31:26 -07:00
Iris Scholten cba5a9a4f8 Add copy and paste functionality to DatabaseListItem in IFQL schema 2018-06-05 11:15:48 -07:00
Chris Henn 9ac2ef09f0
Merge pull request #3571 from influxdata/flux/rename-everything
Rename all usage of "IFQL" to "Flux"
2018-06-05 11:11:44 -07:00
Christopher Henn 7a30b6fab8
Reorganize Flux apis and parsing 2018-06-05 10:57:20 -07:00
Andrew Watkins ed4a6f24e5
Change IFQL to Flux 2018-06-05 10:57:19 -07:00
Iris Scholten 6a85b87713 Fix error from clicking on an imported dashboard due to redux not being loaded with new dashboard 2018-06-05 10:41:24 -07:00
Iris Scholten 0f6c60329e Fix error when dashboard import does not contain template variables 2018-06-05 10:41:24 -07:00
Iris Scholten 2eea86707b Add notifications for exports 2018-06-05 10:41:24 -07:00
Iris Scholten 9b57919c90 Convert dashboard ui/src/dashboards/actions/index.js and ui/src/dashboards/utils/templateVariableQueryGenerator.js to typescript 2018-06-05 10:41:24 -07:00
Alex P 3aa08aa3ab Implement DragAndDrop in ImportDashboardOverlay
Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 10:41:24 -07:00
Alex P b010e70d3a Revert commit 7338312 2018-06-05 10:41:24 -07:00
Alex P f23c7bf156 Remove unused state 2018-06-05 10:41:24 -07:00
Alex P f1cc1d85ce Polish styles of drag and drop component 2018-06-05 10:41:24 -07:00
Iris Scholten 3b6c973ee8 WIP Create DragAndDrop component
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-06-05 10:41:24 -07:00
Iris Scholten 44cef03127 Add meta section to the expored file for chronografVersion and any other future metadata 2018-06-05 10:41:24 -07:00
Iris Scholten 69762e8c6a Prevent the user from being able to import a file with invalid JSON or before a file is added 2018-06-05 10:41:24 -07:00
Iris Scholten b2aeacdd1a PrettyPrint dashboard export 2018-06-05 10:41:24 -07:00
Iris Scholten 337bdcc9c3 Send notifications for dashboard imports 2018-06-05 10:41:24 -07:00
Iris Scholten 701c30c356 Ensure only users with editor role or higher can import dashboard 2018-06-05 10:41:24 -07:00
Iris Scholten d126a85451 Add begining styles for dashboard imports 2018-06-05 10:41:24 -07:00
Iris Scholten 9bd84275eb Allow users to import Dashboard from file 2018-06-05 10:41:24 -07:00
Iris Scholten df4f174b47 Convert DashboardsHeader to typescript 2018-06-05 10:41:24 -07:00
Iris Scholten 2b6c7ed5d4 Convert DashboadsPage to typescript 2018-06-05 10:41:24 -07:00
Iris Scholten fa514945f0 Fix type errors 2018-06-05 10:41:24 -07:00
Alex P 3acd1a6dbc Remove bindActionCreators 2018-06-05 10:41:24 -07:00
Alex P ce22c25ab2 Fix type error with show overlay 2018-06-05 10:41:24 -07:00
Alex P a32f27ea75 Introduce ImportDashboardOverlay component 2018-06-05 10:41:24 -07:00
Alex P dfd153bb1a Introduce styles for overlay sub-components 2018-06-05 10:41:24 -07:00
Alex P 5e96f6424e Introduce generic overlay components 2018-06-05 10:41:24 -07:00
Alex P 53a610b247 Update styles of import dashboard button 2018-06-05 10:41:24 -07:00
Alex P 04eea50c24 Fix bug 2018-06-05 10:41:24 -07:00
Alex P 82eba200d3 Introduce styles for "Panel controls"
These are groups of controls that exist as a child of `.panel-heading`
Serves as a generic replacement for `.dashboards-page—actions`
2018-06-05 10:41:24 -07:00
Alex P 8e75ab6760 Convert component to TypeScript 2018-06-05 10:41:24 -07:00
Brandon Farmer aa4515daf3 Show histogram for log counts in log viewer 2018-06-05 10:41:24 -07:00
Iris Scholten 05ae1a5dc0 Allow viwer roles or higher to Export a dashboard 2018-06-05 10:40:44 -07:00
Iris Scholten 03528ffa3c Add ability to export a dashboard as a json file with chronografVersion 2018-06-05 10:40:44 -07:00
Iris Scholten 394e2b5569 Convert DashboardsTable to typescript 2018-06-05 10:40:44 -07:00
Alex Paxton 1952a485f6
Merge pull request #3570 from influxdata/logs-viewer/polish
Logs Viewer Polish
2018-06-05 10:39:43 -07:00
Alex P 4dfddd03e2 Add newline in stylesheet 2018-06-05 10:08:03 -07:00
Alex P 93c068797a Add clickable style and div 2018-06-05 09:59:58 -07:00
Alex P 2ae0029b43 Style hover state and cells 2018-06-05 09:59:44 -07:00
Alex P 0eaf5ccc09 Add return types 2018-06-05 09:58:35 -07:00
Alex P 4693ff6c41 Show short text for severity level 2018-06-05 09:58:18 -07:00
Alex P f6768280b8 Change widths of columns 2018-06-05 09:57:40 -07:00
Chris Henn bca562317a
Merge pull request #3567 from influxdata/flux/table-sidebar-filter
Enable filtering of Flux table sidebar
2018-06-05 09:12:08 -07:00
Christopher Henn 58cd787b49
Enable filtering of Flux table sidebar 2018-06-04 16:46:04 -07:00
Chris Henn 924350c2e4
Merge pull request #3566 from influxdata/flux/table-cols
Tweak Flux table visualization
2018-06-04 16:45:44 -07:00
Chris Henn 2add416531
Merge pull request #3565 from influxdata/ifql/table
Introduce line graph visualization to Flux page
2018-06-04 16:12:10 -07:00
Christopher Henn 66f4ee540f
Improve display of table names in table sidebar
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 16:10:20 -07:00
Christopher Henn 3835ed2958
Fix Flux schema explorer filter placeholder text
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 15:42:21 -07:00
Christopher Henn 062f8671e1
Exclude certain columns from Flux table vis
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 14:38:56 -07:00
Chris Henn c04635223f
Merge pull request #3554 from influxdata/upgrade-jest
Upgrade Jest
2018-06-04 14:12:16 -07:00
Christopher Henn 4cabb78e3e
Introduce Line Graph to Time Machine
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-04 14:10:48 -07:00
Alex Paxton 5de0d49f5a
Merge pull request #3564 from influxdata/bugfix/color-scale-dropdown
Fix Color Scale Dropdown
2018-06-04 13:32:59 -07:00
Alex P cbec38dfe3 Add max height to fancy scrollbar 2018-06-04 12:53:42 -07:00
Brandon Farmer 8cf32e79d2
Merge pull request #3555 from influxdata/log-viewer/auto-refresh
Adds autorefresh with play/pause
2018-06-04 12:05:13 -07:00
Brandon Farmer b5942c968f Add dummy filters back in for display purposes 2018-06-04 11:49:58 -07:00
Jared Scheib 2ca08f57c9 WIP Fix zoomedTimeRange from URL queries
Zoomed time ranges are being passed down correctly to the cells,
but it appears in the Network tab that the cells are not updating
according to the zoomed temp var value data. The proxy is hit many
times, without the correct zoomed time range, but the final request
does contain the correct zoomed time range. At this point, I would
expect the graphs to refresh to the zoomed range, but they don't.

A setState waiting for all tempVars to be synced doesn't seem to
do the trick either.

Previously, this was working when zoomedTimeRange was on state
and the values were found from the query string while in the
constructor. After refactoring to put zoomedTimeRange into redux
so that it could be included in all of the temp var reconciliation
thunks, it is no longer working correctly.
2018-06-01 23:25:38 -07:00
Jared Scheib 2b16939f7f Refactor time range validation logic to always return TimeRange
Clean up namespace & logic flow in
syncDashboardTimeRangeFromURLQueries.

Authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 22:44:42 -07:00
Jared Scheib f7f8b2d93a Refactor dashboard URL queries and temp var handling into thunks
Refactor zoomedTimeRange to be on DashboardPage props & use redux.

This cleans up DashboardPage considerably by adding a dedicated
loadDashboard action creator & reducer, moving zoomedTimeRange
out of component state and into redux state, and moving all of
the URL queries and template variable reconciliation into a single
series of async action creators (thunks) that hydrate a dashboard's
template variables and then reconcile them with URL queries.

This also moves URL query parsing for tempvars and time ranges
back out of the middleware and into this new dashboard thunk series.

This also renames a number of fns and vars for clarity.
2018-06-01 21:41:43 -07:00
Jared Scheib 2e655f46fb Rename runTemplateVariableQuery to getTempVarValuesBySourceQuery for clarity 2018-06-01 17:45:36 -07:00
Jared Scheib 3500f715c3 Clarify putDashboardByID comment 2018-06-01 17:32:46 -07:00
Jared Scheib f07edfbefd Rename updateTempVarValues to hydrateTempVarValues for clarity
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 17:30:54 -07:00
Alex P 08f08bd0f6 Replace button with compact tab toggle 2018-06-01 16:59:51 -07:00
Jared Scheib 77f47c2c06 Revert notification message for invalid URL query value for temp vars 2018-06-01 16:51:16 -07:00
Jared Scheib efd089020f Don't show notification when no lower time range in URL query
Update validTimeRange to make having no lower acceptable

Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 16:47:32 -07:00
Alex P 0bbdc9efc0 Add "Play" icon to icon font 2018-06-01 16:47:18 -07:00
ebb-tide d27036c825 Merge branch 'master' into ifql/join 2018-06-01 16:09:35 -07:00
ebb-tide dbe16c4ada Remove overspeicialized arg type definitions 2018-06-01 16:05:41 -07:00
Andrew Watkins d2154aa194
Fix Flux CSV response parsing
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-06-01 15:49:50 -07:00
Andrew Watkins e3196a6d2d
Add in browser debugger for testing 2018-06-01 15:49:50 -07:00
Christopher Henn 9bb8bdf4d3
Upgrade Jest 2018-06-01 15:49:49 -07:00
Christopher Henn 958316bec8
Upgrade Jest 2018-06-01 15:49:32 -07:00
Deniz Kusefoglu 5ad75beabc Validate URL query for zoomed time range input & notify if invalid
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 15:39:43 -07:00
Deniz Kusefoglu ee986def89 Validate URL query time range for lower being before upper in time sequence
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-06-01 15:39:43 -07:00
Jared Scheib 7c6e366077 Clean up validation of URL query time range inputs
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 15:39:43 -07:00
ebb-tide d30779a5b8 WIP Validate URL query time range inputs
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 15:39:07 -07:00
Brandon Farmer f0c63b3fd1 Adds autorefresh with play/pause 2018-06-01 15:05:38 -07:00
ebb-tide 26b480f959 Prune dashtimev1 values for dashboards that do not exist in dasboards page
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-06-01 13:40:34 -07:00
ebb-tide d58c063fb2 WIP fix typescript inconsistencies 2018-06-01 13:08:29 -07:00
ebb-tide 05a377a48a No longer enrich suggestions 2018-06-01 12:21:49 -07:00
ebb-tide 0e61d8e330 Replace get with getdeep to add types and refactor for clarity 2018-06-01 12:19:41 -07:00
Jared Scheib b90f815596 WIP Validate timeRange from URL query param 2018-05-31 18:44:01 -07:00
Jared Scheib b0db5c5aba Prevent unnecessary TemplateControlBar re-render so TemplateControlDropdowns stay open
Convert TemplateControlBar to ES6 class to use shouldComponentUpdate
2018-05-31 18:00:18 -07:00
Jared Scheib f68c047da1 Consume zoomed time range from URL queries in DashboardPage state 2018-05-31 17:51:08 -07:00
Jared Scheib 5189a0edd8 Rename query to queries in fn & var names for precision 2018-05-31 17:45:43 -07:00
Jared Scheib d32d3a4e80 Fix tempvars being removed from url upon time range selection 2018-05-31 17:43:41 -07:00
ebb-tide 6ce88f946d Set Dashboard time range from query string middleware
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-31 16:45:40 -07:00
Brandon Farmer 92521d6920
Merge pull request #3547 from influxdata/log-viewer/fancy-scrollbars
Fixes fancy scrollbars in log viewer
2018-05-31 15:58:17 -07:00
Brandon Farmer d75b6cca8a Fixes fancy scrollbars in log viewer 2018-05-31 15:35:07 -07:00
Andrew Watkins 9ac84263a1 Fix tests
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:31:50 -07:00
ebb-tide 01dc721e93 Prevent null valued object parameters from updating Location query
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-05-31 15:29:54 -07:00
Christopher Henn 5058691043 Increase pagination constant
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn 163f91951a Fix table header 2018-05-31 15:20:53 -07:00
Christopher Henn 934ae8784d Only show sidebar if multiple results
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn dfa61e6ea7 Display message when TagList is empty
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Christopher Henn 7f2bbd88cc Fetch tag values count when fetching tag values
...instead of when fetching tag keys.
2018-05-31 15:20:53 -07:00
Andrew Watkins 5eaaa69e6e Simplify result naming in table sidebar
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins a47e1bf7c8 Display proper count in load more button
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins 0327e5d359 Cleanup
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins 53d0de11c0 Enable pagination in tag value lists
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins ed11ed865d Get actual databases for From component 2018-05-31 15:20:53 -07:00
Andrew Watkins 812d84043d Enable filtering with TagValueListItem
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:53 -07:00
Andrew Watkins 9897aac549 Add loading state to searching
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
2018-05-31 15:20:52 -07:00
Christopher Henn cdbe8a0069 Display loading state for tag key and value lists
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn 035fe8e105 Enable searching tag values
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn 1d66d216ac Enable searching tag keys
...and remove unused top-level filter.

Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn 2c56ee1ce3 WIP
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Andrew Watkins e2d82ae74d Refresh AST when getting time series 2018-05-31 15:20:52 -07:00
Christopher Henn f1d583407a WIP
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
Christopher Henn b1240ad156 WIP schema explorer
Co-authored-by: Chris Henn <chris.henn@influxdata.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-05-31 15:20:52 -07:00
ebb-tide 87087bf7bb Sync Url Query to timerange selections for lower,upper, and zoomed ranges 2018-05-31 15:16:57 -07:00
Brandon Farmer d3cea46282 Add more styling to severity 2018-05-31 13:50:28 -07:00
Brandon Farmer ef0025c87c Implements basic log viewer search 2018-05-31 10:50:46 -07:00
ebb-tide 550b7b19b4 Name the default export from FuncArgTextArea correctly 2018-05-30 18:59:41 -07:00
ebb-tide d778346d61 DRY in FuncArds render function 2018-05-30 18:48:36 -07:00
ebb-tide 94b8501ef9 Refactor walker.test to create explicit expected variables 2018-05-30 18:14:54 -07:00
Deniz Kusefoglu ec943f428f Show error notification for each invalid tempvar value in url query
Rename queries to urlQueries for clarity.

Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-30 16:30:32 -07:00
Jared Scheib 747443da49 Remove deleted tempVars from URL query upon manager save 2018-05-30 15:34:35 -07:00
Brandon Farmer 98c70f70cb
Merge pull request #3538 from influxdata/log-viewer/graph
Calculate bin size for log viewer
2018-05-30 15:00:33 -07:00
Brandon Farmer 97acfc07bf Display tabular log data and Calculate bin size for log viewer 2018-05-30 14:23:12 -07:00
Deniz Kusefoglu b592cede56 Keep URL fully in sync with all tempvars 2018-05-30 12:53:53 -07:00
Jared Scheib d3098d82e1 Rename templateVariableQueryGenerator.js to tempVars.js 2018-05-30 11:22:04 -07:00
Deniz Kusefoglu a706e44854 Sync URL query upon saving temp vars in manager
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
2018-05-30 11:17:58 -07:00
Jared Scheib be41ac7d17 Rename Manager.js to TemplateVariableManager.js 2018-05-30 10:58:07 -07:00
Jared Scheib d2b1006dec Refactor tempvar URL binding to be only in DashboardPage & no redux
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Deniz Kusefoglu <denizk@gmail.com>
2018-05-30 10:46:21 -07:00
Iris Scholten 5e6f46b868
Merge pull request #3527 from influxdata/fixes/custom-time-selector
Ensure Cells show only data from TimeSelector Constraints
2018-05-29 14:15:01 -07:00
Iris Scholten 896f049524 Update addTimeBoundsToRawText to use regex in its string matching checks instead of strings 2018-05-29 13:55:16 -07:00
Iris Scholten c84389556e Fix typo in buildCannedDashboardQuery 2018-05-29 13:17:42 -07:00