Commit Graph

1868 Commits (579b4bc81c3214f57de31ed18211e905e61987f8)

Author SHA1 Message Date
Andrew Watkins 5cef01bbd5 Prettify 2017-04-26 13:52:59 -07:00
Andrew Watkins fd3a35fedd Update stubs for new varmoji pattern 2017-04-26 13:52:33 -07:00
Andrew Watkins 8ffd8b3ce6 Update tests for new varmoji pattern 2017-04-26 13:52:10 -07:00
Alex P 2822332591 Prevent horizontal scrollbar from disappearing 2017-04-26 12:59:55 -07:00
Alex P e756ecb9f5 Display a dropdown if there are too many tabs 2017-04-26 12:55:10 -07:00
Alex P 6988896be8 Improve empty state copy 2017-04-26 12:53:28 -07:00
Hunter Trujillo e0f827ea96 Add delete rows. Add empty table state. 2017-04-26 13:18:42 -06:00
Hunter Trujillo a02da73d92 Add add template variable. 2017-04-26 12:42:40 -06:00
Hunter Trujillo a40b4e8d3b Add confirm dialog for unsaved changes (temporary) 2017-04-26 12:20:49 -06:00
Andrew Watkins 69680d3baf Set host tag to empty string if none was set 2017-04-26 09:30:57 -07:00
Andrew Watkins 2f02ac6dad Make code breath 2017-04-26 09:29:09 -07:00
Andrew Watkins edf821c06d Prettify 2017-04-26 09:23:16 -07:00
Andrew Watkins 1af44ebb67 Resolve missing binding for Node Sass error 2017-04-26 06:17:41 -07:00
Andrew Watkins ec59050429 Resolve errors 2017-04-26 06:15:49 -07:00
Andrew Watkins a845734cf4 Prettify 2017-04-26 06:15:00 -07:00
Alex P 0127df80b2 Add & Style Varmoji Flipper 2017-04-25 18:53:02 -07:00
Alex P 609639a0f6 Add 1 more fake template var 2017-04-25 18:52:16 -07:00
Alex P 1373b08ce8 Move query templates dropdown inside query status
Doing this to prepare for the varmoji animation
2017-04-25 17:36:55 -07:00
Hunter Trujillo 156bd9480f Always select first item in Dashboard template value selectors, if there's no selection and there are items. 2017-04-25 18:14:58 -06:00
Alex P 8ad7091dc6 Remove excess
We will be lean and mean
2017-04-25 17:07:02 -07:00
Alex P 228b1c7c3b Merge branch 'master' into feature/template-varmojis
The rebase to end all rebases
2017-04-25 17:06:08 -07:00
Andrew Watkins 6bc19d3b39 Add separators and CONT QUERIES to query template dropdown 2017-04-25 16:44:37 -07:00
Hunter Trujillo e174698458 PropTypes fixes. 2017-04-25 17:35:12 -06:00
Hunter Trujillo b53c359a54 Fix error handling in dashboard actions and add errorThrown to dashboard page. 2017-04-25 17:12:36 -06:00
Hunter Trujillo 116c2e3c23 Merge branch 'master' into feature/template-variables
# Conflicts:
#	bolt/internal/internal.pb.go
#	ui/src/CheckSources.js
#	ui/src/dashboards/actions/index.js
#	ui/src/dashboards/containers/DashboardPage.js
#	ui/src/data_explorer/components/Visualization.js
#	ui/src/shared/components/AutoRefresh.js
#	ui/src/shared/components/Dropdown.js
2017-04-25 17:08:55 -06:00
Andrew Watkins 2884080345 Prettify 2017-04-25 16:07:54 -07:00
Jade McGough 079de55e97 cleanup and styling 2017-04-25 16:07:32 -07:00
Hunter Trujillo fd691bff84 Fix linter errors. 2017-04-25 16:43:20 -06:00
Andrew Watkins 2a8b762596 Table can now handle multiple series 2017-04-25 15:39:25 -07:00
Andrew Watkins 7c2ba7e3f2 Remove jsx-indent-props from eslintrc 2017-04-25 15:38:58 -07:00
Hunter Trujillo f7e1c627ed Disable Save Template button when data has been saved. Refactor remaining dashboard promises into async/await. 2017-04-25 16:36:59 -06:00
Jade McGough 113fb5d117 use RedactedInput in all config components 2017-04-25 15:15:50 -07:00
Hunter Trujillo 034bef23c2 TVM now persists its state to the server. 2017-04-25 16:09:22 -06:00
Jade McGough 7747f6882d hide redacted value unless user wants to edit it 2017-04-25 15:01:59 -07:00
Hunter Trujillo 9bb05c107a TVM now gets values from a query for a row and also displays them. 2017-04-25 15:21:44 -06:00
Andrew Watkins 6f8c1d65de Remove old state 2017-04-25 13:36:39 -07:00
Jared Scheib d9db77d25e WIP 2017-04-25 13:33:52 -07:00
Andrew Watkins c7e957ee36 Prettify and not error when no values returned from influxdb 2017-04-25 13:32:04 -07:00
Andrew Watkins 12c70bf923 Update table to render per series 2017-04-25 13:31:29 -07:00
Jade McGough e9a2229221 prettier 2017-04-25 12:53:00 -07:00
Andrew Watkins dda39c171f Not display TABLE toggle in CEO 2017-04-25 11:47:10 -07:00
Andrew Watkins 3cbd7fc143 Even prettier 2017-04-25 11:37:47 -07:00
Andrew Watkins 099207f02e Prettier 2017-04-25 11:34:06 -07:00
Jared Scheib 0f04ba0476 Update copy for 'Run Query' button 2017-04-25 11:20:22 -07:00
Admin 93efe846f7 Apply eslint fix for single-quote warnings 2017-04-25 10:53:01 -07:00
Andrew Watkins 9efb63f5fa Update stubbed data 2017-04-24 18:16:26 -07:00
Andrew Watkins da146e1d60 Highlight first tempVar if selected is filtered out 2017-04-24 18:10:38 -07:00
Andrew Watkins 48d852eca0 Filter template drawer via user input 2017-04-24 18:10:38 -07:00
Andrew Watkins b0fd5188b0 Add click handling and refactor 2017-04-24 18:10:38 -07:00
Andrew Watkins b94a86b976 Handle Enter and Esc while templating 2017-04-24 18:10:37 -07:00
Andrew Watkins cd06efe0bb change template variable on mouse over 2017-04-24 18:10:37 -07:00
Andrew Watkins 8428a8b45e Make selecting tempVar func better 2017-04-24 18:10:37 -07:00
Andrew Watkins 3804ea8a74 Replace tempVars with arrow keys 2017-04-24 18:10:37 -07:00
Andrew Watkins 2eb006dcbd Add spec for tempVar regex 2017-04-24 18:09:41 -07:00
Andrew Watkins a5f83a5491 Allow user to cycle through selected tempVars 2017-04-24 18:09:41 -07:00
Andrew Watkins ec3a1fa2f7 Be the pretty 2017-04-24 18:09:41 -07:00
Andrew Watkins fc8c60591d Show tempVars when user types $ 2017-04-24 18:05:47 -07:00
Andrew Watkins fe84abdda9 Be the change 2017-04-24 18:04:28 -07:00
Andrew Watkins 1eb564aaff Be the change, again 2017-04-24 18:02:17 -07:00
Andrew Watkins 5cf3ddc652 Remove prettier indentation conflicts 2017-04-24 18:02:17 -07:00
Andrew Watkins 129512985f Be the change 2017-04-24 18:02:17 -07:00
Jared Scheib a19321bff9 'Submit' in TVM now retrieves query values; remove template variable fixture data 2017-04-24 17:12:26 -07:00
Hunter Trujillo 51cde6c270 PUT to Template Variable API works. 2017-04-24 13:49:50 -06:00
Hunter Trujillo c4844ec865 onSubmit on Template Variable Manager is now providing original template, including link data, to handler. 2017-04-24 12:34:39 -06:00
Hunter Trujillo 9e56b9776c Fix TVM UX flow issue with a React lifecycle antipattern; make TVM editing mode consistent 2017-04-21 19:52:01 -06:00
Hunter Trujillo b7592834d4 Fix cancel button on Template screen. Show selected variable text. 2017-04-21 14:55:39 -06:00
Hunter Trujillo 7241c8f94f Merge fixes. Shape-of-data fixes. 2017-04-21 14:48:03 -06:00
Hunter Trujillo 622bcb1571 Add template proptypes to Dashboard. 2017-04-21 14:20:18 -06:00
Jade McGough 0af19fc314 unbreak things from rebase 2017-04-21 12:50:38 -07:00
Jade McGough 055e76fdc3 send alert requests to currently active kapacitor 2017-04-21 12:42:35 -07:00
Jade McGough 972b0b8e6d persist active kapacitor after a user selects it 2017-04-21 12:42:35 -07:00
Jade McGough d7bda3894e fix endless kapacitor queries 2017-04-21 12:42:35 -07:00
Jade McGough c78e8a15fb show currently active kapacitor in configuration 2017-04-21 12:42:35 -07:00
Jade McGough d435caab85 retrieve kapacitors again after sources are reloaded 2017-04-21 12:42:35 -07:00
Alex P 5ba1ed5a24 Oooooooooops
Silly mistake
2017-04-21 12:42:35 -07:00
Alex P 9c05f574c6 Small style adjustment
That pesky square corner go bye bye
2017-04-21 12:42:34 -07:00
Alex P ec437213aa Fix style 2017-04-21 12:42:34 -07:00
Alex P 510f29d93a Style endpoint tab contents 2017-04-21 12:42:34 -07:00
Alex P f418729342 Remove excess text from endpoint configs 2017-04-21 12:42:34 -07:00
Alex P 16c4cf65d3 Apply new styles to endpoint config tabs 2017-04-21 12:42:34 -07:00
Alex P 1b4d0e9800 Block spellcheck on kapacitor config form 2017-04-21 12:42:34 -07:00
Alex P aca6726c41 Create stylesheet for endpoint config page 2017-04-21 12:42:34 -07:00
Alex P f352a229e6 Make kapacitor selector dropdown pretty 2017-04-21 12:42:05 -07:00
Alex P eed5a09c2a Styles for kapacitor selector dropdown 2017-04-21 12:42:05 -07:00
Alex P 1b1e51e004 Make dropdown easier to customize 2017-04-21 12:42:05 -07:00
Alex P 5c3474a677 Remove responsive table, causes too many UI problems 2017-04-21 12:42:05 -07:00
Alex P 4883a84e0d Replace edit button with a linked source name
more space efficient, still intuitive
2017-04-21 12:42:05 -07:00
Jade McGough f71e59810e make kapacitor alerts tab look like an a tabbed interface 2017-04-21 12:42:05 -07:00
Jade McGough 951ee18596 polish polish 2017-04-21 12:42:05 -07:00
Jade McGough 3c04ac71bb update kapacitor config page to new redesign 2017-04-21 12:42:05 -07:00
Jade McGough e1daa36097 WIP redesign of KapacitorPage 2017-04-21 12:42:05 -07:00
Jade McGough 93ae313d0d prefer single quotes in eslintrc 2017-04-21 12:42:05 -07:00
Jade McGough 386ae9a0b1 add a link to create new kapacitors for hosts with no kapacitor 2017-04-21 12:42:05 -07:00
Jade McGough f31e5e6b10 unbreak item selection 2017-04-21 12:42:05 -07:00
Jade McGough f8dd669ca9 allow users to edit their existing kapacitor instances 2017-04-21 12:42:05 -07:00
Jade McGough f077a1f8e0 make KapacitorPage work when visiting kapacitors/:id/edit 2017-04-21 12:42:05 -07:00
Jade McGough 40b422c820 refactor KapacitorPage to use es6 syntax 2017-04-21 12:42:05 -07:00
Jade McGough 649951df45 provide link in dropdown to new kapacitor page 2017-04-21 12:41:49 -07:00
Jade McGough 2275989aa7 update Dropdown to use new es6 format 2017-04-21 12:40:51 -07:00
Jade McGough 8de88a389b use modern component declaration for ManageSources 2017-04-21 12:40:51 -07:00
Jade McGough 3c7e99b3bb Revert "remove navigation to kapacitor config app"
This reverts commit de7bcf7040a246c9d606f3f1547d8f5afd54e457.
2017-04-21 12:40:51 -07:00
Jade McGough 503f11a586 use kapacitor redux to display multiple kapacitors per source 2017-04-21 12:40:51 -07:00
Jade McGough 3ab20b5b01 store kapacitor response in redux store 2017-04-21 12:40:51 -07:00
Jade McGough 0b31030700 add dropdown for kapacitors 2017-04-21 12:39:41 -07:00
Jade McGough 05688ef634 WIP 2017-04-21 12:39:41 -07:00
Jade McGough e5e672248e add kapacitor table to manage sources page 2017-04-21 12:39:41 -07:00
Jade McGough 8b32185e52 remove unused withRouter call 2017-04-21 12:39:41 -07:00
Jade McGough 1431da7202 move influx source managament table to separate component 2017-04-21 12:39:41 -07:00
Jade McGough dbe7cd5de9 remove navigation to kapacitor config app 2017-04-21 12:39:41 -07:00
Alex P 05ba227fd7 I am a merciful god 2017-04-20 18:36:26 -07:00
Alex P b334bf8f17 Rename 2 colors
Darker purple (planet) is now “Amethyst” to match the gemstone theme of
that value. Creme De Violette was just a long name, so now it is
“twilight” (which has nothing to do with the movies or book series)
2017-04-20 18:36:26 -07:00
Alex P b24d92dd5a Use yellow for warning text in query editor 2017-04-20 18:36:26 -07:00
Alex P 86ba499981 Add yellow color spectrum for warning use cases
More semantic than purple for warnings
2017-04-20 18:36:26 -07:00
Jared Scheib a0fd6e265d Merge branch 'feature/template-variables' into feature/template-variables_proxy-params 2017-04-20 18:19:48 -07:00
Jared Scheib b890f22ca6 Add test for selectTemplate, update spec fixtures 2017-04-20 18:11:55 -07:00
Jared Scheib b8da81171f Update var names and propTypes to match spec 2017-04-20 17:31:43 -07:00
Jared Scheib e940fa22df Update 'query' key to 'influxql' 2017-04-20 16:51:49 -07:00
Jared Scheib 21ba809a6c Update tV to 'template' for consistency 2017-04-20 16:42:27 -07:00
Jared Scheib 5a1f49eaa2 Update key name to match what API expects 2017-04-20 16:36:26 -07:00
Jared Scheib 891824eab4 Update var name to match what API expects 2017-04-20 16:34:30 -07:00
Jared Scheib 620158631d Update prop key to match what API expects 2017-04-20 16:19:49 -07:00
Jared Scheib b4b03a06f6 Merge remote-tracking branch 'origin/master' into feature/auth-router
Conflicts:
ui/src/data_explorer/components/RawQueryEditor.js
ui/src/data_explorer/components/QueryEditor.js
2017-04-20 15:58:12 -07:00
Jared Scheib 010aa502b4 Merge branch 'feature/template-variables' into feature/template-variables_proxy-params 2017-04-20 14:13:32 -07:00
Jared Scheib 02c81fbc82 Updated tempVars schema and refactor how selected values are reduced 2017-04-20 14:03:19 -07:00
Chris Goller 4be9a1b27a Fix linter errors to allow builds to pass 2017-04-20 11:46:59 -05:00
Jared Scheib 04cc465d28 Fix timeSeries data shape to restore full expected functionality of AutoRefreshingLineGraphs on Dashboard 2017-04-19 16:19:49 -07:00
Jared Scheib 60308938fc Update tempVars with current schema and successfully send to proxy 2017-04-19 15:10:07 -07:00
Andrew Watkins 784a36a75c Add onSubmit to template variable form 2017-04-19 14:47:07 -07:00
Andrew Watkins 068119d563 Add editTemplate test and action / update tests 2017-04-19 14:46:26 -07:00
Jared Scheib c617de0afd Rename 'params' to 'tempVars' 2017-04-19 14:30:12 -07:00
Andrew Watkins 4a0ee1a020 Introduce table inputs to the tempVar builder 2017-04-19 13:08:30 -07:00
Andrew Watkins ca6e541a38 Create table classes
Since a table can now be a bunch of <div>'s. This will allow us to
include forms inside of tables without breaking HTML.

http://stackoverflow.com/questions/4035966/create-a-html-table-where-each-tr-is-a-form
2017-04-19 10:09:25 -07:00
Chris Goller 5538cfa963 Merge branch 'master' into feature/template-variables 2017-04-19 11:10:01 -05:00
Luke Morris 34d25b9abd Pass templates through to proxy as ‘params’ 2017-04-18 16:10:43 -07:00
Luke Morris f7c414fed3 Peel templates off of dashboard 2017-04-18 16:10:14 -07:00
Hunter Trujillo 3fb75a4e77 Add tag key 🅱️ropdown. 2017-04-18 16:47:00 -06:00
Alex P abbf76ab6c Rename components according to CSS styles 2017-04-18 14:20:51 -07:00
Alex P e674a70391 Polish group by time dropdown
styled differently in Rule builder vs DE
2017-04-18 14:09:49 -07:00
Hunter Trujillo 66012f4033 Fix irregular whitespace linter error. 2017-04-18 14:50:49 -06:00
Hunter Trujillo 1f42f12152 Ensure initial selection state on database and measurement dropdowns. 2017-04-18 14:49:45 -06:00
Luke Morris 19779cd269 Make tv fixtures more realistic 2017-04-18 13:11:05 -07:00
Luke Morris 579e45d08d Factor refreshing graph into its own render function 2017-04-18 13:10:29 -07:00
Alex P 74d6b88e7c Merge branch 'master' into query-builder-style-refactor 2017-04-18 12:08:27 -07:00
Alex P 4844d31f57 Rework rule builder page to use new version of query builder 2017-04-18 12:08:07 -07:00
Andrew Watkins d7411172cf Introduce template query builders 2017-04-18 12:08:00 -07:00
Alex P d57b90d6df Simplify group by time dropdown 2017-04-18 12:07:08 -07:00
Luke Morris 5d77c48f08 Remove unused fetchTimeSeries function 2017-04-18 11:42:16 -07:00
Luke Morris 2f6fb708f2 Basic TVControlBar style polish 2017-04-18 11:20:35 -07:00
Luke Morris 9717b40e1b Display selected value; disallow selection while loading 2017-04-18 11:20:06 -07:00
Luke Morris f0fa19c10a Update fixtures to include selected value 2017-04-18 11:18:19 -07:00