Commit Graph

4948 Commits (7217d40f64559d250509c2ed3dd3a2c423b15880)

Author SHA1 Message Date
Andrew Watkins a8e7d89b4a Rename tests to match jest regex 2018-03-01 11:16:02 -07:00
Andrew Watkins 24f5d469ee Remove unused dependencies 2018-03-01 11:16:02 -07:00
Andrew Watkins d3d49e31cf Move typsecript to dev dependency 2018-03-01 11:16:02 -07:00
Andrew Watkins 64745085c2 Remove unused package: 2018-03-01 11:16:02 -07:00
Andrew Watkins 311b5e538d 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 0df1ce1c08 Tweak package.json scripts 2018-03-01 11:16:02 -07:00
Andrew Watkins d5b10c7e23 Remove thread loader from babel build to speed up hot reload 2018-03-01 11:16:02 -07:00
Andrew Watkins 215fa3b294 gzip compress prod build 2018-03-01 11:16:02 -07:00
Andrew Watkins 37038f0e5a Add additional UgliffyJSPlugin options 2018-03-01 11:16:02 -07:00
Andrew Watkins 1c238de939 Fix react unminified in prod 2018-03-01 11:16:02 -07:00
Andrew Watkins 5ef181f53d Optimize prod && dev build with threads and babel-preset-env 2018-03-01 11:16:02 -07:00
Andrew Watkins c61ca3a6f8 Update UglifyJsPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins a9ed30664a Update tsconfig exclude 2018-03-01 11:16:02 -07:00
Andrew Watkins 44eb84d3ee Modify prod clean script 2018-03-01 11:16:02 -07:00
Andrew Watkins ac5bc33a6d Update build scripts 2018-03-01 11:16:02 -07:00
Andrew Watkins 1f9f93460b Introduce DllPlugin 2018-03-01 11:16:02 -07:00
Andrew Watkins 5eff3ef204 Add thread and fork-ts-checker-webpack-plugin 2018-03-01 11:16:02 -07:00
Andrew Watkins 57d3b2a002 Update babel loader to use modern webpack config syntax 2018-03-01 11:15:33 -07:00
Andrew Watkins d48e2f7896 Add 2016 babel-preset 2018-03-01 11:15:33 -07:00
Andrew Watkins dcf6b2026d Remove unused / incomplete integration tests 2018-03-01 11:15:33 -07:00
Andrew Watkins f5bfe670d0 Remove storybook 2018-03-01 11:15:33 -07:00
Andrew Watkins e356b932d4 Enable synthetic default imports 2018-03-01 11:14:55 -07:00
Andrew Watkins dc5503975f Update prodConfig with ts-loader 2018-03-01 11:14:55 -07:00
Andrew Watkins a37f75ed90 Introduce first TypeScript file to project 2018-03-01 11:14:55 -07:00
Andrew Watkins 59b8128cd8 Enable HMR via upgrade of webpack-dev-server 2018-03-01 11:14:14 -07:00
Andrew Watkins 70a83477fd Prettier 2018-03-01 11:13:44 -07:00
Andrew Watkins 577e71617e Upgrade to webpack 3 2018-03-01 11:13:44 -07:00
Andrew Watkins facad119f3 Update karma dependencies et al 2018-03-01 11:13:27 -07:00
Andrew Watkins 80be48d12f Make test watching simpler 2018-03-01 11:12:49 -07:00
Andrew Watkins 84d0ed66cb Fix karma loader errors 2018-03-01 11:12:49 -07:00
Andrew Watkins 87bed89c08 Update prod config to support webpack 2 2018-03-01 11:12:49 -07:00
Andrew Watkins a4a491508c Upgrade babel-loader to remove deprecation warning 2018-03-01 11:12:48 -07:00
Andrew Watkins 21a9380d08 Add eslint-config-prettier and fix prettier spam 2018-03-01 11:12:14 -07:00
Andrew Watkins f239990733 WIP: initial upgrade path to Webpack 2 2018-03-01 11:11:30 -07:00
Luke Morris 5777ee718e Bump version number 2018-02-28 23:23:27 -08:00
Luke Morris d44adb5803 Refreshing graphs are by default inView 2018-02-28 23:06:59 -08:00
Luke Morris b4aa74a2a3 RuleGraph is always in view 2018-02-28 22:57:42 -08:00
Luke Morris 099c66e95d Fix kapacitor url update event 2018-02-28 22:55:24 -08:00
Luke Morris ff73d82aa2 Bump version number 2018-02-28 21:28:29 -08:00
Luke Morris 4b54081cf8 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 935186984c, reversing
    changes made to e5b8889bc6.

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 bb01a569ca, reversing
    changes made to 3609bc7d3a.
2018-02-28 20:47:16 -08:00
Iris Scholten 75b4fe1493 WIP adding react-virtualized grid component to TableGraph 2018-02-28 17:50:38 -08:00
lukevmorris 50da0a12d5
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 bacfab3402
Merge pull request #2886 from influxdata/prevent-threshold-jumping
Prevent Threshold Jumping
2018-02-28 16:20:21 -08:00
Iris Scholten 661a7347c3 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 a8dbd442be Clean up logic 2018-02-28 15:17:08 -08:00
Alex P f230b34691 Simplify logic 2018-02-28 15:16:36 -08:00
Alex P 2f45dad9e4 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 fcb15f10d2 Cleanup 2018-02-28 14:38:55 -08:00
Alex P efbaa90411 Fix console error 2018-02-28 14:36:26 -08:00
Alex P 0327a32eff Ensure single stat appears above line graph & annotations 2018-02-28 14:30:27 -08:00
Iris Scholten ba7a556bc3 finish pulling out individual components from TableOptions 2018-02-28 14:13:22 -08:00
Iris Scholten 8fd1ba9464 move parts of TableOptions into their own components 2018-02-28 13:55:14 -08:00
Deniz Kusefoglu b0a15265b0 Add table options sortby, timeaxis and timeformat 2018-02-28 13:37:10 -08:00
Iris Scholten c3720ab035 add default table colors to gaugeColors 2018-02-28 10:47:01 -08:00
Andrew Watkins 3609bc7d3a Add yarn-error.log to .gitignore 2018-02-28 10:29:42 -07:00
Alex P 74c54bf530 Merge branch 'master' into goodbye-bootstrap 2018-02-28 00:02:31 -08:00
Alex P a3366cca20 Remove bootstrap theme 2018-02-28 00:02:21 -08:00
Alex P 64c8dfe22a Introduce text color utilities from bootstrap theme 2018-02-28 00:00:42 -08:00
Alex P c6f7e5135d Align text in edit and display modes 2018-02-27 23:56:30 -08:00
Alex P 12b5300d25 Misc polish 2018-02-27 23:40:50 -08:00
Alex P 5894d7b2d3 Polish 2018-02-27 23:35:27 -08:00
Alex P b6f1182383 Polish radio, checkboxes, and kap config page 2018-02-27 23:27:21 -08:00
Alex P fd12ab835f Panel polish 2018-02-27 23:13:16 -08:00
Alex P ec6ef119fb Polish display bugs in kapacitor rule builder page 2018-02-27 23:06:43 -08:00
Alex P e15cbd0d9d Polish custom time range dropdown 2018-02-27 22:53:12 -08:00
Alex P f60aa7d660 Polish Search Widgets 2018-02-27 22:48:05 -08:00
Alex P 1c51223d85 Minor button icon alignment adjustment 2018-02-27 22:30:07 -08:00
Alex P cef6fde160 Cleanup DE visualization header 2018-02-27 22:28:31 -08:00
Alex P 04023c3838 Cleanup
Removing references to unused classes
2018-02-27 22:20:16 -08:00
Alex P 2f88798036 Add "solid" style panel 2018-02-27 22:13:10 -08:00
Alex P 68c434580d Minor tweaks 2018-02-27 22:10:08 -08:00
Alex P 4aafefc66c Introduce bootstrap grid clone 2018-02-27 21:57:27 -08:00
Alex P 1a8c0e18dd Adjust font size of small form elements 2018-02-27 21:06:28 -08:00
Alex P c74a0d47e6 Adjust vertical alignment of icons inside small buttons 2018-02-27 20:58:56 -08:00
Alex P 5a1fa835de Introduce Code Styles from bootstrap theme 2018-02-27 20:53:03 -08:00
Alex P be0a920e62 Move carets into misc stylesheet 2018-02-27 20:45:40 -08:00
Alex P 62db0828ca Introduce Radio Buttons (tab lists) 2018-02-27 20:39:39 -08:00
Alex P a6a423dc38 Fix carets in dropdowns 2018-02-27 20:29:33 -08:00
Alex P a480c6c1ca Bring in some utilities from bootstrap theme 2018-02-27 20:24:55 -08:00
Alex P 80e356b112 Ensure panel body has rounded top corners when no panel heading present 2018-02-27 20:23:17 -08:00
Alex P c07fe6b0d8 Introduce panels from bootstrap theme 2018-02-27 20:21:57 -08:00
Alex P 8a8874abad Cleanup 2018-02-27 20:02:28 -08:00
Alex P f1da923864 Namespace lower level stylesheets in theme 2018-02-27 20:01:13 -08:00
Alex P 1d315acae8 Introduce Alerts from bootstrap theme 2018-02-27 19:58:08 -08:00
Alex P 548410e23c Introduce form elements 2018-02-27 19:54:48 -08:00
Alex P 27cabfc08c Introduce tables from bootstrap theme 2018-02-27 19:39:12 -08:00
Luke Morris a0053428e0 Merge branch 'master' into prevent-threshold-jumping 2018-02-27 19:29:45 -08:00
Luke Morris 7354a75b79 Merge branch 'master' into feature/migrate-time-interval 2018-02-27 19:14:28 -08:00
Alex P 3a0a3528ca Add more icon margin in buttons 2018-02-27 18:32:02 -08:00
Alex P 9d6baa55c7 Fix some problems with dropdowns 2018-02-27 18:28:48 -08:00
Alex P c148fd3d1a Fix some problems with buttons 2018-02-27 18:18:38 -08:00
Alex P 0b9a5cf117 Center container 2018-02-27 18:17:20 -08:00
Alex P 7b30f6d79f Add Dropdown styles from bootstrap theme 2018-02-27 18:02:22 -08:00
Alex P 96e16f7a28 Introduce Icon Font 2018-02-27 17:55:26 -08:00
Alex P 3f49af6893 Introduce Chronograf Theme
Including 2 modules to start, more to come
2018-02-27 17:51:33 -08:00
Iris Scholten 7d61cca144 add inview to tableoption 2018-02-27 17:36:55 -08:00
Alex P 68c4675925 Format color palette 2018-02-27 17:28:04 -08:00
Iris Scholten 9afed4099e Merge branch 'master' into feature/graph-table 2018-02-27 17:18:00 -08:00
Alex P e86cc1b87f Prevent colors sorting when editing value 2018-02-27 17:16:59 -08:00
Alex P 02ad18dee5 Remove commented out code 2018-02-27 17:16:37 -08:00
Alex P b4c8d458c5 Ensure single stat base color is always first during sort 2018-02-27 17:16:22 -08:00
Alex P c70eda9062 Sort colors when not editing a threshold value 2018-02-27 17:08:40 -08:00
Iris Scholten da43736602 WIP adding controls into TableOptions 2018-02-27 17:07:27 -08:00
Deniz Kusefoglu c3410ea585 Pass dygraphSeries as prop to static-legend to improve update responsiveness while dediting queries 2018-02-27 16:50:16 -08:00
Luke Morris c9929d5908 Remove logs 2018-02-27 16:34:35 -08:00
Iris Scholten b2819b6197 WIP add TableOptions for cell editor overlay options 2018-02-27 16:21:44 -08:00
Iris Scholten 11e1f27f9a mend 2018-02-27 16:13:00 -08:00
Iris Scholten 2d4e02a1c4 add visualization option for table 2018-02-27 16:12:33 -08:00
lukevmorris e5b8889bc6
Merge pull request #2867 from influxdata/fix-single-stat-gauge
Fix Single Stat & Gauge Cells
2018-02-27 15:57:30 -08:00
lukevmorris bd5c565207
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 6f1aa4d7d7 Add react-virtualized to dependencies 2018-02-27 14:21:46 -08:00
Alex P 90d3aa1773 Factor in staticLegendHeight when determining marker and span heights 2018-02-27 14:19:59 -08:00
Alex P 13770e31cb 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 a8b0bd7730 Improve reset stylesheet 2018-02-27 13:06:45 -08:00
Alex P 5564486d89 Remove bootstrap base stylesheet 2018-02-27 13:06:14 -08:00
Alex P cfb4ad7995 Remove jQuery & Bootstrap packages 2018-02-27 13:05:36 -08:00
Alex P 5f44cc1d24 Pass inView into graph types other than line 2018-02-27 12:31:53 -08:00
Deniz Kusefoglu 7dbcdd68fb Merge Conflicts 2018-02-27 11:42:15 -08:00
Deniz Kusefoglu 621bb4016f No style left behind 2018-02-27 10:03:26 -08:00
Deniz Kusefoglu afdf752974 Implement PR review suggestions. 2018-02-27 10:02:43 -08:00
Alex P 07256832a4 Revert "Hide window when not hovering over dygraph"
This reverts commit d72a11bcb4.
2018-02-27 09:45:54 -08:00
Luke Morris d72a11bcb4 Hide window when not hovering over dygraph 2018-02-26 19:46:38 -08:00
Luke Morris 2968fea304 Encapsulate setState in Annotations.heartbeat() 2018-02-26 19:41:42 -08:00
Luke Morris b4466c0d2c Rephrase window dimension calculation 2018-02-26 19:38:28 -08:00
Luke Morris 5547ae7139 Move DYGRAPH_CONTAINER_MARGIN into shared constants 2018-02-26 19:31:27 -08:00
Luke Morris 8283859e99 Remove another occurrence of data-* attributes 2018-02-26 19:28:02 -08:00
Luke Morris 9159b1ebf0 minPercentChange => ANNOTATION_MIN_DELTA 2018-02-26 19:26:47 -08:00
Luke Morris 179f203f3c getAnnotations => visibleAnnotations 2018-02-26 19:23:40 -08:00
Luke Morris 1ea310ead9 Improve local variable naming, function naming 2018-02-26 19:21:45 -08:00
Luke Morris 72d189810e Revert "Slight refactoring"
This reverts commit c7bdb5c000e06d71d720cc18d0be00b9daee2f22.
2018-02-26 19:20:41 -08:00
Luke Morris d91c703b56 Slight refactoring 2018-02-26 19:20:41 -08:00
Luke Morris 95b39e265d Pull annotations for dashboard time range 2018-02-26 19:20:41 -08:00
Alex P 58f6e4b5b5 Move annotation support checker into constants 2018-02-26 18:43:09 -08:00
Alex P 97b7048c25 Make code more readable 2018-02-26 18:42:32 -08:00
Alex P 31d3374417 Cleanup 2018-02-26 18:20:31 -08:00
Alex P f5a0e09f1e Disable Add & Edit annotations actions for cell types that don't support annotations 2018-02-26 15:37:08 -08:00
Alex P ea92aa5e6a Fix type error 2018-02-26 15:18:42 -08:00
Alex P 69fa4842e8 Merge branch 'master' into feature/annotations 2018-02-26 15:10:10 -08:00
Alex P 4016549ac6 Limit render of new annotation tooltip to the currently hovered graph 2018-02-26 15:07:21 -08:00
Alex P fdb9e5389d Prevent user from creating annotations outside the visible graph 2018-02-26 14:45:53 -08:00
Alex P cb41f5acdd Make annotation flags transition background color
slightly less jarring
2018-02-26 13:30:57 -08:00
Alex P 7b93915fa2 Improve copy on exit edit mode button 2018-02-26 13:29:15 -08:00
Alex P 3dfb8ce45f Simplify logic 2018-02-26 12:19:56 -08:00
Alex P a38c5a0048 Fix error 2018-02-26 12:19:29 -08:00
Alex P c478fb2aef Merge branch 'master' into fix-gauge-resize 2018-02-26 11:59:03 -08:00
Luke Morris 9b4aa83263 Merge branch 'feature/annotations' into feature/persistent-legend-with-master 2018-02-23 16:31:03 -08:00
Luke Morris 3a9710a729 This not needed anymore 2018-02-23 16:24:38 -08:00
Iris Scholten 3a5234a735 fix merge error 2018-02-23 14:37:40 -08:00
Iris Scholten 59bdea8efc Merge branch 'master' into feature/lazy-load-dashboard 2018-02-23 14:21:56 -08:00
Iris Scholten 490355cc67 update the function name from getScrollTop to setScrollTop bc setter not getter 2018-02-23 14:16:46 -08:00