Commit Graph

2334 Commits (3a37bfc40976afee8b42f6ac51dd39ed4e877a09)

Author SHA1 Message Date
Jared Scheib d658390add Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556 2017-06-08 17:47:01 -05:00
Jared Scheib 478c9849fb Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556 2017-06-08 17:46:53 -05:00
Alex P 457e87a503 Improve UX of alert table empty state 2017-06-08 15:03:24 -07:00
Alex P c6ad7751f5 Separate table and empty state into their own render functions to play nicer with widget mode 2017-06-08 14:50:48 -07:00
Alex P ca2104c9f7 Remove unnecessary wrapping DIV 2017-06-08 14:49:41 -07:00
Jared Scheib e71b9a1bda WIP 2017-06-08 16:04:34 -05:00
Alex P e99fade37c Refactor dygraphs styles to be more flexible
Previous approach relied on the DOM tree rendering a certain way, this
approach does not. Made the change to polish appearance of the Status
Page, but will also prevent styling headaches in the future
2017-06-08 13:14:07 -07:00
Alex P a3351a8303 Prevent full page styles when is a widget 2017-06-08 12:02:37 -07:00
Jared Scheib 3c69a4e4ad WIP Add Redux-based JSONFeedPoller component and actions skeleton 2017-06-08 13:53:33 -05:00
Alex P 2699f5fadb Make status page header full width for consistency 2017-06-08 11:42:50 -07:00
Jared Scheib f7a7510c25 Move StatusPage fixture to fixtures file 2017-06-08 12:13:06 -05:00
Jared Scheib b7eda1a48e Add NewsFeed fixture data 2017-06-08 12:10:13 -05:00
Jared Scheib f076eeb394 Widgetize AlertsApp & add preliminary Alerts widget to StatusPage
Use optional timeRange prop in AlertsApp to set lower timeRange in seconds
Fix source pass-in to LayoutRenderer from StatusPage & make source use with LayoutRenderer consistent across app
Change nonGraph terminology to Widget
Change dimensions of StatusPage fixture cells
2017-06-08 02:41:04 -05:00
Jared Scheib b1499cc0e1 Clarify timeRange lookup by matching on explicit Lower string
Update initial timeRange for status reducer
2017-06-08 02:32:31 -05:00
Jared Scheib e24d5bcc92 Make filter bar hideable via props 2017-06-08 02:23:50 -05:00
Jared Scheib 8ff5c83f2c Refactor AlertsTable to ES6 class 2017-06-08 00:34:34 -05:00
Jared Scheib 58d8ebec57 Update getAlerts syntax to ES6 2017-06-08 00:25:01 -05:00
Jared Scheib 0619336137 Use LayoutRenderer instead of building GridLayout in StatusPage
Add isNotGraph and real influxQL query to fixtures
Add autoRefresh, timeRange, and templates to StatusPage
2017-06-08 00:03:54 -05:00
Jared Scheib ae5b66a55f Simplify LayoutRenderer logic to determine if cell is a graph
Use switch instead of if/else for non graph rendering
Rename conformQueries to standardizeQueries
2017-06-08 00:02:25 -05:00
Jared Scheib e41a280315 Add Status reducer with autoRefresh and timeRange 2017-06-07 23:57:51 -05:00
Jared Scheib 91f305495f Update hson paths to absolute 2017-06-07 23:55:35 -05:00
Jared Scheib 2499f5fa7e Refactor skeleton to accommodate graph vs non-graph cells
Connect StatusPage to router props, ex. source
2017-06-07 18:40:26 -05:00
Jared Scheib af070832bb Refactor RefreshingGraph into dedicated component 2017-06-07 18:31:22 -05:00
Jared Scheib 94de790fbd Remove 'component' prop from non-graph cells in LayoutRenderer 2017-06-07 17:33:25 -05:00
Jared Scheib 7e54784795 Revert to non-Dashboard StatusPage 2017-06-07 17:32:57 -05:00
Jared Scheib f7bc85f708 Merge branch 'master' into feature/status_page-1556 2017-06-07 12:07:27 -05:00
Hunter Trujillo bc7f75d25a Prettier tests. 2017-06-07 10:23:53 -06:00
Hunter Trujillo e79c76f5a6 Update prettier formatting and update ESLint rules to match. 2017-06-07 10:12:40 -06:00
Jared Scheib 2172b0a4db WIP Refactor parts of LayoutRenderer to accommodate non-graph visualizations; refactor StatusPage to use a Dashboard 2017-06-06 19:32:15 -05:00
Jared Scheib e5ff925033 Use getActiveDashboard consistently in DashboardPage 2017-06-06 19:30:39 -05:00
Jared Scheib c7a51c817b Merge remote-tracking branch 'origin/master' into feature/status_page-1556 2017-06-06 17:22:46 -05:00
lukevmorris 6e3acf0386 Restore Line + Single Stat styling (#1594)
* Restore Line + Single Stat styling

* Update CHANGELOG
2017-06-06 15:07:11 -07:00
Jared Scheib 0dc7d8586c Merge pull request #1512 from influxdata/feature/upgrade_and_synchronize_dygraphs
Upgrade and synchronize dygraphs, fix legend fall-off
2017-06-06 16:59:13 -05:00
Jared Scheib 79cfe02922 Prevent legend from swooping on-screen when graph is repositioned
Remove legend animation to support prevent of swooping
2017-06-06 16:44:58 -05:00
Jared Scheib c93c8ac6de Add comments to workaround for legend disappear on redraw 2017-06-06 16:40:18 -05:00
Jared Scheib 791a694c79 Move and comment graph synchronizer opt-out logic 2017-06-06 13:37:41 -05:00
Jared Scheib 9815d302a9 Update bool vars to use 'is' convention 2017-06-06 13:37:07 -05:00
Jared Scheib 93ea172b3a Add Status Page skeleton to UI 2017-06-05 19:10:30 -05:00
Jared Scheib 8839fbac50 Change import path to absolute 2017-06-05 19:09:02 -05:00
Jared Scheib 6b81aa5bb2 Reorder component import to match routes order 2017-06-05 14:02:07 -05:00
Jared Scheib 533a8d62ec Reorder client router routes to match nav order 2017-06-05 13:58:55 -05:00
Regan Kuchan 5a0abe2de7 Update version and changelog for v1.3.2.0 2017-06-02 13:34:23 -06:00
Jared Scheib 33cf8a8c53 Merge remote-tracking branch 'origin/master' into feature/upgrade_and_synchronize_dygraphs
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-06-01 17:58:10 -07:00
Jared Scheib 8e688e812f Recombobulate synchronizer to accommodate graphs with different time ranges
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-06-01 17:27:37 -07:00
Jared Scheib 012b7ce30d Merge pull request #1584 from influxdata/1583-fix/submenu_display
Fix hidden submenus when alert notification on screen
2017-06-01 16:07:59 -07:00
Andrew Watkins e9d13e92c6 Comment out test 2017-06-01 16:00:05 -07:00
Andrew Watkins fb7ae38649 Revert auto-funcs 2017-06-01 15:50:04 -07:00
Jared Scheib d87f61df74 Merge branch 'master' into 1583-fix/submenu_display 2017-06-01 15:44:59 -07:00
Alex Paxton 032d4efde8 Fix z-index failure caused by Notifications being below SideNav in DOM
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-01 15:28:02 -07:00
Jared Scheib 6c7e1d0de4 Fix load localStorage and warning UX on fresh Chronograf install
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-06-01 15:08:52 -07:00
Alex Paxton c95dfda832 Merge pull request #1575 from influxdata/improve-function-selector-ux
Improve Function Selector UX
2017-06-01 13:41:34 -07:00
Jared Scheib 085106849d Toggle correct field funcs in open func selectors when funcs are changed
This applies for when you have one or more open function selectors and
change a field with no funcs selected to have one, or vice versa, such
that the other field funcs are changed to match. Now, the UI will
update accordingly as expected to reflect the selected funcs for all fields.

Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-06-01 13:15:05 -07:00
Alex Paxton dfd6d4349e Hide function selector when fieldListItem is toggled
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-01 13:13:28 -07:00
Alex P 9ec7acbb7f Change toggle text to "0 Functions" when no functions are applied
Slightly more clear what is going on
2017-06-01 12:40:56 -07:00
Alex P 2d3c675bd9 Merge branch 'master' into improve-function-selector-ux 2017-06-01 12:30:37 -07:00
Alex Paxton e532c90664 Merge branch 'master' into new-sidenav-user-icon 2017-06-01 12:29:13 -07:00
Jared Scheib 91fcfbe365 Merge pull request #1564 from influxdata/fix/sourceless_logout
Fix logout menu item functionality & provide logoutLink only when using auth
2017-06-01 12:13:55 -07:00
Andrew Watkins e2946fa39d Merge branch 'master' into feature/auto-func 2017-06-01 10:46:07 -07:00
Chris Goller a92923b46b Merge branch 'master' into fix/sourceless_logout 2017-05-31 22:09:32 -05:00
Alex Paxton 4b09bf5c7f Merge branch 'master' into new-sidenav-user-icon 2017-05-31 17:57:57 -07:00
Alex P 29fdb792b6 Make apply button green as to not blend in with adjacent blue buttons 2017-05-31 17:48:57 -07:00
Alex P 6c20528153 Change toggle color to indicate whether functions have been applied 2017-05-31 17:48:33 -07:00
Alex P ce2aa65789 Make functions toggle display count of applied functions
Doing that grammar thing so it doesn’t read “1 Functions”
2017-05-31 17:47:51 -07:00
Alex P 7ad47a581d Use .active instead of custom class
Forgot I could do this
2017-05-31 17:46:06 -07:00
Andrew Watkins 080d316d01 Merge pull request #1561 from influxdata/feature/save-ceo
Save CEO only with fully qualified queries
2017-05-31 14:23:05 -07:00
Andrew Watkins bed72b1396 Update confirm button props 2017-05-31 14:09:43 -07:00
Andrew Watkins 0cc7f0ada9 Update to better test name 2017-05-31 13:49:27 -07:00
Andrew Watkins f0e0426714 Apply mean automatically to any field 2017-05-31 10:05:14 -07:00
Andrew Watkins e300a27727 Update code to modern patterns 2017-05-31 09:42:58 -07:00
Andrew Watkins f93b735c92 Remove isRequired from template prop 2017-05-31 09:33:22 -07:00
Andrew Watkins 0745576a63 Flip disable logic 2017-05-31 09:25:16 -07:00
Jared Scheib cb394dd716 Refactor /chronograf/v1 to not return logoutLink if not using auth
Use logoutLink to determine if logout menu item is shown

Signed-off-by: Chris Goller <güllère@gmail.com>
2017-05-30 17:34:55 -07:00
Alex P 65a5370cd9 Undo debug mode 2017-05-30 17:01:48 -07:00
Alex P 1865ff6aa7 Use solid user icon instead of outline 2017-05-30 16:55:15 -07:00
Alex P 5d66814516 User pointer cursor on hover for all sidenav items 2017-05-30 16:55:02 -07:00
Alex P 3592f696f1 Add new icons to theme 2017-05-30 16:54:28 -07:00
Jared Scheib 293d7ccfd3 Add comment to explain useAnchor bool 2017-05-30 15:43:37 -07:00
Jared Scheib f6b8f5ee01 Fix logout button by allowing NavHeaders to be anchor tags, partially regressed in edce111f6 2017-05-30 15:23:11 -07:00
Jade McGough 97191fb69f remove unused imports from spec 2017-05-30 14:48:42 -07:00
Jade McGough 80113f948d add missing write file 2017-05-30 14:45:40 -07:00
Jade McGough 0b3bf385b4 cleanup classname constant 2017-05-30 14:45:40 -07:00
Jade McGough 2de105bc34 additional cleanup from code review 2017-05-30 14:45:40 -07:00
Jade McGough 953add51b6 extract overlay class name into constant 2017-05-30 14:45:40 -07:00
Jade McGough cfad36bf32 optimistic update when writing line protocol 2017-05-30 14:45:40 -07:00
Jade McGough 5e1ffe534c better naming 2017-05-30 14:45:40 -07:00
Jade McGough 30f3ab3fd3 stop propogation for escape listener in write data form 2017-05-30 14:45:40 -07:00
Jade McGough 6ca15b62dc fix prop destructuring 2017-05-30 14:45:40 -07:00
Jade McGough 528c7b3f9b writeData -> onWriteData 2017-05-30 14:45:40 -07:00
Jared Scheib b109bfa0d9 Make capitalization consistent 2017-05-30 14:45:40 -07:00
Jade McGough aa64ebefdb hack to prevent closing write data form when clicking alert 2017-05-30 14:45:40 -07:00
Jade McGough 3827003ec4 prepend write failed message 2017-05-30 14:45:40 -07:00
Jade McGough 889c874d01 disable when no input is in write data form 2017-05-30 14:45:40 -07:00
Andrew Watkins 160ffa7b92 Save CEO only with fully qualified queries 2017-05-30 14:39:40 -07:00
Jade McGough 1a6a7f94f2 remove unused propType 2017-05-30 14:38:05 -07:00
Jade McGough 495629eb7f cleanup 2017-05-30 14:38:05 -07:00
Alex P 773870d0f0 Modify appearance of form based on @jaredscheib's feedback
- Less wide
- Gap between title and dropdown
- Helper text looks like helper text
- Rewrote helper text
2017-05-30 14:38:05 -07:00
Jade McGough 62ce1d3b7a close writedataform on escape 2017-05-30 14:36:59 -07:00
Jade McGough 8e0bd25f49 increase height of text box 2017-05-30 14:36:59 -07:00
Jade McGough ae0138ac38 move error handling to thunk 2017-05-30 14:36:59 -07:00
Jade McGough f64f7cb785 remove tests for deleted reducer strings 2017-05-30 14:36:59 -07:00