Commit Graph

5225 Commits (305b9908c2c0147c0c3be7ff5b226dcc64cddd74)

Author SHA1 Message Date
Iris Scholten e275736060 respond to PR review 2018-03-05 18:38:26 -08:00
Iris Scholten 55442444fe change time format from input to dropdown with an input available if custom format selected 2018-03-05 16:40:40 -08:00
Alex P d95fd04e84 Add custom graphic for table type visualizations 2018-03-05 12:59:40 -08:00
Alex P e3cc9f8614 Make input click to edit optionally appear as normal input 2018-03-05 12:33:55 -08:00
Alex P f25acba6ca Style table options more 2018-03-05 11:39:49 -08:00
Alex P d0f9331100 Make graph options organizational CSS classes more generic 2018-03-05 11:39:12 -08:00
Andrew Watkins 9d33133d40 Move old tests over to new jest format 2018-03-05 08:46:23 -08:00
Andrew Watkins 0651d5b222 Add user interaction tests to MeasurementList 2018-03-05 08:46:23 -08:00
Andrew Watkins 902546bf45 Cleaup TagList render() 2018-03-05 08:46:23 -08:00
Andrew Watkins ffec233410 Add test for TagList.tsx 2018-03-05 08:46:23 -08:00
Andrew Watkins 9c11b16d98 Refactor TagList and TagListItem into tsx 2018-03-05 08:46:23 -08:00
Andrew Watkins d09ab49c8e Remove functional logger from webpack dev.config 2018-03-05 08:46:23 -08:00
Andrew Watkins 9e4a1a254c Refactor MeasurementList 2018-03-05 08:46:23 -08:00
Andrew Watkins f4eca0a228 Convert MeasurementList to TypeScript and add tests 2018-03-05 08:46:23 -08:00
Andrew Watkins e2ceba3560 Fix react prop-type warnings 2018-03-05 08:46:23 -08:00
Andrew Watkins e6ebc4ccd0 Update DatabaseList test 2018-03-05 08:46:23 -08:00
Andrew Watkins c3b241b774 WIP Add more tests for DatabaseList 2018-03-05 08:46:23 -08:00
Andrew Watkins ce7ca56727 Add test for DatabaseListItem 2018-03-05 08:46:23 -08:00
Andrew Watkins 80e34cf6d6 Add first successful TypeScript test 2018-03-05 08:46:23 -08:00
Andrew Watkins 30a0ea216c WIP first TypeScript test 2018-03-05 08:46:23 -08:00
Andrew Watkins e132d54579 Move sorting to instance method 2018-03-05 08:46:23 -08:00
Andrew Watkins e163806572 Convert the DatabaseList to TypeScript 2018-03-05 08:46:23 -08:00
Andrew Watkins e3d470e8c2 Convert DatabaseList to TypeScript 2018-03-05 08:46:23 -08:00
Andrew Watkins 780875abbf Add more rendering tests 2018-03-05 08:46:23 -08:00
Andrew Watkins 9bd26e06f6 Update test copy 2018-03-05 08:46:23 -08:00
Andrew Watkins 1f830b25bb Add test for handleFilterKeyPress 2018-03-05 08:46:23 -08:00
Andrew Watkins 7fcd5f2383 Introduce handleFilterKeyPress test 2018-03-05 08:46:23 -08:00
Andrew Watkins 525106df47 Refine <DropdownInput/> rendering test 2018-03-05 08:46:23 -08:00
Andrew Watkins 49880adf6f Add thread-loader to babel build step 2018-03-05 08:44:53 -08:00
Iris Scholten b71babcec6 fix issue with moment deprecation when scrolling in TableGraph 2018-03-02 18:08:30 -08:00
Deniz Kusefoglu 5a624a80ee Add onMouseOver and onMouseOut to table graaaaph grid 2018-03-02 17:24:02 -08:00
Iris Scholten 2912fdb983 update graphOptionsTimeFormat to have state and validate format; fix linter errors 2018-03-02 16:35:16 -08:00
Iris Scholten 8dd3507948 change timeSeriesToTable to transform date into ISO format; update time based on format 2018-03-02 15:15:33 -08:00
Iris Scholten 005f32ef82 add styles to TableGraph
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-03-02 12:35:35 -08:00
Deniz Kusefoglu 119d4f208b Merge pull request #2905 from influxdata/feature/graph-table
TableGraph base functionality
2018-03-02 11:57:09 -08:00
Deniz Kusefoglu 475de32cd9 Add comment indicating location of feature flag 2018-03-02 11:25:46 -08:00
Deniz Kusefoglu 997ae996e2 Respond to PR review 2018-03-02 10:02:44 -08:00
Deniz Kusefoglu 8e007cc8db Respond to PR review 2018-03-02 09:54:37 -08:00
Luke Morris 146292adac Exclude hot-update files 2018-03-01 16:35:05 -08:00
Luke Morris f5b91d1cad Higher signal to noise ratio in incremental output 2018-03-01 16:28:46 -08:00
Iris Scholten a1e3aea4a0 fix linter errors 2018-03-01 16:26:38 -08:00
Iris Scholten c40caf053b turn off TableGraph feature flag 2018-03-01 16:24:01 -08:00
Iris Scholten bcb4a9c960 add higherorder functions to ones that require it in TableOptions
Co-authored-by "Deniz Kusefoglu" <deniz@influxdata.com>
2018-03-01 16:19:46 -08:00
Iris Scholten ea36042e35 change TableGraph to get height from the wrapping div instead of passed in cellheight and remove extra stuff from TableOptions
Co-authored-by: "Deniz Kusefoglu" <deniz@influxdata.com>
2018-03-01 16:03:25 -08:00
Alex Paxton cbf457a150 Merge pull request #2887 from influxdata/goodbye-bootstrap
Goodbye Bootstrap
2018-03-01 13:54:32 -08:00
Deniz Kusefoglu cbc4d9bcc6 use uuid instead of node-uuid 2018-03-01 13:50:12 -08:00
Alex P 1084e0c169 One last fix 2018-03-01 13:42:12 -08:00
Deniz Kusefoglu b2bfa36397 add react-virtualized dependency 2018-03-01 13:41:47 -08:00
Alex P 2ac5ca6cee Remove unused social brand icons from icon font
Also the icons are sorted alphabetically, so it’s a weird diff
2018-03-01 13:40:43 -08:00
Alex P 7eb41de65c Changes from review feedback 2018-03-01 13:40:16 -08:00
Deniz Kusefoglu 903aea9002 Merge branch 'master' into feature/graph-table 2018-03-01 13:39:18 -08:00
Andrew Watkins 1f7d5cb454 Update non-vendor asset build script to yarn start:fast 2018-03-01 14:28:47 -07:00
Iris Scholten 1a60d1857f change Grid to MultiGrid in TableGraph and added a function to trasform data into an accepted format
Co-authored-by: "Deniz Kusefoglu" <deniz@influxdata.com>
2018-03-01 12:57:45 -08:00
Luke Morris b02a79f0e4 Merge branch 'master' into goodbye-bootstrap 2018-03-01 12:20:24 -08:00
Luke Morris ec0e817ff2 Updated yarn.lock 2018-03-01 12:16:49 -08:00
Andrew Watkins d48d62cdbc Update node-uuid to uuid 2018-03-01 12:13:38 -07:00
Andrew Watkins 9287ef521b Have test use mount so they can access refs 2018-03-01 11:42:24 -07:00
Andrew Watkins a2c61ba2a8 Add --runInBand to help with CI test performance 2018-03-01 11:25:02 -07:00
Andrew Watkins 96e07317e4 Christmas time 2018-03-01 11:19:32 -07:00
Andrew Watkins 88bd029b4a Add babel-jest 2018-03-01 11:18:23 -07:00
Andrew Watkins f198e2d8a9 Cleanup 2018-03-01 11:18:23 -07:00
Andrew Watkins 6712a9af4b Add test for handleSelection 2018-03-01 11:18:23 -07:00
Andrew Watkins 3334f432b7 Add test for handleClick instance method 2018-03-01 11:18:23 -07:00
Andrew Watkins e2b25f720b Introduce instance method tests 2018-03-01 11:18:23 -07:00
Andrew Watkins f49ebb468b Add DropdownInput test 2018-03-01 11:18:23 -07:00
Andrew Watkins bcf42ed331 Refactor Dropdown component and specs 2018-03-01 11:18:23 -07:00
Andrew Watkins 78c8771b65 Add introductory Dropdown component test 2018-03-01 11:17:35 -07:00
Andrew Watkins 452e8b909f Add linter to tests 2018-03-01 11:16:29 -07:00
Andrew Watkins 980df66b16 Fix prop-types and other warnings 2018-03-01 11:16:29 -07:00
Andrew Watkins c6d2e4dcbc Remove karma et al 2018-03-01 11:16:29 -07:00
Andrew Watkins 110195babc Fix moment warnings 2018-03-01 11:16:03 -07:00
Andrew Watkins 29fdc74fee Reinstall jest 2018-03-01 11:16:03 -07:00
Andrew Watkins 60b110b681 Update watch script 2018-03-01 11:16:03 -07:00
Andrew Watkins a6021f1e8b Replace deprecated node-uuid with uuid - fixes console node-uuid warnings 2018-03-01 11:16:03 -07:00
Andrew Watkins d74e7824c1 Change test scripts 2018-03-01 11:16:02 -07:00
Andrew Watkins b58af4ced0 Will pass all tests using jest 2018-03-01 11:16:02 -07:00
Andrew Watkins 64eedc0348 WIP Enable jest to resolve all modules 2018-03-01 11:16:02 -07:00
Andrew Watkins db9a2b8e68 Rename spec dir to test 2018-03-01 11:16:02 -07:00
Andrew Watkins e8c9455e4c Rename tests to match jest regex 2018-03-01 11:16:02 -07:00
Andrew Watkins 2ed7a69d94 Remove unused dependencies 2018-03-01 11:16:02 -07:00
Andrew Watkins 1602ac8143 Move typsecript to dev dependency 2018-03-01 11:16:02 -07:00
Andrew Watkins fcd821ce82 Remove unused package: 2018-03-01 11:16:02 -07:00
Andrew Watkins c795448d30 Only create reference to vendor.dll.js in developement
Also changed filenames to fit with more modern webpack conventions
2018-03-01 11:16:02 -07:00
Andrew Watkins 979f4da50d Tweak package.json scripts 2018-03-01 11:16:02 -07:00
Andrew Watkins e90567448d Remove thread loader from babel build to speed up hot reload 2018-03-01 11:16:02 -07:00
Andrew Watkins 622a7cd208 gzip compress prod build 2018-03-01 11:16:02 -07:00
Andrew Watkins 6e9cc6c6cc Add additional UgliffyJSPlugin options 2018-03-01 11:16:02 -07:00
Andrew Watkins 61cefe2372 Fix react unminified in prod 2018-03-01 11:16:02 -07:00
Andrew Watkins 8fcec6e0c4 Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
Andrew Watkins 5726e05ac2 Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins e1d2c1101f Update tsconfig exclude 2018-03-01 11:16:02 -07:00
Andrew Watkins fe6ffd8ae5 Modify prod clean script 2018-03-01 11:16:02 -07:00
Andrew Watkins 034fce1c7e Update build scripts 2018-03-01 11:16:02 -07:00
Andrew Watkins a9d3ef04c1 Introduce DllPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins 7802189804 Add thread and fork-ts-checker-webpack-plugin 2018-03-01 11:16:02 -07:00
Andrew Watkins fda32140a4 Update babel loader to use modern webpack config syntax 2018-03-01 11:15:33 -07:00
Andrew Watkins aedf6add4e Add 2016 babel-preset 2018-03-01 11:15:33 -07:00
Andrew Watkins 1b96642b87 Remove unused / incomplete integration tests 2018-03-01 11:15:33 -07:00
Andrew Watkins 573622b9de Remove storybook 2018-03-01 11:15:33 -07:00
Andrew Watkins c4a0bb7f5d Enable synthetic default imports 2018-03-01 11:14:55 -07:00
Andrew Watkins 461561aaee Update prodConfig with ts-loader 2018-03-01 11:14:55 -07:00
Andrew Watkins 2f9b932d05 Introduce first TypeScript file to project 2018-03-01 11:14:55 -07:00
Andrew Watkins 8202c9710e Enable HMR via upgrade of webpack-dev-server 2018-03-01 11:14:14 -07:00
Andrew Watkins 9245ea9674 Prettier 2018-03-01 11:13:44 -07:00
Andrew Watkins cf7aa73369 Upgrade to webpack 3 2018-03-01 11:13:44 -07:00
Andrew Watkins 889f635da5 Update karma dependencies et al 2018-03-01 11:13:27 -07:00
Andrew Watkins 0c604f7741 Make test watching simpler 2018-03-01 11:12:49 -07:00
Andrew Watkins 958436d6a3 Fix karma loader errors 2018-03-01 11:12:49 -07:00
Andrew Watkins 426b0c97c2 Update prod config to support webpack 2 2018-03-01 11:12:49 -07:00
Andrew Watkins 38c9e51819 Upgrade babel-loader to remove deprecation warning 2018-03-01 11:12:48 -07:00
Andrew Watkins aecc28a4c9 Add eslint-config-prettier and fix prettier spam 2018-03-01 11:12:14 -07:00
Andrew Watkins a7cebee19f WIP: initial upgrade path to Webpack 2 2018-03-01 11:11:30 -07:00
Luke Morris d51dbc8e8f Bump version number 2018-02-28 23:23:27 -08:00
Luke Morris 898a45c0ca Refreshing graphs are by default inView 2018-02-28 23:06:59 -08:00
Luke Morris be55cab8dd RuleGraph is always in view 2018-02-28 22:57:42 -08:00
Luke Morris 1957f3b947 Fix kapacitor url update event 2018-02-28 22:55:24 -08:00
Luke Morris 38f8f114fd Bump version number 2018-02-28 21:28:29 -08:00
Luke Morris c331e0f48e Revert :interval: work
Squashed commit of the following:

commit 8b18f78098953c5aba744dd16a215b6ed4cd5143
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:46 2018 -0800

    Revert "Merge pull request #2663 from influxdata/feature/migrate-time-interval"

    This reverts commit 8cd9d1890c, reversing
    changes made to c1fcd18430.

commit 8f17059d24cc1a1bb4b8675be70fb9adb3f3a3e3
Author: Luke Morris <lukevmorris@gmail.com>
Date:   Wed Feb 28 20:44:23 2018 -0800

    Revert "Merge pull request #2890 from influxdata/fix/time-interval"

    This reverts commit 0a1997d7f1, reversing
    changes made to afbcfc3c0d.
2018-02-28 20:47:16 -08:00
Iris Scholten 5f0001336c WIP adding react-virtualized grid component to TableGraph 2018-02-28 17:50:38 -08:00
lukevmorris 2449e87ab4 Merge pull request #2885 from influxdata/CEO-static-legend-update-speed
Pass dygraphSeries as prop to static-legend to improve update respons…
2018-02-28 16:21:58 -08:00
lukevmorris 6a42674830 Merge pull request #2886 from influxdata/prevent-threshold-jumping
Prevent Threshold Jumping
2018-02-28 16:20:21 -08:00
Iris Scholten 0c4438d281 create TableGraph component and use it in RefreshingGraphs
Co-authored-by: "Deniz Kusefoglu" <deniz@influxdata.com>
2018-02-28 15:39:56 -08:00
Alex P b0994b0cae Clean up logic 2018-02-28 15:17:08 -08:00
Alex P 7bc4555462 Simplify logic 2018-02-28 15:16:36 -08:00
Alex P 47a70a346e Clone SingleStat inside of Dygraph to get access to staticLegendHeight
This way the SingleStat doesn’t obscure the static legend if it is
present
2018-02-28 15:00:48 -08:00
Alex P 1f3b5889aa Cleanup 2018-02-28 14:38:55 -08:00
Alex P b5e33880ff Fix console error 2018-02-28 14:36:26 -08:00
Alex P 5039c2d7c3 Ensure single stat appears above line graph & annotations 2018-02-28 14:30:27 -08:00
Iris Scholten bb95e5ddc4 finish pulling out individual components from TableOptions 2018-02-28 14:13:22 -08:00
Iris Scholten cf8a0ee1da move parts of TableOptions into their own components 2018-02-28 13:55:14 -08:00
Deniz Kusefoglu c8a8b5f282 Add table options sortby, timeaxis and timeformat 2018-02-28 13:37:10 -08:00
Iris Scholten a58aaa950f add default table colors to gaugeColors 2018-02-28 10:47:01 -08:00
Andrew Watkins afbcfc3c0d Add yarn-error.log to .gitignore 2018-02-28 10:29:42 -07:00
Alex P 14161c2170 Merge branch 'master' into goodbye-bootstrap 2018-02-28 00:02:31 -08:00
Alex P df71f70271 Remove bootstrap theme 2018-02-28 00:02:21 -08:00
Alex P d8763185e9 Introduce text color utilities from bootstrap theme 2018-02-28 00:00:42 -08:00
Alex P 3fb0c8249b Align text in edit and display modes 2018-02-27 23:56:30 -08:00
Alex P 0ed84ac06f Misc polish 2018-02-27 23:40:50 -08:00
Alex P a16f0da7c0 Polish 2018-02-27 23:35:27 -08:00
Alex P 4ba5240dd9 Polish radio, checkboxes, and kap config page 2018-02-27 23:27:21 -08:00
Alex P 32302e64f9 Panel polish 2018-02-27 23:13:16 -08:00
Alex P 036b5da9bb Polish display bugs in kapacitor rule builder page 2018-02-27 23:06:43 -08:00
Alex P d167f35461 Polish custom time range dropdown 2018-02-27 22:53:12 -08:00
Alex P 6fb42a152c Polish Search Widgets 2018-02-27 22:48:05 -08:00
Alex P 315c7b9f0f Minor button icon alignment adjustment 2018-02-27 22:30:07 -08:00
Alex P a2eb54a6a5 Cleanup DE visualization header 2018-02-27 22:28:31 -08:00
Alex P bd776736d1 Cleanup
Removing references to unused classes
2018-02-27 22:20:16 -08:00
Alex P 72aceacd0c Add "solid" style panel 2018-02-27 22:13:10 -08:00
Alex P 3200c27eef Minor tweaks 2018-02-27 22:10:08 -08:00
Alex P 7b9380a2ba Introduce bootstrap grid clone 2018-02-27 21:57:27 -08:00
Alex P 18b6108ab0 Adjust font size of small form elements 2018-02-27 21:06:28 -08:00
Alex P 52c27c1eec Adjust vertical alignment of icons inside small buttons 2018-02-27 20:58:56 -08:00
Alex P 78f970ef7c Introduce Code Styles from bootstrap theme 2018-02-27 20:53:03 -08:00
Alex P d87801185a Move carets into misc stylesheet 2018-02-27 20:45:40 -08:00
Alex P 15a63f9fc3 Introduce Radio Buttons (tab lists) 2018-02-27 20:39:39 -08:00
Alex P c3304262bf Fix carets in dropdowns 2018-02-27 20:29:33 -08:00
Alex P 5bc5b24fdd Bring in some utilities from bootstrap theme 2018-02-27 20:24:55 -08:00
Alex P 26f5f282a1 Ensure panel body has rounded top corners when no panel heading present 2018-02-27 20:23:17 -08:00
Alex P c645d8dc06 Introduce panels from bootstrap theme 2018-02-27 20:21:57 -08:00
Alex P ed1b56b0f6 Cleanup 2018-02-27 20:02:28 -08:00
Alex P 22948f26bd Namespace lower level stylesheets in theme 2018-02-27 20:01:13 -08:00
Alex P 2bb83c7ae3 Introduce Alerts from bootstrap theme 2018-02-27 19:58:08 -08:00
Alex P 9854ae8b83 Introduce form elements 2018-02-27 19:54:48 -08:00
Alex P 726a61b231 Introduce tables from bootstrap theme 2018-02-27 19:39:12 -08:00
Luke Morris df8eb6ace8 Merge branch 'master' into prevent-threshold-jumping 2018-02-27 19:29:45 -08:00
Luke Morris 801f1311a4 Merge branch 'master' into feature/migrate-time-interval 2018-02-27 19:14:28 -08:00
Alex P 38e6a9ff76 Add more icon margin in buttons 2018-02-27 18:32:02 -08:00
Alex P 178d298d7c Fix some problems with dropdowns 2018-02-27 18:28:48 -08:00
Alex P 2b687c41d4 Fix some problems with buttons 2018-02-27 18:18:38 -08:00
Alex P 3fbb76fad0 Center container 2018-02-27 18:17:20 -08:00
Alex P f5f853a98c Add Dropdown styles from bootstrap theme 2018-02-27 18:02:22 -08:00
Alex P 0204944edc Introduce Icon Font 2018-02-27 17:55:26 -08:00
Alex P c344a32796 Introduce Chronograf Theme
Including 2 modules to start, more to come
2018-02-27 17:51:33 -08:00
Iris Scholten a40c77a28e add inview to tableoption 2018-02-27 17:36:55 -08:00
Alex P e196b1e42b Format color palette 2018-02-27 17:28:04 -08:00
Iris Scholten e4068950ab Merge branch 'master' into feature/graph-table 2018-02-27 17:18:00 -08:00
Alex P ced2b34940 Prevent colors sorting when editing value 2018-02-27 17:16:59 -08:00
Alex P a16ed55137 Remove commented out code 2018-02-27 17:16:37 -08:00
Alex P f72e3e546b Ensure single stat base color is always first during sort 2018-02-27 17:16:22 -08:00
Alex P 9e3344f443 Sort colors when not editing a threshold value 2018-02-27 17:08:40 -08:00
Iris Scholten 6bf7132101 WIP adding controls into TableOptions 2018-02-27 17:07:27 -08:00
Deniz Kusefoglu 838d78ac59 Pass dygraphSeries as prop to static-legend to improve update responsiveness while dediting queries 2018-02-27 16:50:16 -08:00
Luke Morris cc7cb6cc72 Remove logs 2018-02-27 16:34:35 -08:00
Iris Scholten 1ddda5afbe WIP add TableOptions for cell editor overlay options 2018-02-27 16:21:44 -08:00
Iris Scholten bf74d70719 mend 2018-02-27 16:13:00 -08:00
Iris Scholten 068c14cb62 add visualization option for table 2018-02-27 16:12:33 -08:00
lukevmorris c1fcd18430 Merge pull request #2867 from influxdata/fix-single-stat-gauge
Fix Single Stat & Gauge Cells
2018-02-27 15:57:30 -08:00
lukevmorris d971b7a076 Merge pull request #2869 from influxdata/actually-fix-ceo-keyboard-shortcuts
Actually fix Cell Editor keyboard shortcuts
2018-02-27 14:51:54 -08:00
Deniz Kusefoglu 97c1cb16d4 Add react-virtualized to dependencies 2018-02-27 14:21:46 -08:00
Alex P 483532c1c3 Factor in staticLegendHeight when determining marker and span heights 2018-02-27 14:19:59 -08:00
Alex P d8ccf8f1de Reset focus to CEO after deleting a threshold or hitting max thresholds
Previously the UI would lose focus and keyboard events no longer fire
2018-02-27 13:45:56 -08:00
Alex P eca565cb6e Improve reset stylesheet 2018-02-27 13:06:45 -08:00
Alex P 14df308409 Remove bootstrap base stylesheet 2018-02-27 13:06:14 -08:00
Alex P 4def676fb1 Remove jQuery & Bootstrap packages 2018-02-27 13:05:36 -08:00
Alex P 7b67975585 Pass inView into graph types other than line 2018-02-27 12:31:53 -08:00
Deniz Kusefoglu 90a574cc64 Merge Conflicts 2018-02-27 11:42:15 -08:00
Deniz Kusefoglu 67d7eebb00 No style left behind 2018-02-27 10:03:26 -08:00
Deniz Kusefoglu b4ecdf3c5e Implement PR review suggestions. 2018-02-27 10:02:43 -08:00
Alex P ebd2087079 Revert "Hide window when not hovering over dygraph"
This reverts commit 1108decb0e.
2018-02-27 09:45:54 -08:00
Luke Morris 1108decb0e Hide window when not hovering over dygraph 2018-02-26 19:46:38 -08:00
Luke Morris dc1ac678ed Encapsulate setState in Annotations.heartbeat() 2018-02-26 19:41:42 -08:00
Luke Morris 9d40520256 Rephrase window dimension calculation 2018-02-26 19:38:28 -08:00
Luke Morris 2a30c347e0 Move DYGRAPH_CONTAINER_MARGIN into shared constants 2018-02-26 19:31:27 -08:00
Luke Morris 9157127859 Remove another occurrence of data-* attributes 2018-02-26 19:28:02 -08:00
Luke Morris 82bcc01d92 minPercentChange => ANNOTATION_MIN_DELTA 2018-02-26 19:26:47 -08:00
Luke Morris 2450845fa7 getAnnotations => visibleAnnotations 2018-02-26 19:23:40 -08:00
Luke Morris 037a8b787f Improve local variable naming, function naming 2018-02-26 19:21:45 -08:00
Luke Morris 329f4bcc4f Revert "Slight refactoring"
This reverts commit c7bdb5c000e06d71d720cc18d0be00b9daee2f22.
2018-02-26 19:20:41 -08:00
Luke Morris 615fbdfa49 Slight refactoring 2018-02-26 19:20:41 -08:00
Luke Morris 9ef2af60ee Pull annotations for dashboard time range 2018-02-26 19:20:41 -08:00
Iris Scholten 65229d1fa0 add secondary props update function to InputClickToEdit for updating on key changes 2018-02-26 18:47:28 -08:00
Alex P 42c2554775 Move annotation support checker into constants 2018-02-26 18:43:09 -08:00
Alex P 7b4113b2b5 Make code more readable 2018-02-26 18:42:32 -08:00
Alex P 5645a9891b Cleanup 2018-02-26 18:20:31 -08:00
Alex P 40db5ff3e1 Disable Add & Edit annotations actions for cell types that don't support annotations 2018-02-26 15:37:08 -08:00
Alex P da8df4d299 Fix type error 2018-02-26 15:18:42 -08:00
Alex P 5c06558759 Merge branch 'master' into feature/annotations 2018-02-26 15:10:10 -08:00
Alex P 09c8d3120b Limit render of new annotation tooltip to the currently hovered graph 2018-02-26 15:07:21 -08:00
Alex P f08b87957c Prevent user from creating annotations outside the visible graph 2018-02-26 14:45:53 -08:00
Alex P fbe113bee9 Make annotation flags transition background color
slightly less jarring
2018-02-26 13:30:57 -08:00
Alex P 1a28f6bc53 Improve copy on exit edit mode button 2018-02-26 13:29:15 -08:00
Alex P 2bd1d1e4a9 Simplify logic 2018-02-26 12:19:56 -08:00
Alex P 68ab64316c Fix error 2018-02-26 12:19:29 -08:00
Alex P e9bee9b30d Merge branch 'master' into fix-gauge-resize 2018-02-26 11:59:03 -08:00
Luke Morris 7f2342dc37 Merge branch 'feature/annotations' into feature/persistent-legend-with-master 2018-02-23 16:31:03 -08:00
Luke Morris ed1b836c39 This not needed anymore 2018-02-23 16:24:38 -08:00
Iris Scholten 2bf8cf9cae fix merge error 2018-02-23 14:37:40 -08:00
Iris Scholten ef2c8b4bd2 Merge branch 'master' into feature/lazy-load-dashboard 2018-02-23 14:21:56 -08:00
Iris Scholten 45cc375857 update the function name from getScrollTop to setScrollTop bc setter not getter 2018-02-23 14:16:46 -08:00
Iris Scholten 8087f5b0c5 update variable name and logic from notInView to inView (neg to pos) 2018-02-23 14:08:47 -08:00
Deniz Kusefoglu 0f809684b9 WIP Frontend interval values from ppp and resolution to points 2018-02-23 14:04:35 -08:00
Iris Scholten b5f3004a2a break down parts of the inView logic into descriptive variables to help readability 2018-02-23 14:00:35 -08:00
Alex Paxton 108970a884 Merge branch 'master' into prefix-suffix 2018-02-23 12:29:36 -08:00
Alex P 2c7177b6c9 Make "Manage Tasks" the default link on the alerting nav item 2018-02-23 11:54:17 -08:00
Alex P e9ced2eb78 Only resize gauge chart if its cell is the one being resized 2018-02-23 11:22:19 -08:00
Alex P d8c57046c8 Add Prefix and Suffix to Gauge cells
Doesn’t look great when the user has set both but that’s a separate
issue
2018-02-23 10:43:24 -08:00
Alex P 4ad52680cf Add prefix to single stat options 2018-02-23 10:30:47 -08:00
Alex P 6b75292f9a Enforce character limit on axes options prefix/suffix inputs
Now they match the limit set in the single stat options
2018-02-23 10:30:02 -08:00
Alex P 06a9a81d8c Merge branch 'master' into polish-alerts-page-design 2018-02-23 10:04:36 -08:00
Alex P 3e5ab10bc9 Remove ID column and improve column header names 2018-02-23 10:01:57 -08:00
Alex P fcb8264fe7 Add helpful QuestionMarkTooltip in the manage tasks page header
This explains the difference between Alert Rules and TICKscripts
2018-02-23 09:41:32 -08:00
Alex P 19b267504a Rename page to Manage Tasks
Trying to align terminology with the docs
2018-02-23 09:35:22 -08:00
Alex P 612241bf7a Do not display ID column in tickscripts table 2018-02-23 09:34:56 -08:00
Alex P a4049675e2 Color new and dragging annotation windows blue 2018-02-23 09:18:17 -08:00
Luke Morris 7c9ae33648 Merge branch 'feature/annotations' into feature/persistent-legend-with-master 2018-02-22 21:48:49 -08:00
Luke Morris 213fb2b31d Hidden conflict 2018-02-22 21:47:30 -08:00
Luke Morris 4c4e8d05ce Merge branch 'feature/annotations' into feature/persistent-legend-with-master 2018-02-22 21:29:13 -08:00
Luke Morris 8f98a92c48 Merge branch 'master' into feature/annotations 2018-02-22 19:53:23 -08:00
Luke Morris 746356e59e Remove unused files 2018-02-22 19:48:10 -08:00
Luke Morris d6913302eb Create new annotation at cursor position 2018-02-22 19:19:55 -08:00
Alex P 8ca076c06c Render name column in tick scripts table 2018-02-22 18:27:54 -08:00
Luke Morris d4fb78e502 Revert "Clean up dygraph positioning styles"
This reverts commit 3a639e2e62.
2018-02-22 16:58:30 -08:00
Alex P 3a639e2e62 Clean up dygraph positioning styles
- More intuitive names
- Less repetition
2018-02-22 15:41:12 -08:00
Alex P 1d83a1a622 Improve new tooltip copy 2018-02-22 14:28:10 -08:00
Alex Paxton 8c0ce23c68 Merge pull request #2833 from influxdata/refactor-ceo-state
Refactor CellEditorOverlay State
2018-02-22 14:14:00 -08:00
Luke Morris 7eb4011d60 Show tooltip over hovered marker 2018-02-22 14:04:16 -08:00
Luke Morris 268d4e7294 Improve tooltip behavior 2018-02-22 13:55:48 -08:00
Iris Scholten 492df48453 add loading dots to graphs during their initial fetch
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-02-22 13:15:13 -08:00
Iris Scholten c016055cf3 change preventLoad to notInView for readibility
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>
2018-02-22 12:25:23 -08:00
Iris Scholten ad798aa590 prevent execution of queries if preventLoad is true
Co-authored-by: Deniz Kusefoglu <deniz@influxdata.com>:
2018-02-22 11:54:38 -08:00
Luke Morris 7b35d58273 Improve UX/UI for dragging / adding annotation 2018-02-22 11:25:42 -08:00
Luke Morris a1e7b4ed29 Temp annotation is removed via another action 2018-02-22 10:55:16 -08:00
Alex P b60a6c5500 Chop down the logs 2018-02-22 10:26:46 -08:00
deniz kusefoglu e7e2061a50 Always display time() around GROUP BY interval 2018-02-22 13:04:36 -05:00
Luke Morris 66dfd2dd6d Hide left span marker if out of range 2018-02-22 09:58:54 -08:00
Luke Morris 0db027e6a2 Reveal tooltip when dragging annotations 2018-02-22 09:58:54 -08:00
Luke Morris 0f109f54d8 Annotations move along with side-scrolling graph 2018-02-22 09:58:54 -08:00
Luke Morris 2a501e535d And even further 2018-02-22 09:58:54 -08:00
Luke Morris 77fc39d572 Pushing forward 2018-02-22 09:58:53 -08:00
Luke Morris c16613d223 Transfer most styles to stylesheet 2018-02-22 09:58:53 -08:00
Iris Scholten f5e450342d check if preventLoad has updated 2018-02-21 18:03:29 -08:00
Deniz Kusefoglu 2a724ccdb2 Set timeseries to [] instead of queries
Co-authored-by: iris scholten <ischolten.is@gmail.com>
2018-02-21 16:59:28 -08:00
Alex P 2e2963aea1 Write tests for cellEditorOverlay reducer 2018-02-21 14:52:22 -08:00
Deniz Kusefoglu 1984556323 Prevent running of queries instead of unmounting graph component 2018-02-21 14:38:46 -08:00
Deniz Kusefoglu a4be79c59c Remove stray perens 2018-02-21 13:45:13 -08:00
Alex P 7b27e35e68 Update bootstrap theme
Adding styles for focus state of dropdown
2018-02-21 13:13:23 -08:00
Deniz Kusefoglu 80eef5edfe Place inView mapping function in DashboardPage 2018-02-21 12:34:22 -08:00
Deniz Kusefoglu a4d4cca52b Change emptyfunnies 2018-02-21 11:44:19 -08:00
Deniz Kusefoglu 0ebd96720e Get scrollTop value from fancy scrollbar and pass to Dasboard 2018-02-21 11:43:14 -08:00
Alex P 036bcb9c81 Don't require second esc keypress to exit when target is dropdown or button 2018-02-21 11:27:10 -08:00
Alex P 629a2fb82d Make dropdown component focusable and force focus after selecting an item 2018-02-21 11:26:39 -08:00
Iris Scholten d87054df74 Update variable and function names to reduce the amount of comment explanation 2018-02-21 10:03:44 -08:00
Deniz Kusefoglu 3a181dfd33 Prevent loading of graphs in cells that are outside viewing window 2018-02-21 09:46:49 -08:00
Alex P cd7a5c1550 Revert "Remove unused prop validation"
This reverts commit dcb58b71d8.
2018-02-21 09:42:53 -08:00
Alex P dcb58b71d8 Remove unused prop validation 2018-02-21 00:01:09 -08:00
Alex P 1f73695f5c Move suffix editing into single stat options
Was previously floating around in CEO
2018-02-20 23:56:24 -08:00
Alex P 9336326199 Refactor axes into redux state instead of CEO state 2018-02-20 23:39:38 -08:00
Alex P 7770017f4e Refactor gauge colors into redux state instead of CEO state 2018-02-20 23:02:22 -08:00
Alex P 85d13d27ed Refactor single stat colors into redux state instead of CEO state 2018-02-20 22:27:42 -08:00
Luke Morris 2e1e2b3cf1 span drag end updates start/end time 2018-02-20 21:42:14 -08:00
Alex P da600f613c Refactor cellWorkingName into CEO redux state 2018-02-20 21:05:03 -08:00
Luke Morris 330a239460 Both span markers are draggable 2018-02-20 20:29:18 -08:00
Deniz Kusefoglu e747ae136b Remove lazy loader 2018-02-20 19:59:24 -08:00
Alex P 8f12f5db77 Refactor cellWorkingType and showing/hiding CEO into redux state 2018-02-20 18:40:21 -08:00
Iris Scholten f214249135 WIP remove filtering of cells and dont show not visible ones 2018-02-20 17:55:32 -08:00
Iris Scholten 20bb1eb127 WIP add filtering based on scrollTop and availableHeight 2018-02-20 16:23:06 -08:00
Luke Morris 25cb1d2858 Persist APoint updates to server 2018-02-20 15:43:47 -08:00
Luke Morris 76de1f9a1d Slight tweak to dragging behavior 2018-02-20 15:36:22 -08:00
Alex P 9272394f25 Polish appearance of tables
- Add confirmation to delete buttons
- Color code tables by type (rules = blue, scripts = green)
- Adjust column sizing to have unify appearance of both tables
2018-02-20 14:12:45 -08:00
Alex P 186191f617 Show both alert rules and tick scripts in tasks table 2018-02-20 14:11:07 -08:00
Alex P 73b713e834 Rename page in header and sidenav 2018-02-20 14:07:38 -08:00
Luke Morris 22f17c4c0d Factor out AnnotationPoint/Span 2018-02-20 13:30:01 -08:00
Iris Scholten 229ac5c047 create LazyLoader component 2018-02-20 12:55:41 -08:00
Luke Morris 0a4c894d22 Function add/delete 2018-02-20 12:00:08 -08:00
Deniz Kusefoglu 68bcdc9e6a Fix test errors 2018-02-20 11:51:32 -08:00
Luke Morris 332fb69aa3 WIP simplify styles naming, alter filter logic 2018-02-20 11:50:17 -08:00
Luke Morris 053f3f624d Scope function names under `style` 2018-02-20 11:26:53 -08:00
Luke Morris 854427267f Simplify filter 2018-02-20 11:26:43 -08:00
Deniz Kusefoglu 1ea4a297b3 Merge branch 'feature/annotations' into feature/persistent-legend-with-master 2018-02-20 14:19:19 -05:00
Luke Morris f89be6c653 Break further into components 2018-02-19 17:37:46 -08:00
Luke Morris 377e715744 Begin working toward AnnotationSpan component 2018-02-19 16:46:02 -08:00
Luke Morris 36e55c5fb5 deleteAnnotationAsync from tooltip 2018-02-19 16:21:43 -08:00
Luke Morris b961e713c7 Include getAnnotationsAsync in prop-types 2018-02-19 16:16:24 -08:00
Luke Morris a63f1a6092 Left flag dedicated to startTime; Right to endTime 2018-02-19 11:17:55 -08:00
Luke Morris b1096b2ba2 AnnotationWindow renders appropriately 2018-02-19 10:09:32 -08:00
Luke Morris fe24ba6dfc Enforce presence of endTime 2018-02-19 09:52:02 -08:00
Luke Morris 98a1b97574 No need for bindActionCreators 2018-02-16 22:15:16 -08:00
Luke Morris d855524199 Full create for single and windowed annotations 2018-02-16 21:37:31 -08:00
Luke Morris 9ea15c51c7 Unify annotation schema in both client/server 2018-02-16 19:49:13 -08:00
Iris Scholten a8a9ab9870 change the default selected value to the last selected value and instead of first value 2018-02-16 17:43:15 -08:00
Iris Scholten f13d809619 save template variable value changes to the server 2018-02-16 17:17:19 -08:00
Iris Scholten e7b3399544 move logic saving only selected values logic to reusable function 2018-02-16 16:59:53 -08:00
Iris Scholten 41302a7f9d save template variable selected values to the server for non csvs instead of no values 2018-02-16 16:45:39 -08:00
Iris Scholten 0133e6727b save the entire dashboard to redux and dashboard without template variable values to server 2018-02-16 16:05:28 -08:00
deniz kusefoglu bed393e639 Fix linting errors from merging on github 2018-02-15 23:53:33 -05:00
Luke Morris af473c27f1 Don't need uuid 2018-02-15 19:23:34 -08:00
Luke Morris 65a1369294 repair tests 2018-02-15 12:47:28 -08:00
Luke Morris 41244f4edc Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-15 12:03:10 -08:00
Deniz Kusefoglu 891abfffd6 Merge branch 'feature/annotationz-pre-pl-with-master' into feature/persistent-legend-with-master 2018-02-15 13:06:14 -05:00
Chris Goller f7144112a9 Update meta nodes to respect insecure skip verify 2018-02-14 13:25:08 -08:00
Luke Morris 9d349ef89b Bump to 1.4.1.2 2018-02-13 13:34:50 -08:00
deniz kusefoglu bbdde76463 Use predefied default template vars 2018-02-13 16:13:36 -05:00
deniz kusefoglu 127c9c9201 Send default tempVars value with :interval: from data explorer csv download 2018-02-13 15:49:59 -05:00
Iris Scholten 374878f626 display series with 0 value in the legend 2018-02-13 12:30:54 -08:00
Luke Morris 932d4f3084 Initial links fetch requires basepath 2018-02-13 11:17:21 -08:00
Luke Morris 035988e990 Bump version to 1.4.1.1 2018-02-12 18:03:16 -08:00
Luke Morris 348c415106 Organizations only apply when auth is enabled 2018-02-12 17:51:34 -08:00
Luke Morris 3fa5e09c10 Bump version 2018-02-12 16:42:58 -08:00
Alex Paxton acedd18798 Merge pull request #2788 from influxdata/single-stat-polish
Single Stat Polish
2018-02-12 15:48:32 -08:00
Alex P 10caa1efc6 Treat color values in CEO as numbers until save the coerce into string 2018-02-12 15:30:41 -08:00
ischolten 1014946dc5 Merge pull request #2699 from influxdata/feature/mappings
Add Mappings to organizations
2018-02-12 15:29:01 -08:00
Iris Scholten cc8d0c7354 remove OrganizationTableRowDefault bc its not used and update the verbiage for the empty providers table 2018-02-12 15:19:57 -08:00
Iris Scholten fc00b95141 prevents create for incomplete records 2018-02-12 15:07:01 -08:00
lukevmorris d821b62d74 Merge pull request #2796 from influxdata/fix/maintain-auth-across-refresh
Wait until after authentication to match routes
2018-02-12 15:01:08 -08:00
Iris Scholten 06e41d628a add placeholders for InputClickToEdit for the new provider table row 2018-02-12 14:52:32 -08:00
Alex P 3604c76cf5 Fix spelling mistake
Hella T’s no good
2018-02-12 14:18:47 -08:00
Alex P 962e705aca Remove commented out code 2018-02-12 14:17:36 -08:00
Alex P 28cd164f16 Rename SingleStatColoration to SingleStatType 2018-02-12 14:17:18 -08:00
Iris Scholten 5222614dd6 disable eslint for ready check 2018-02-12 12:17:20 -08:00
Iris Scholten b71788df9f Wait until after authentication to match route 2018-02-12 12:03:07 -08:00