Commit Graph

6729 Commits (f228448cfe37230c467a6ec3012918ad26cdecc0)

Author SHA1 Message Date
Alex P e4bb94cc66 Vertically center single stat text in container instead of entire cell 2017-12-11 11:18:18 -08:00
Alex P c1897cc36c Optimize single stat text color based on background color 2017-12-11 11:16:38 -08:00
Alex P 41a989288c Introduce color operations constant for use in single stat
Could be useful elsewhere
2017-12-11 11:16:07 -08:00
Alex P 8636930f65 Render single stat cells with background color of nearest exceeded threshold 2017-12-11 10:48:27 -08:00
Chris Goller 88bd894903 Merge pull request #2528 from influxdata/fix/extra-template-config
Fix template rendering to ignore template if not in query
2017-12-11 12:23:48 -06:00
Luke Morris da5ec796d5 Merge branch 'master' into fix-optin-cursor 2017-12-11 09:52:31 -08:00
Chris Goller ff74d945af Update CHANGELOG.md to mention fixing template rendering with extra vars 2017-12-11 09:53:29 -06:00
Chris Goller 385a215d56 Fix template rendering to ignore template if not in query 2017-12-11 09:49:24 -06:00
lukevmorris 4b2925326a Merge pull request #2512 from influxdata/millisecond-dygraphs
Re-depend on main dygraphs repo
2017-12-08 19:12:43 -08:00
Alex P a55d0c8fd5 Fix mistake 2017-12-08 15:55:56 -08:00
Alex P 853ed656d3 Pass colors into SingleStat 2017-12-08 15:50:46 -08:00
Alex P 09e5a66092 Make SingleStat into a pure component
Mimicking pattern seen in GaugeChart
2017-12-08 15:50:33 -08:00
Alex P b2cf341b8a Prevent gauge needle from exceeding bounds of gauge 2017-12-08 15:40:32 -08:00
Alex P 74ed08f987 Remove MIN & MAX type from gauge 2017-12-08 15:35:03 -08:00
Alex P 3bb1c577a6 WIP remove concept of threshold type 2017-12-08 15:29:44 -08:00
Alex P 99f88705f6 Validate MIN and MAX thresholds based on order in sort not colors.type
Moving away from using threshold type in the interest of making the
logic work for both single stat and gauges
2017-12-08 15:02:58 -08:00
Alex P f11f727997 Ensure single stat threshold values are unique 2017-12-08 15:02:03 -08:00
Alex P dadd133459 Do not enforce min and max values for single-stat thresholds 2017-12-08 14:54:14 -08:00
Alex P 739a661d5a Allow negative values for both gauge and single-stat thresholds 2017-12-08 14:53:23 -08:00
Alex P d595f8eaa8 Prevent addition of thresholds with a nonexistent color 2017-12-08 14:39:40 -08:00
Luke Morris b557ca2108 Bump dygraphs to 2.1.0 2017-12-08 14:33:03 -08:00
Alex P 3c95ba9f37 Sort colors by value and use first and last instead of explicit MIN & MAX
Using MIN & MAX is a nice guard but makes it incompatible with single
stat. This approach is a little more flexible. Starting to think we
might not need explicit threshold types anymore
2017-12-08 14:28:31 -08:00
Alex P 5c71a02e9c Only look for MIN and MAX values if visualization type is gauge 2017-12-08 14:24:39 -08:00
Alex P c8dd0ba4d3 Validate number of thresholds in proper place
Didn’t make sense to do this in two places. This prevents an issue that
occurs when you switch from a gauge to a single-stat and delete one
color, leaving one color remaining, then switch back to gauge
2017-12-08 14:19:42 -08:00
Alex P 74f66b7503 Only enforce DEFAULT_COLORS when visualization type is gauge
Allows for fluid switching between single stat and gauge types without
conflict
2017-12-08 12:06:23 -08:00
Alex P 91b952ba9f Remove redundant file 2017-12-08 12:00:54 -08:00
Alex P 77a8369f59 Rename single stat options component to correct name 2017-12-08 11:59:16 -08:00
Alex P 70ef8d70be Rename GaugeThreshold to be more generic
Needs to work for both single stat and gauge
2017-12-08 11:58:36 -08:00
Alex P 96d532b94c Use separate constants for single stat graphs than gauge 2017-12-08 10:13:34 -08:00
Alex P 8762a8a456 Implement stronger system for rendering appropriate graph options 2017-12-08 10:13:14 -08:00
Luke Morris 17797ccc02 Dygraphs now has support for millisecond granularity 2017-12-07 15:05:33 -08:00
Alex P 1ba52966f8 Render visualization options based on cell type 2017-12-07 14:28:51 -08:00
Alex P 188aee9f5c Introduce single stat options component
This one is similar to gauge options but the logic is a little different
2017-12-07 14:28:00 -08:00
Alex P 6916ca2f85 Move add threshold button above list of thresholds 2017-12-07 14:27:34 -08:00
Nathan Haugo 488d581d9e Update CHANGELOG.md to organize release notes 2017-12-07 15:03:58 -06:00
Nathan Haugo 5ebb4436a6 Add unreleased 1.4.0.0-beta2 to CHANGELOG 2017-12-07 14:40:40 -06:00
Nathan Haugo 05fc484864 Update bumpversion with 1.4.0.0-beta1 2017-12-07 14:38:28 -06:00
Nathan Haugo 0d249cb013 Release 1.4.0.0-beta1 2017-12-07 14:18:19 -06:00
Jared Scheib 9c99555390 Merge pull request #2506 from influxdata/multitenancy
Add support for multiple organizations, multiple users with role-based access control, and private instances
2017-12-07 11:21:02 -08:00
Jared Scheib 94bdb0da9a Update changelog 2017-12-07 11:11:44 -08:00
Jared Scheib edc72c6a3a Remove failing propType when not using auth 2017-12-06 19:10:08 -08:00
Jared Scheib 31f012ff8f Merge branch 'master' into multitenancy 2017-12-06 19:05:16 -08:00
Jared Scheib 505548584d Merge pull request #2399 from influxdata/multitenancy_reset_current_org
Refactor server to issue 403s instead of 401s; handle 403s & routing in client; remove source Role concept
2017-12-06 18:58:40 -08:00
Luke Morris bc89216d2d Repair go integration spec - we return 403s now
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:50:53 -08:00
Jared Scheib 7b4a781695 Repair javascript specs
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 18:39:45 -08:00
Luke Morris 23c7ba312d If a superadmin is removed from an organization, send to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:39:45 -08:00
Luke Morris 4178a1177e If a superadmin is removed from an organization, send to purgatory
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 18:14:24 -08:00
Jared Scheib d8851191d1 Display helpful messages to users
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:56:12 -08:00
Luke Morris cdac1bd870 When user removed from private org, log them out
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 17:53:30 -08:00
Hunter Trujillo ea06f62b1b Merge pull request #2495 from influxdata/feature/yowo
You're Only Warned Once
2017-12-06 18:35:52 -07:00