Commit Graph

4048 Commits (c637e5407d576627837c07b33e14ae4b0cb97806)

Author SHA1 Message Date
Jared Scheib c637e5407d 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 2e93ad5230 Conserve memory allocation for customLinks slice
Signed-off-by: Chris Goller <goller@gmail.com>
2017-06-27 12:00:05 -07:00
Jared Scheib 3fea7501d8 Remove omitempty from CustomLink definition since should never b 2017-06-27 11:02:28 -07:00
Jared Scheib 48e90fcd0a Return and test for nil on invalid NewCustomLink input 2017-06-27 10:59:04 -07:00
Jared Scheib b88ced9526 Use ES6 spread operator instead of .concat for nav items 2017-06-27 10:52:12 -07:00
Jared Scheib b2b5426cc3 Remove unused redux key from ajax links response 2017-06-27 10:20:12 -07:00
Jared Scheib b2f88df97a 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 e089266013 Merge remote-tracking branch 'origin/master' into feature/custom_user_links-1550 2017-06-26 18:05:22 -07:00
Jared Scheib d2a91f6dc4 Remove unused custom links key 2017-06-26 18:16:46 -05:00
Jared Scheib 578bf89c97 Pass through CustomLinks error message directly 2017-06-26 18:02:22 -05:00
Jared Scheib c89b7c3bb6 Update changelog 2017-06-26 17:23:01 -05:00
Jared Scheib 604faea32d Add full test coverage for NewCustomLinks 2017-06-26 17:18:53 -05:00
Jared Scheib ca239d037d Move external links structs to links.go 2017-06-26 16:13:23 -05:00
Jared Scheib 81ada5315c Only test one CustomLink to avoid map key order failing test 2017-06-26 16:12:54 -05:00
Jared Scheib 6e59d8ce34 Add custom links to routes test 2017-06-26 16:00:27 -05:00
Jared Scheib a723ef8ae1 Use appropriate error when NewCustomLinks fails 2017-06-26 15:44:56 -05:00
Jared Scheib 6dedf77add Comment CustomLink struct 2017-06-26 15:43:03 -05:00
Jared Scheib ede2476837 Change 'Url' prop key to 'URL' to satisfy Go convention 2017-06-26 15:42:36 -05:00
Jared Scheib 799dc64ea4 Update comment for ServeHTTP to mention External Links 2017-06-26 15:35:42 -05:00
Jared Scheib 90aaa8104d 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 114edd31a2 Merge pull request #1655 from influxdata/misc-ui-polish
Misc UI Polish
2017-06-26 13:11:44 -07:00
Jared Scheib 1b3c00d07a Add 'custom' prop and example to /chronograf/v1 in swagger docs 2017-06-26 11:56:05 -07:00
Jared Scheib 8486d495b1 Fix redux state path for custom links 2017-06-26 11:48:55 -07:00
Jared Scheib 7d6eaf925a 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 c805bcc366 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 613dcc64ac WIP Parse custom links from CLI 2017-06-23 15:12:02 -07:00
Alex P 3adf83d4ac Style user menu to stack within viewport 2017-06-23 11:41:01 -07:00
Alex P 9e1ddeafa7 Update changelog 2017-06-23 11:32:25 -07:00
Alex P 42042d17cc Add glow effect to active sidebar items 2017-06-23 11:24:19 -07:00
Alex P 5ae13baf8f Add more colors to singleStatLineColors 2017-06-23 11:08:49 -07:00
Alex P 8f03b23785 Rebase and fix conflicts 2017-06-23 11:05:23 -07:00
Alex P daa5b2be5a Prevent angry error message 2017-06-23 11:04:13 -07:00
Alex P 5d94010f7d Add missing closing bracket
Not sure what happened here
2017-06-23 10:26:25 -07:00
Alex P 2f59882ae2 Attempt to block error when printing version number
This should work in theory
2017-06-23 10:26:06 -07:00
Timothy J. Raymond b2ac4d80e7 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 0fd42997d0 Update CHANGELOG 2017-06-23 10:05:42 -07:00
Andrew Watkins ba15954e8f Remove stale comment 2017-06-23 09:59:09 -07:00
Tim Raymond 65c902dd9c 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 767a78476f Merge branch 'master' into feature/custom_user_links-1550 2017-06-22 16:56:28 -07:00
Jared Scheib 919f5ac0e5 Generate user side nav menu with custom links 2017-06-22 16:54:06 -07:00
Alex P c20f3f1681 Merge branch 'master' into misc-ui-polish 2017-06-22 16:35:38 -07:00
Alex P bde0eccdad 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 19157bd23d WIP refactor sidenav 2017-06-22 16:16:19 -07:00
Alex Paxton 2362e56ff3 Merge pull request #1644 from influxdata/sticky-alert-table
Sticky Alert Table
2017-06-22 16:07:40 -07:00
Andrew Watkins 291b556bd3 Merge branch 'master' into sticky-alert-table 2017-06-22 15:53:38 -07:00
Andrew Watkins 4bfe9e8324 Merge pull request #1581 from influxdata/feature/refresh-tvars
Refresh templates on dashboard load
2017-06-22 14:50:02 -07:00
Alex P 12a8df6b00 Make dashboards page contents into its own stateless component 2017-06-22 14:24:45 -07:00
Andrew Watkins cc43ac1f08 Update comment 2017-06-22 14:12:33 -07:00
Andrew Watkins a70e253b33 Remove uneccessary argument 2017-06-22 14:10:08 -07:00
Alex P f6c822f210 Use correct proptypes for dashboards 2017-06-22 13:59:50 -07:00