Commit Graph

5639 Commits (646da4919ef68026967e1f721a1e85f7829e364b)

Author SHA1 Message Date
ebb-tide 3548fd712e Remove requirement on prop that is not required 2018-03-30 16:09:37 -07:00
Alex P 192a63c856 Write test for deleting a dashboard 2018-03-30 15:52:41 -07:00
Alex P 14c7428376 Redirect user to freshly cloned dashboard after cloning 2018-03-30 15:37:23 -07:00
Alex P 4372454219 Remove unused key in payload 2018-03-30 15:36:57 -07:00
Alex P 7574a6066c Show clone dashboard button on hover only 2018-03-30 15:36:44 -07:00
Andrew Watkins 3ffdae1ee8
Merge pull request #3101 from influxdata/bugfix/tempvar
Fix templateVariables not loading properly.  Other variables were amazed
2018-03-30 15:32:00 -07:00
Alex P 35203da2db Fix Dashboard delete button
Nothing was being passed in, also moved the closure to where the
function is defined
2018-03-30 14:57:45 -07:00
Alex P d18cbb15e1 WIP Introduce clone dashboard button 2018-03-30 14:45:47 -07:00
Andrew Watkins 7f3b991c0b Fix templateVariables not loading properly
Runtime error in the 'EDIT_TEMPLATE_VARIABLE_VALUES' reducer
was causing the list not to populate

Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-30 13:38:00 -07:00
Alex Paxton 808bf80753
Merge branch 'master' into polish/improve-add-new-cell 2018-03-30 11:33:24 -07:00
Alex Paxton 99d32f68fa
Merge pull request #3096 from influxdata/polish/confirmation-buttons
Standardize Confirmation Buttons
2018-03-30 11:21:21 -07:00
Alex P d247c11cd9 Use Iris' improved approach for determine most common cell sizes 2018-03-30 11:20:12 -07:00
Brandon Farmer e9ce13f18d
Merge pull request #3097 from influxdata/migrate-all-users-tabel-row
Convert AllUsersTableRow to typescript
2018-03-30 10:10:14 -07:00
ebb-tide de22496613 Merge branch 'master' into feature/table-graph-polish 2018-03-29 18:56:10 -07:00
ebb-tide 3656bee056 Move table graph data transform function tests 2018-03-29 18:47:49 -07:00
Alex Paxton 330188c5cb
Merge branch 'master' into polish/improve-add-new-cell 2018-03-29 17:18:24 -07:00
Brandon Farmer 661bc9d8cd Convert AllUsersTableRow to typescript 2018-03-29 16:46:23 -07:00
Andrew Watkins 152027a639 Fix test warning spam 2018-03-29 16:44:24 -07:00
Alex Paxton ae004b9617
Merge branch 'master' into polish/confirmation-buttons 2018-03-29 16:22:32 -07:00
Alex P 468be2b513 Remove test for button order
This is now handled with CSS
2018-03-29 16:10:17 -07:00
Brandon Farmer ff6d082c18 Define name type for feature flag 2018-03-29 16:07:56 -07:00
Alex P dc7de7f85d Remove obsolete component 2018-03-29 16:07:36 -07:00
Alex P 0ad032d9b5 Remove obsolete component 2018-03-29 16:07:08 -07:00
Andrew Watkins cfa0626055 Add initial styles 2018-03-29 16:06:10 -07:00
Andrew Watkins 76e0d026ea Fix typing errors 2018-03-29 16:06:10 -07:00
Brandon Farmer ff6a9fcb0a Fix FuncSelectorTest
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer 31b92c7601 Add ability to add function nodes to Time Machine
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:06:10 -07:00
Brandon Farmer 178b366191 Func item triggers a handler when it is clicked
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins<andrew.watkinz@gmail.com>
2018-03-29 16:06:10 -07:00
Alex P 80ed25ce2e Refactor TempVar Manager to use confirm button 2018-03-29 16:06:04 -07:00
Brandon Farmer 34c77d0175 Remove unused storybook directory 2018-03-29 16:04:37 -07:00
Andrew Watkins 8b03686af4 Add ast to test props 2018-03-29 16:04:37 -07:00
Andrew Watkins 23591a1a7f Remove From.tsx 2018-03-29 16:04:37 -07:00
Andrew Watkins d8d82868fc Fix test 2018-03-29 16:04:37 -07:00
Andrew Watkins a4c6386155 Fix production type error logging 2018-03-29 16:04:37 -07:00
Andrew Watkins 7559b2e430 Fix broken test 2018-03-29 16:04:37 -07:00
Andrew Watkins b2e70f396f Introduce Walker class for walking the ifql AST
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
2018-03-29 16:04:37 -07:00
Andrew Watkins 6e35370751 Change /suggestions response format to include params
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-29 16:03:26 -07:00
Andrew Watkins c9e9b0bc90 Wrap ifql navigation with feature flag 2018-03-29 16:03:26 -07:00
Andrew Watkins 2140336edc Introduce ClickOutside component 2018-03-29 16:02:32 -07:00
Andrew Watkins 182d4517e7 Introduce filtering to FuncButton 2018-03-29 16:02:32 -07:00
Andrew Watkins a0ef2dbc91 Add onClickOutside and scrolling to FuncsButton 2018-03-29 16:02:32 -07:00
Andrew Watkins e0db988a79 Introduce function list button populated by IFQL 2018-03-29 16:02:32 -07:00
Andrew Watkins 90718ff652 Get suggestions for functions 2018-03-29 16:02:32 -07:00
Andrew Watkins 08d26a7f1e Introduce IFQLPage skeleton 2018-03-29 16:02:31 -07:00
Andrew Watkins 0e9ebc3ef3 Add ifql to links 2018-03-29 16:01:01 -07:00
Andrew Watkins b7cf32873a Add getSuggestions AJAX call to chronograf FE 2018-03-29 16:01:01 -07:00
Andrew Watkins 00c7d9a6e2 Introduce IFQLPage container 2018-03-29 16:01:01 -07:00
Brandon Farmer 185d1d79bc
Merge pull request #3094 from influxdata/fix/ensure-template-variables-save
Ensure that template variables always save
2018-03-29 15:59:45 -07:00
Andrew Watkins 88743a7987
Merge pull request #3095 from influxdata/chore/create-class-removal
Chore createClass removal - Older API's hate them
2018-03-29 15:48:06 -07:00
Alex P bd54d53743 Refactor influxdb roles admin tables to use Confirm Button 2018-03-29 15:40:24 -07:00
Andrew Watkins 9b9db478e9 Remove tsx extension 2018-03-29 15:36:32 -07:00
Alex P 648164aef5 Remove call to nonexistent function 2018-03-29 15:34:29 -07:00
Andrew Watkins cd4b46a838 Fix proptype requirements 2018-03-29 15:33:54 -07:00
Alex P 92ee483065 Refactor dashboards index table to use confirm buttons 2018-03-29 15:28:40 -07:00
Alex P 862ca7d3bd Fix alignment of delete button 2018-03-29 15:25:24 -07:00
Alex P c4bba20174 Refactor providers table to use confirm buttons 2018-03-29 15:20:16 -07:00
Alex P 14106b76c4 Refactor organizations table to use latest patterns 2018-03-29 15:13:30 -07:00
Andrew Watkins 5c32cb4953 Move GraphTips to TypeScript 2018-03-29 14:56:14 -07:00
Andrew Watkins 21ed666397 Convert NoKapacitorError to TypeScript 2018-03-29 14:53:54 -07:00
Andrew Watkins 1cf13b4e31 Convert NotFound to TypeScript 2018-03-29 14:49:56 -07:00
Alex P b91222beb9 Refactor influxdb admin database tables to use latest patterns 2018-03-29 14:47:47 -07:00
Andrew Watkins b2a6c752eb Convert ResizeHandle to TypeScript 2018-03-29 14:46:31 -07:00
Andrew Watkins 1f2b7b4361 Convert SideNav to TypeScript 2018-03-29 14:40:48 -07:00
Andrew Watkins 21e601a003 Convert DataExplorerPage to tsx 2018-03-29 14:07:53 -07:00
Andrew Watkins 10d0b66dcf Remove dead code 2018-03-29 14:07:20 -07:00
Andrew Watkins e58ca3d46c Delete dead code 2018-03-29 13:56:39 -07:00
Andrew Watkins 9cdaae14dd Remove dead code 2018-03-29 13:55:22 -07:00
Andrew Watkins bb2e9b80ad Convert side nav to tsx 2018-03-29 13:54:36 -07:00
Andrew Watkins 777df9a92c Remove dead code 2018-03-29 13:39:48 -07:00
Brandon Farmer fe3eb02118 Ensure that template variables always save 2018-03-29 13:38:47 -07:00
Andrew Watkins 2cff0c98f5 Convert QueryMakerTab to tsx 2018-03-29 13:38:19 -07:00
Alex P b4e94eb43d Refactor Query Row to use ConfirmButton 2018-03-29 11:38:35 -07:00
Alex P 9a7cc1d322 Replace delete influxdb user delete button with confirm button 2018-03-29 11:29:44 -07:00
ebb-tide 8797764a69 Fix negated condition 2018-03-29 11:22:53 -07:00
Alex P 1b6ee466ab Rename ConfirmButtons to "ConfirmOrCancel" 2018-03-29 11:22:13 -07:00
ebb-tide 9fd2ecc6ae Fix delay in sortBy field name propagation 2018-03-29 11:18:53 -07:00
ebb-tide b3f128a020 Letting code breathe 2018-03-29 11:03:01 -07:00
ebb-tide 9f7182416a Improve naming of time series transformer functions 2018-03-29 10:56:27 -07:00
Alex P 276884c1d7 Use ConfirmButton when deleting a InfluxDB Connection 2018-03-29 10:50:22 -07:00
Alex P b35d668a41 Merge branch 'master' into moar-colors-n-stuff 2018-03-29 10:26:27 -07:00
Alex P feffd81323 Merge branch 'master' into polish/improve-add-new-cell 2018-03-29 10:24:07 -07:00
ebb-tide 9794265dae Merge branch 'master' into feature/table-graph-polish 2018-03-29 09:56:54 -07:00
ebb-tide adaee82fe7 Use fast.js for map, reduce, and filter 2018-03-29 09:54:29 -07:00
ebb-tide f2ee9d269b include unix time in time format length calculations 2018-03-28 18:28:38 -07:00
Iris Scholten d542c2e8a2 Merge branch '1.4.3.x' 2018-03-28 18:26:00 -07:00
ebb-tide fe07f8f138 Merge branch 'master' into flip-table-graph-feature-flag 2018-03-28 17:45:48 -07:00
Alex P d080524504 Make current org delete user UX consistent with all users table 2018-03-28 17:04:18 -07:00
Alex P 096eca17d1 Remove lodash 2018-03-28 17:04:06 -07:00
Alex P e7fccab474 Use plain JS arrow function instead of lodash curry 2018-03-28 17:03:46 -07:00
Alex Paxton 290a6abcc8
Merge pull request #3073 from influxdata/bugfix/delete-chrono-user
Fix Delete Button in All Users Admin Table
2018-03-28 16:59:33 -07:00
Alex P 433fe93952 Exit annotation editing mode when user leaves dashboard 2018-03-28 16:29:52 -07:00
Alex P 54fd692fa7 Fix typo 2018-03-28 16:29:38 -07:00
Alex P 51a980b3ae Limit render of Done Editing button to cell types that support annotations 2018-03-28 16:29:18 -07:00
Luke Morris 417e1d4562 Support custom time range in annotations api wrapper 2018-03-28 14:13:34 -07:00
Alex Paxton 160ea27887
Merge branch 'master' into polish/done-editing-annotations 2018-03-28 14:12:43 -07:00
Iris Scholten c633d27cb2
Merge pull request #3082 from influxdata/fetch-annotations-custom-time-range
Support custom time range in annotations api wrapper
2018-03-28 14:02:02 -07:00
Alex P 9b188e1abf Make new dashboard cells match the most common cell size 2018-03-28 14:00:10 -07:00
Alex P af3c6b4512 Add new cells at bottom of dashboard 2018-03-28 13:33:03 -07:00
Andrew Watkins b0db30abb1 Fix date format 2018-03-28 13:10:02 -07:00
Alex P bd1df4ba87 Exit annotation editing mode when user leaves dashboard 2018-03-28 12:36:57 -07:00
Alex P 60c304cf6a Fix typo 2018-03-28 12:31:44 -07:00
Andrew Watkins a8ef331027 Fix date format 2018-03-28 11:52:32 -07:00
Iris Scholten 2b7d2fbc1d update versions with bumpversion 2018-03-28 11:34:23 -07:00
Luke Morris f1a565bcfe Support custom time range in annotations api wrapper 2018-03-28 11:11:09 -07:00
ebb-tide 57158bf326 Flip feature flag for table graphs 2018-03-28 11:00:27 -07:00
Iris Scholten ab31beab7f
Merge pull request #3054 from influxdata/table-tests
Table Graph tests
2018-03-28 10:55:01 -07:00
Alex P d59f82b1c1 Limit render of Done Editing button to cell types that support annotations 2018-03-28 10:36:41 -07:00
Alex Paxton 04fcb72643
Merge branch 'master' into bugfix/delete-chrono-user 2018-03-28 10:09:06 -07:00
Alex P 7941543404 Guard against colors being passed in as an empty array 2018-03-28 10:04:33 -07:00
Andrew Watkins 24031e45dd
Merge pull request #3068 from influxdata/bugfix/graph-fill
Fix graph fill bug: Other graphs hate him
2018-03-28 09:49:18 -07:00
Andrew Watkins 7276cfae48
Merge pull request #3074 from influxdata/spike/feature-flag
Feature Flag with this one weird trick
2018-03-28 09:49:02 -07:00
Andrew Watkins 85ee653b77 Introduce feature flag component
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-03-27 17:19:03 -07:00
Alex P d4f3e46cf7 Fix some of the minute spacing problems in table graph 2018-03-27 17:00:05 -07:00
Alex P 1885b955ac Merge branch 'master' into polish/table-column-measurement 2018-03-27 16:52:02 -07:00
Alex P 87d94d6df2 Make RuleGraph comply with new shape of overrideColors 2018-03-27 15:33:06 -07:00
Alex P 3ec7258b4f Make current org delete user UX consistent with all users table 2018-03-27 15:08:09 -07:00
Alex P b8d8698937 Remove lodash 2018-03-27 15:06:58 -07:00
ebb-tide da564ec772 Improve timeformat options 2018-03-27 15:06:33 -07:00
Alex P 62e1b4f067 Use plain JS arrow function instead of lodash curry 2018-03-27 15:03:35 -07:00
Alex P 0284303281 Improve color palette contrast 2018-03-27 12:19:56 -07:00
Alex P 1a72f0e685 Silence console error 2018-03-27 12:19:23 -07:00
Alex P 138a946354 Improve contrast of color palette 2018-03-27 12:05:12 -07:00
Alex P c9585ac8ae Remove obsolete code 2018-03-27 12:03:03 -07:00
Andrew Watkins d2dec6026f Fix dropdowns rendering 0 2018-03-27 11:47:25 -07:00
Alex P 70400c6748 Improve color selection for graphs with 1 or 2 lines 2018-03-27 11:41:13 -07:00
Deniz Kusefoglu 7e42cd6114
Merge pull request #3059 from influxdata/bugfix/fix-hoverTime
Bugfix/fix hover time
2018-03-27 11:24:15 -07:00
ebb-tide a8087cdadb Make calcScrollToColRow function a lot nicer 2018-03-27 11:02:35 -07:00
Andrew Watkins bc4afc1f32 Fix graph fill bug 2018-03-27 09:12:33 -07:00
Alex P 9cc0c6dda3 Remove dots from static legend 2018-03-26 19:33:47 -07:00
ebb-tide cfa26336a8 fix default time format to include fractions of seconds 2018-03-26 19:14:48 -07:00
Alex P 3732fbaefd Write reducer test for updating line graph colors 2018-03-26 19:14:06 -07:00
Alex P b2c9b2f51b Implement updating and rendering of line color scales 2018-03-26 19:10:19 -07:00
Alex P 9d5486cc92 Introduce component for selecting color scales 2018-03-26 19:09:29 -07:00
ebb-tide 4334391e5a Store table graph labels in state 2018-03-26 18:38:13 -07:00
ebb-tide 88c3f2ef41 Determine hoverStateIndex correctly even if table graph is filtered and sorted
Co-authored-by: Iris Scholten <iris@influxdata.com>
2018-03-26 17:47:28 -07:00
Alex P 03108c6996 WIP Introduce a handful of color presets 2018-03-26 16:55:46 -07:00
Alex P 9248a37a92 Refactor color operations to use Chroma 2018-03-26 16:24:15 -07:00
Alex P 92a7b10c61 Add Chroma.js Package 2018-03-26 16:23:46 -07:00
ebb-tide 6065e79235 Fix hoverTime even in sorted conditions 2018-03-26 15:54:35 -07:00
Andrew Watkins 34151c4100 Delete DropdownMenu.js 2018-03-26 14:42:56 -07:00
Andrew Watkins fff3be1e8c Convert Dropdown to TypeScript 2018-03-26 14:42:39 -07:00
Andrew Watkins d8b368d81b Convert types file from tsx to ts and add new types 2018-03-26 14:42:25 -07:00
Alex P 5f94f9a4cd Merge branch 'master' into moar-colors-n-stuff 2018-03-26 13:14:53 -07:00
Alex P 416670de06 Prototype HSL shifting color spectrum 2018-03-26 13:14:42 -07:00
Iris Scholten 1c596e9845 add test for processing TableGraph data 2018-03-26 12:21:33 -07:00
Alex P 14b1bd718c Factor difference in column sizes into calculation to remove gap on right side of table 2018-03-26 12:04:13 -07:00
Iris Scholten 54e1bee9fb add tests for timeSeriesToTableGraph function 2018-03-26 11:24:05 -07:00
Iris Scholten f358c0dac3 fix prettier errors 2018-03-26 09:54:02 -07:00
ebb-tide 5678819ae2 Reset hoverTime on mouse leave instead of mouse out 2018-03-26 09:03:14 -07:00
Iris Scholten 8c5ba95f2a update getters in TableOptions.test 2018-03-23 18:39:45 -07:00