Commit Graph

1940 Commits (3fdc1bd526d2889943874e68cdf583b4c7e32db4)

Author SHA1 Message Date
Luke Morris 6693b759cb Strip colons in template variable names before saving 2017-04-28 12:38:05 -07:00
Luke Morris 3db76639e6 AutoRefresh refetches data when temp vars change 2017-04-28 12:16:56 -07:00
Luke Morris f9449025ea Context menu now overlays second Y-axis 2017-04-28 12:03:44 -07:00
Luke Morris 0e06853a19 Dropdowns are allowed to overflow the manager boundary 2017-04-28 12:01:01 -07:00
Luke Morris 70ffc86ca0 Restore delete Dashboard Cell functionality 2017-04-28 11:58:53 -07:00
Nicky Semenza be1394a953 update link to add a Kapacitor when none exist 2017-04-27 21:59:30 -04:00
Luke Morris 57bea5c694 Design polish 2017-04-27 18:44:43 -07:00
Luke Morris 781f724711 Merge branch 'feature/template-variables' into feature/template-varmojis 2017-04-27 18:39:23 -07:00
Alex Paxton 7cc1e3285f Merge pull request #1347 from influxdata/template-manager-polish
Template manager polish
2017-04-27 18:38:13 -07:00
Luke Morris ec2d0392e2 Tweaks 2017-04-27 18:27:31 -07:00
Alex P 2c4167eb53 Tweak empty state
It was expecting to be part of a table
2017-04-27 18:15:38 -07:00
Luke Morris e3cf7c3002 Merge branch 'feature/template-variables' into feature/template-varmojis 2017-04-27 18:14:45 -07:00
Alex P 16fdd4a8ba Turn off annoying browser things 2017-04-27 18:11:13 -07:00
Alex P 26a5cdd2cd Style Template Variable Manager and customize markup
Adjusts to different screen sizes nicely
2017-04-27 18:03:53 -07:00
Jared Scheib fcc31cf412 Only send selected template values to proxy; fix tempVars key in proxy call 2017-04-27 17:33:15 -07:00
Jared Scheib ea28dcfa32 Fix Lukifer's bug that Pineapple didn't catch 2017-04-27 17:20:18 -07:00
Jared Scheib b5eca6cd43 Select first value of new variable values 2017-04-27 17:17:58 -07:00
Jared Scheib 6b5e525f07 Fix key state bug 2017-04-27 17:03:16 -07:00
Jared Scheib 0934b47476 Remove unused dep 2017-04-27 16:32:51 -07:00
Jared Scheib 2e5118ecf7 Fix dropdown populating via normalizd parsers, rename selected var names for clarity 2017-04-27 16:24:00 -07:00
Jared Scheib b25cff0b6d Update some fns to async/await 2017-04-27 16:01:21 -07:00
Jared Scheib e405781b46 Handle errors and use async/await in AJAX from TVQB Dropdowns 2017-04-27 15:50:25 -07:00
Alex P 2d0a41c2cb Style page header dismiss 2017-04-27 15:01:06 -07:00
Alex P f8852273d8 Organize styles a bit 2017-04-27 14:53:43 -07:00
Jared Scheib 064ebc1634 Merge branch 'feature/template-variables' of https://github.com/influxdata/chronograf into feature/template-variables 2017-04-27 14:36:27 -07:00
Jared Scheib 3475f6b4a4 Use prettier (though 2x slower) syntax 2017-04-27 14:36:24 -07:00
Alex P e4097550c8 Use specific class instead of relying on H1 being inside page-header 2017-04-27 14:33:43 -07:00
Jared Scheib 85327b1b46 Remove obsolete action and reducer for editing template variable 2017-04-27 14:20:34 -07:00
Jared Scheib 2881c3b7b0 Merge branch 'master' into feature/template-variables 2017-04-27 14:15:48 -07:00
Alex P fed24f191d Make database list into a dropdown
Going to split these into 2 components
2017-04-27 14:14:45 -07:00
Jared Scheib 7763d780ca Rename function for clarity, clean up 2017-04-27 14:13:36 -07:00
Jared Scheib 65dbf0d0c9 Fix bug introduced in e8fb66d6 that overwrote templates 2017-04-27 13:47:17 -07:00
Jared Scheib 1da7b9290b Add proper type to buttons 2017-04-27 13:34:05 -07:00
Andrew Watkins 4788e3ce2d Merge branch 'master' into fix/add-source 2017-04-27 13:17:24 -07:00
Andrew Watkins 1f6f9b6a17 Merge branch 'master' into chore/destroy-kuber-dash 2017-04-27 13:14:03 -07:00
Jared Scheib e8fb66d623 Fix duplicate temp var detection bug where a new one would delete itself if not persisted onCancel 2017-04-27 12:57:50 -07:00
Jared Scheib 5d640a82c4 Fix styling on RowValues component 2017-04-27 11:20:59 -07:00
Jared Scheib 55bd937fa9 Prevent duplicate template variables 2017-04-27 11:12:48 -07:00
Jared Scheib 7c2cab8fd9 Lengthen short notification delay by 500ms 2017-04-27 11:10:21 -07:00
Andrew Watkins 0dd2ba1c96 Add empty state 2017-04-27 11:08:12 -07:00
Andrew Watkins 6237ad0473 Fix incorrect count 2017-04-27 11:08:02 -07:00
Andrew Watkins d9ab669008 Prettier 2017-04-27 10:47:59 -07:00
Andrew Watkins 2d62082fe1 Remove all reference to KubernetesDashboard 2017-04-27 10:44:19 -07:00
Jared Scheib 14e43c6c64 Remove 'label' from TVM UI and template data shape 2017-04-27 10:35:14 -07:00
Andrew Watkins 8a197cbd92 Fix alphabetical jumping 2017-04-27 09:37:03 -07:00
Andrew Watkins 53ecc17f7a Prettify 2017-04-27 09:32:44 -07:00
Andrew Watkins 21ead48a67 Make guard more readable 2017-04-27 08:53:19 -07:00
Andrew Watkins 85cb3993c3 Change to table view on meta queries 2017-04-27 08:46:46 -07:00
Andrew Watkins af3ce8d3af Fix no active query on page load 2017-04-27 07:58:51 -07:00
Jared Scheib dee83724e3 Add and remove ':'s from template variables 2017-04-26 19:54:05 -07:00
Jared Scheib 15837dcdf2 Update template variables from TV Query Builder to new :var: syntax 2017-04-26 19:21:53 -07:00
Jared Scheib 5ab50aba64 Remove obsolete comment 2017-04-26 19:21:17 -07:00
Jared Scheib 572f17acf0 Narp 2017-04-26 18:23:16 -07:00
Jared Scheib ef4ca87e39 Delete a new template on cancel 2017-04-26 18:17:16 -07:00
Jared Scheib c23b5570c2 Add Edit button to enter editing mode, make Save Template button a different color 2017-04-26 17:58:14 -07:00
Jared Scheib 1aee345fbd Add Edit button to TVM Row 2017-04-26 16:13:45 -07:00
Alex P 8752e1388f Selecting an already selected Namespace doesn't reset the DE 2017-04-26 16:10:21 -07:00
Alex P 79c55ede75 Show list of tags as a sublist of selected measurement 2017-04-26 16:09:55 -07:00
Jared Scheib 112fc10e61 Add user ability to enter a CSV via text input to TVM; fix row find for state update 2017-04-26 15:58:44 -07:00
Jared Scheib e2dac89c7d Make CSV values editable 2017-04-26 15:17:08 -07:00
Jared Scheib 06582cfb82 Change copy when no values 2017-04-26 14:42:14 -07:00
Andrew Watkins 06389cd43d Prettify 2017-04-26 14:40:56 -07:00
Andrew Watkins 48bbc4d6c3 Guard against no active series 2017-04-26 14:40:34 -07:00
Andrew Watkins f71f87b88f Refactor handler 2017-04-26 14:10:23 -07:00
Jade McGough cd0b5016f1 require a connection string and name when creating a connection 2017-04-26 14:08:51 -07:00
Jade McGough d593a7ff95 prettier 2017-04-26 14:06:20 -07:00
Andrew Watkins c51f728f63 Update onChange to handle new varmoji pattern 2017-04-26 13:54:21 -07:00
Andrew Watkins 5e0ce1de7d Update tempVar regex 2017-04-26 13:53:29 -07:00
Andrew Watkins 494229468d Prettify 2017-04-26 13:52:59 -07:00
Andrew Watkins f3c033b61c Update stubs for new varmoji pattern 2017-04-26 13:52:33 -07:00
Andrew Watkins 500dc8d226 Update tests for new varmoji pattern 2017-04-26 13:52:10 -07:00
Alex P 2e4e43afc5 Prevent horizontal scrollbar from disappearing 2017-04-26 12:59:55 -07:00
Alex P b2b32a398c Display a dropdown if there are too many tabs 2017-04-26 12:55:10 -07:00
Alex P 9f3742c0eb Improve empty state copy 2017-04-26 12:53:28 -07:00
Hunter Trujillo 1a4e3a67a4 Add delete rows. Add empty table state. 2017-04-26 13:18:42 -06:00
Hunter Trujillo 28fbd8e91b Add add template variable. 2017-04-26 12:42:40 -06:00
Hunter Trujillo 116da7911c Add confirm dialog for unsaved changes (temporary) 2017-04-26 12:20:49 -06:00
Andrew Watkins beb5052b91 Set host tag to empty string if none was set 2017-04-26 09:30:57 -07:00
Andrew Watkins ff7d5b738b Make code breath 2017-04-26 09:29:09 -07:00
Andrew Watkins fa64a9bfc4 Prettify 2017-04-26 09:23:16 -07:00
Andrew Watkins 186491b0ae Resolve missing binding for Node Sass error 2017-04-26 06:17:41 -07:00
Andrew Watkins fe01d83500 Resolve errors 2017-04-26 06:15:49 -07:00
Andrew Watkins acde7ec98b Prettify 2017-04-26 06:15:00 -07:00
Alex P da7653bf96 Add & Style Varmoji Flipper 2017-04-25 18:53:02 -07:00
Alex P a4db0f9b87 Add 1 more fake template var 2017-04-25 18:52:16 -07:00
Alex P 6ed906453a 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 b92f9e1659 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 2fcbadd775 Remove excess
We will be lean and mean
2017-04-25 17:07:02 -07:00
Alex P 7221832106 Merge branch 'master' into feature/template-varmojis
The rebase to end all rebases
2017-04-25 17:06:08 -07:00
Andrew Watkins f3bf34e28a Add separators and CONT QUERIES to query template dropdown 2017-04-25 16:44:37 -07:00
Hunter Trujillo 01dcf0d3b6 PropTypes fixes. 2017-04-25 17:35:12 -06:00
Hunter Trujillo 44e9f8d31a Fix error handling in dashboard actions and add errorThrown to dashboard page. 2017-04-25 17:12:36 -06:00
Hunter Trujillo 0d1c416c98 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 0fdb2cc8a2 Prettify 2017-04-25 16:07:54 -07:00
Jade McGough f420af1b28 cleanup and styling 2017-04-25 16:07:32 -07:00
Hunter Trujillo 01f587272e Fix linter errors. 2017-04-25 16:43:20 -06:00
Andrew Watkins 1e9af94aba Table can now handle multiple series 2017-04-25 15:39:25 -07:00
Andrew Watkins f042b26e34 Remove jsx-indent-props from eslintrc 2017-04-25 15:38:58 -07:00
Hunter Trujillo a4815b188f 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 16a99eeb4b use RedactedInput in all config components 2017-04-25 15:15:50 -07:00
Hunter Trujillo 20799a3ac1 TVM now persists its state to the server. 2017-04-25 16:09:22 -06:00
Jade McGough 7f5f7bb447 hide redacted value unless user wants to edit it 2017-04-25 15:01:59 -07:00
Hunter Trujillo 845af7c2df TVM now gets values from a query for a row and also displays them. 2017-04-25 15:21:44 -06:00
Andrew Watkins acfa3b3a20 Remove old state 2017-04-25 13:36:39 -07:00
Jared Scheib eec8e54a2b WIP 2017-04-25 13:33:52 -07:00
Andrew Watkins a1ea46226a Prettify and not error when no values returned from influxdb 2017-04-25 13:32:04 -07:00
Andrew Watkins f0ec814ea2 Update table to render per series 2017-04-25 13:31:29 -07:00
Jade McGough d6917196db prettier 2017-04-25 12:53:00 -07:00
Andrew Watkins 09646b5908 Not display TABLE toggle in CEO 2017-04-25 11:47:10 -07:00
Andrew Watkins 5304363d0c Even prettier 2017-04-25 11:37:47 -07:00
Andrew Watkins 657baa2fed Prettier 2017-04-25 11:34:06 -07:00
Jared Scheib 66b92ee241 Update copy for 'Run Query' button 2017-04-25 11:20:22 -07:00
Admin 6cf9e97518 Apply eslint fix for single-quote warnings 2017-04-25 10:53:01 -07:00
Andrew Watkins 02ea05f520 Update stubbed data 2017-04-24 18:16:26 -07:00
Andrew Watkins b763e00630 Highlight first tempVar if selected is filtered out 2017-04-24 18:10:38 -07:00
Andrew Watkins a7bb10723a Filter template drawer via user input 2017-04-24 18:10:38 -07:00
Andrew Watkins fa35c3adb9 Add click handling and refactor 2017-04-24 18:10:38 -07:00
Andrew Watkins 7e146fc745 Handle Enter and Esc while templating 2017-04-24 18:10:37 -07:00
Andrew Watkins e47ec992b8 change template variable on mouse over 2017-04-24 18:10:37 -07:00
Andrew Watkins f46602f983 Make selecting tempVar func better 2017-04-24 18:10:37 -07:00
Andrew Watkins 96004a71fc Replace tempVars with arrow keys 2017-04-24 18:10:37 -07:00
Andrew Watkins 8c67b8af49 Add spec for tempVar regex 2017-04-24 18:09:41 -07:00
Andrew Watkins 338e5a7d37 Allow user to cycle through selected tempVars 2017-04-24 18:09:41 -07:00
Andrew Watkins 4694e1a4b0 Be the pretty 2017-04-24 18:09:41 -07:00
Andrew Watkins 5b397d022d Show tempVars when user types $ 2017-04-24 18:05:47 -07:00
Andrew Watkins 576b2eee7a Be the change 2017-04-24 18:04:28 -07:00
Andrew Watkins f8da71f027 Be the change, again 2017-04-24 18:02:17 -07:00
Andrew Watkins 2efda22838 Remove prettier indentation conflicts 2017-04-24 18:02:17 -07:00
Andrew Watkins 08477cadc9 Be the change 2017-04-24 18:02:17 -07:00
Jared Scheib f04a046b22 'Submit' in TVM now retrieves query values; remove template variable fixture data 2017-04-24 17:12:26 -07:00
Hunter Trujillo 6543d69726 PUT to Template Variable API works. 2017-04-24 13:49:50 -06:00
Hunter Trujillo 40530c5127 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 14d4a1327e 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 822cf4ac4b Fix cancel button on Template screen. Show selected variable text. 2017-04-21 14:55:39 -06:00
Hunter Trujillo 5ae717403b Merge fixes. Shape-of-data fixes. 2017-04-21 14:48:03 -06:00
Hunter Trujillo 9b9138156d Add template proptypes to Dashboard. 2017-04-21 14:20:18 -06:00
Jade McGough 634b6d9271 unbreak things from rebase 2017-04-21 12:50:38 -07:00
Jade McGough ae5ef78583 send alert requests to currently active kapacitor 2017-04-21 12:42:35 -07:00
Jade McGough dd76d80a89 persist active kapacitor after a user selects it 2017-04-21 12:42:35 -07:00
Jade McGough 5babe7cc36 fix endless kapacitor queries 2017-04-21 12:42:35 -07:00
Jade McGough 3034e16a3e show currently active kapacitor in configuration 2017-04-21 12:42:35 -07:00
Jade McGough 9f39c7dbe7 retrieve kapacitors again after sources are reloaded 2017-04-21 12:42:35 -07:00
Alex P 23decf9590 Oooooooooops
Silly mistake
2017-04-21 12:42:35 -07:00
Alex P aae08cd007 Small style adjustment
That pesky square corner go bye bye
2017-04-21 12:42:34 -07:00
Alex P 7251eed96b Fix style 2017-04-21 12:42:34 -07:00
Alex P 44ff919257 Style endpoint tab contents 2017-04-21 12:42:34 -07:00
Alex P fdde4f3fc8 Remove excess text from endpoint configs 2017-04-21 12:42:34 -07:00
Alex P 5a05fe9f34 Apply new styles to endpoint config tabs 2017-04-21 12:42:34 -07:00
Alex P 486ebf0307 Block spellcheck on kapacitor config form 2017-04-21 12:42:34 -07:00
Alex P 7b151c2a6d Create stylesheet for endpoint config page 2017-04-21 12:42:34 -07:00