Commit Graph

4048 Commits (91bae804e1c200933550b398ca5a53a0165872bd)

Author SHA1 Message Date
Jared Scheib 91bae804e1 Refactor links_test to use table test and cleaner error check
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-27 13:30:34 -07:00
Jared Scheib 200225d2e2 Conserve memory allocation for customLinks slice
Signed-off-by: Chris Goller <goller@gmail.com>
2017-06-27 12:00:05 -07:00
Jared Scheib 3b76f82d47 Remove omitempty from CustomLink definition since should never b 2017-06-27 11:02:28 -07:00
Jared Scheib 0ab48663a8 Return and test for nil on invalid NewCustomLink input 2017-06-27 10:59:04 -07:00
Jared Scheib 99c6636152 Use ES6 spread operator instead of .concat for nav items 2017-06-27 10:52:12 -07:00
Jared Scheib 3622ed91c5 Remove unused redux key from ajax links response 2017-06-27 10:20:12 -07:00
Jared Scheib b513f8d388 Fix failing SideNav by removing sidebar--bottom div
Also remove sidebar-item--last for now
2017-06-26 19:03:32 -07:00
Jared Scheib f064342440 Merge remote-tracking branch 'origin/master' into feature/custom_user_links-1550 2017-06-26 18:05:22 -07:00
Jared Scheib 854f304d18 Remove unused custom links key 2017-06-26 18:16:46 -05:00
Jared Scheib fcf9971d86 Pass through CustomLinks error message directly 2017-06-26 18:02:22 -05:00
Jared Scheib 7da6ca8918 Update changelog 2017-06-26 17:23:01 -05:00
Jared Scheib 3e3bf8988c Add full test coverage for NewCustomLinks 2017-06-26 17:18:53 -05:00
Jared Scheib b38439321d Move external links structs to links.go 2017-06-26 16:13:23 -05:00
Jared Scheib def34560e0 Only test one CustomLink to avoid map key order failing test 2017-06-26 16:12:54 -05:00
Jared Scheib 81aa909329 Add custom links to routes test 2017-06-26 16:00:27 -05:00
Jared Scheib 987141cffa Use appropriate error when NewCustomLinks fails 2017-06-26 15:44:56 -05:00
Jared Scheib a32c17a18d Comment CustomLink struct 2017-06-26 15:43:03 -05:00
Jared Scheib cac72eea60 Change 'Url' prop key to 'URL' to satisfy Go convention 2017-06-26 15:42:36 -05:00
Jared Scheib 9198e5cb7a Update comment for ServeHTTP to mention External Links 2017-06-26 15:35:42 -05:00
Jared Scheib 4bf242f955 Refactor CustomLinks transform into routes.go and new links.go
Rename generateCustomLinks to NewCustomLinks
Handle error from NewCustomLinks per app convention
2017-06-26 15:30:33 -05:00
Alex Paxton 9d390273ee Merge pull request #1655 from influxdata/misc-ui-polish
Misc UI Polish
2017-06-26 13:11:44 -07:00
Jared Scheib a6dcb3a382 Add 'custom' prop and example to /chronograf/v1 in swagger docs 2017-06-26 11:56:05 -07:00
Jared Scheib c2b2c2c6f8 Fix redux state path for custom links 2017-06-26 11:48:55 -07:00
Jared Scheib c1bdbcaa89 Generate custom links from env var and multiple CLI flags
Signed-off-by: Chris Goller <goller@gmail.com>
2017-06-26 11:48:47 -07:00
Jared Scheib 68c2765524 Merge branch 'feature/custom_user_links-1550' of https://github.com/influxdata/chronograf into feature/custom_user_links-1550 2017-06-23 15:58:03 -07:00
Jared Scheib a251071254 WIP Parse custom links from CLI 2017-06-23 15:12:02 -07:00
Alex P 482cbd8e2b Style user menu to stack within viewport 2017-06-23 11:41:01 -07:00
Alex P 86b11d75f9 Update changelog 2017-06-23 11:32:25 -07:00
Alex P 74da46be4d Add glow effect to active sidebar items 2017-06-23 11:24:19 -07:00
Alex P 928bfde139 Add more colors to singleStatLineColors 2017-06-23 11:08:49 -07:00
Alex P 3989949e46 Rebase and fix conflicts 2017-06-23 11:05:23 -07:00
Alex P 8bc8a986ed Prevent angry error message 2017-06-23 11:04:13 -07:00
Alex P 5c6f256b83 Add missing closing bracket
Not sure what happened here
2017-06-23 10:26:25 -07:00
Alex P c27985b20b Attempt to block error when printing version number
This should work in theory
2017-06-23 10:26:06 -07:00
Timothy J. Raymond 04bed9a266 Merge pull request #1612 from influxdata/feature/tr-no-internal
Remove system databases from "Write Data" dropdown
2017-06-23 13:18:29 -04:00
Andrew Watkins fd9f4fc2e0 Update CHANGELOG 2017-06-23 10:05:42 -07:00
Andrew Watkins 71ebd6644c Remove stale comment 2017-06-23 09:59:09 -07:00
Tim Raymond ec70c28723 Filter only _internal database from WriteData
It was decided that the only system-private database is the _internal
database and that users might have created databases prefixed with an
underscore that they would like to write data to from Chronograf.
2017-06-23 12:16:16 -04:00
Jared Scheib cbab4402b5 Merge branch 'master' into feature/custom_user_links-1550 2017-06-22 16:56:28 -07:00
Jared Scheib 9510562371 Generate user side nav menu with custom links 2017-06-22 16:54:06 -07:00
Alex P f743f38777 Merge branch 'master' into misc-ui-polish 2017-06-22 16:35:38 -07:00
Alex P 0f0805a2f0 Complete refactor of sidenav
- Reduced DOM complexity
- Less styles overall
- Added an icon in the navbar to show version number
- Still needs an eslint ignore
2017-06-22 16:30:28 -07:00
Alex P 5724aed904 WIP refactor sidenav 2017-06-22 16:16:19 -07:00
Alex Paxton 7b3d6906b3 Merge pull request #1644 from influxdata/sticky-alert-table
Sticky Alert Table
2017-06-22 16:07:40 -07:00
Andrew Watkins febdbfb3a0 Merge branch 'master' into sticky-alert-table 2017-06-22 15:53:38 -07:00
Andrew Watkins 1b57e8141f Merge pull request #1581 from influxdata/feature/refresh-tvars
Refresh templates on dashboard load
2017-06-22 14:50:02 -07:00
Alex P bf0dbcf5c3 Make dashboards page contents into its own stateless component 2017-06-22 14:24:45 -07:00
Andrew Watkins 6bfdf361e5 Update comment 2017-06-22 14:12:33 -07:00
Andrew Watkins 64d91d3376 Remove uneccessary argument 2017-06-22 14:10:08 -07:00
Alex P d05bc9af0e Use correct proptypes for dashboards 2017-06-22 13:59:50 -07:00