Commit Graph

8900 Commits (c23d75396fb786f27bf59336d35e97039c6006be)

Author SHA1 Message Date
Jared Scheib c23d75396f Refactor interceptingResponseWrite Flusher for clarity
Co-authored-by: Daniel Nelson <daniel.nelson@influxdb.com>
2018-04-20 18:40:09 -07:00
Jared Scheib a5adbdfc8d Remove basepath var & arg from PrefixedRedirect 2018-04-20 18:40:09 -07:00
Jared Scheib ece8bad9f0 Remove prefix-routes & clean up basepath var and flag use
Now, if basepath is set, it will be prefixed to all routes.
There is no more additional option of prefix-routes.
2018-04-20 18:40:09 -07:00
Jared Scheib b9f2029bb2 Match basepath against regexp to ensure proper format 2018-04-20 18:40:09 -07:00
Jared Scheib eaefe0da63 Fail server if basepath contains trailing or starting '/' 2018-04-20 18:39:49 -07:00
Jared Scheib 68d9d6610b Fix logout link with basepath
Remove double-prefixing by removing the prefixing
logic of the InterceptingResponseWriter.

Fix the logout link route for its handler to not
include a basepath prefix.

Remove obsolete tests for prefixing redirector.

Co-authored-by: Michael Desa <mjdesa@gmail.com>
2018-04-20 16:58:41 -07:00
Andrew Watkins acb5680be4
Merge pull request #3238 from influxdata/ifql/from
Ifql/from
2018-04-19 10:56:25 -07:00
Alex Paxton 22a19b318f
Merge pull request #3259 from influxdata/polish/small-details
Polish Some Small Details
2018-04-19 10:29:33 -07:00
Andrew Watkins 0b55592266 Change header size 2018-04-19 10:07:21 -07:00
Andrew Watkins 50ec22fdb2 Replace casting with instantiating an array of with Body type 2018-04-19 10:07:06 -07:00
Andrew Watkins 6702a23af7 Switch from string interpolation to .toString string prototype 2018-04-19 10:00:27 -07:00
Andrew Watkins bbd0c2fda3 Fix test 2018-04-19 09:54:35 -07:00
Brandon Farmer 6b4e6a756c
Merge pull request #3252 from influxdata/fixes/selecting-tickscript-editor
Allows users to select tickscript editor with mouse
2018-04-19 09:50:25 -07:00
Brandon Farmer 66998fced5 Correct autocomplete value 2018-04-19 09:38:21 -07:00
Alex Paxton e2d6ab87ac
Merge pull request #3256 from influxdata/polish/shrink-dashboard-text
Shrink Dashboard Text
2018-04-18 18:10:59 -07:00
Alex P 44e7a54568 Fix lopsided cell resize lines 2018-04-18 17:59:12 -07:00
Alex P b5fddb41d1 Fix resizer handle overflow 2018-04-18 17:59:00 -07:00
Alex P 71c0b6084d Update Changelog 2018-04-18 17:49:33 -07:00
Alex P 2d03456453 Shrink dashboard text
Static legend items are smaller as well
2018-04-18 17:44:01 -07:00
Andrew Watkins 86b076826b Update addNode for use with multiple expressions 2018-04-18 17:27:57 -07:00
Brandon Farmer a61ac152f8 Update changelog 2018-04-18 17:13:59 -07:00
Brandon Farmer 6d4a38fb43 Convert stateful PureComponents to Component
Removing errors caused by shouldComponentUpdate being called
2018-04-18 17:12:01 -07:00
Brandon Farmer 68586c2ab5 Extract logic to update notification height 2018-04-18 17:11:29 -07:00
Alex Paxton 7fc1b54696
Merge pull request #3255 from influxdata/polish/add-permissions-to-dash-empty
Wrap DashboardEmpty with Authorized
2018-04-18 16:49:51 -07:00
Alex P 25b51d3d3b Prevent users below EDITOR from seeing add cell menu on empty dashboard 2018-04-18 16:32:31 -07:00
Brandon Farmer 1cf4df095b Allows users to select tickscript editor with mouse 2018-04-18 16:23:19 -07:00
Andrew Watkins 40ccf761ba Much math 2018-04-18 16:17:59 -07:00
Jared Scheib 092c14c80c
Merge pull request #3239 from influxdata/update/pr_template_for_swagger
Update PR template to include checkbox for Swagger docs
2018-04-18 16:16:03 -07:00
Andrew Watkins aea9d7c9b9 Remove type / lint errors 2018-04-18 16:04:49 -07:00
Andrew Watkins 5cff567037 WIP Update delete for FuncNodes 2018-04-18 16:00:55 -07:00
Andrew Watkins 82e6a733f1 WIP updated walker to return expression source 2018-04-18 14:37:27 -07:00
Alex Paxton b83fbc03f5
Merge pull request #3240 from influxdata/ux/dashboard-empty-state
Improve Dashboard Empty State
2018-04-18 14:24:22 -07:00
Brandon Farmer 31b386c3ea
Merge pull request #3243 from influxdata/fixes/add-template-var-breaks-dashboard
Fixes adding template variables breaks dashboard
2018-04-18 14:17:04 -07:00
Andrew Watkins f54362f10c WIP Introduce expressions 2018-04-18 14:12:56 -07:00
Brandon Farmer 3260189381 Use lodash to determine value length 2018-04-18 14:05:22 -07:00
Brandon Farmer be08784638 Handle cases where no dropdown values are present 2018-04-18 14:04:28 -07:00
Brandon Farmer 608d4fdebf Fix error message grammer and style 2018-04-18 13:41:02 -07:00
Brandon Farmer e4ab93b789 Guard against values that are null in dropdown width calculation 2018-04-18 13:39:07 -07:00
Alex P d89bb27fc3 Add error handling decorator to component 2018-04-18 13:16:40 -07:00
Alex P 8656e853b1 Remove UUID as map key
Using the `type` key from `GRAPH_TYPES` which shouldn’t have any
conflicts because this component will not be visible at the same time
as other lists of graph types
2018-04-18 13:15:45 -07:00
Alex P e8ec841902 Merge branch 'master' into ux/dashboard-empty-state 2018-04-18 13:11:48 -07:00
Jared Scheib a98b23d6af
Merge pull request #3233 from influxdata/bugfix/hostlist-customdb
Allow for use of custom Retention Policy when querying for hosts from Host List page & Host pages
2018-04-18 13:04:26 -07:00
Alex P 1d3b6b5339 Show mouse pointer on hover 2018-04-18 12:39:31 -07:00
Alex Paxton 1f64dd99dc
Merge pull request #3202 from influxdata/polish/grid-pack-new-cells
Improve box packing for New and Cloned cells
2018-04-18 12:38:02 -07:00
Jared Scheib c9daa0c1d2 Update swagger to include defaultRP
Backfill source fields that were missing to swagger as well.

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-04-18 12:34:36 -07:00
Andrew Watkins efa5e25611 Add test for from component 2018-04-18 12:32:19 -07:00
Jared Scheib 4df0817674 Update PR template to include checkbox for Swagger docs
Fix typo.

Co-authored-by: Iris Scholten <ischolten.is@gmail.com>
2018-04-18 12:15:21 -07:00
Alex P 8f9385b26b Improve accuracy of copy 2018-04-18 12:13:03 -07:00
Alex P a9590805ca Implement cell type constants across app 2018-04-18 12:09:00 -07:00
Andrew Watkins 063f9c9bf7 Add prop for funcArg test 2018-04-18 12:08:43 -07:00