Commit Graph

4801 Commits (980df66b16c1d09aaefed0dff89007fcd461b25b)

Author SHA1 Message Date
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
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
Andrew Watkins afbcfc3c0d Add yarn-error.log to .gitignore 2018-02-28 10:29:42 -07: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 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
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
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
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 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
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