Andrew Watkins
b50f728ccc
Merge pull request #2499 from influxdata/origin/multitenancy/enter-and-escape-admin-user
...
Add enter and escape key behavior to Chronograf admin users page
2017-12-06 15:07:54 -08:00
Jared Scheib
febdbd0d1b
Clean up error message for consistency
2017-12-06 14:57:49 -08:00
Jared Scheib
9e9aadcb1b
Add notification for successful delete of source
2017-12-06 14:25:19 -08:00
Jared Scheib
731c3ab47c
Fix notification copy on add & update source
2017-12-06 14:23:49 -08:00
deniz kusefoglu
03614b7678
Add enter and escape key behavior to Chronograf admin users page
2017-12-06 14:22:27 -08:00
Hunter Trujillo
283d2eefcd
Same story for updateSourceAction.
2017-12-06 15:06:21 -07:00
Jared Scheib
d1cf8d95f6
Fetch sources anew if showDatabases fails; communicate errors to user
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 13:42:51 -08:00
Hunter Trujillo
c4b862c5b8
Fix source updating upon adding sources by calling the bound action creator from props instead of just the action creator by itself.
2017-12-06 14:38:37 -07:00
Luke Morris
66522fb1a9
Route demoted admin to / from /admin-chronograf
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 11:03:12 -08:00
Hunter Trujillo
dc2c1ca9ba
Add reducer to keep track of dismissed notifications. So that You're Only Warned Once.
2017-12-06 09:28:10 -07:00
Jared Scheib
bbe1330cbf
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-12-05 18:47:05 -08:00
Luke Morris
89717072c2
Don't route superadmin to purgatory
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 18:40:16 -08:00
Luke Morris
790773d601
Display error notification to a Viewer if logging into organization with no sources
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 18:36:07 -08:00
Jared Scheib
324c10ea50
Require min role Viewer to perform GET on /sources in CheckSources
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 17:40:31 -08:00
Jared Scheib
808163fe69
Merge branch 'multitenancy' into multitenancy_fix_layouts
2017-12-05 16:03:05 -08:00
Jared Scheib
34a9050e1d
Refactor client to consume modified /layouts endpoint & data shape
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 16:00:02 -08:00
Luke Morris
92a4522838
Combine actions & reducers for me & auth & logoutLink to synchronize state update
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-05 15:37:39 -08:00
Jared Scheib
ff1eebd67c
Refactor CheckSources to ES6 React class
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 14:34:29 -08:00
Alex P
0cb1abe51a
Ensure more pleasing margins on login buttons when quantity is variable
2017-12-05 13:51:48 -08:00
Jared Scheib
987d462de3
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-12-05 13:37:46 -08:00
Nathan Haugo
4afa71a2f4
Merge pull request #2410 from influxdata/gauge-cell-type
...
Gauge Dashboard Cell
2017-12-05 13:26:02 -08:00
Jared Scheib
1323a062b7
Merge branch 'master' into multitenancy
2017-12-05 13:00:48 -08:00
Jared Scheib
d61846a4c7
Merge remote-tracking branch 'origin/multitenancy' into multitenancy_remove_viewer_put
2017-12-05 12:51:37 -08:00
Andrew Watkins
aaef5d39c4
Merge pull request #2450 from influxdata/feature/auto-group-by-de
...
Auto GROUP BY in the DataExplorer
2017-12-05 12:27:45 -08:00
Andrew Watkins
8a1b836543
Merge branch 'master' into bugfix/hoverline
2017-12-05 12:24:11 -08:00
Alex P
5f6a9a9087
Merge branch 'master' into gauge-cell-type
2017-12-05 12:12:16 -08:00
Alex P
d249c4f83c
Guard against missing colors
2017-12-05 12:07:40 -08:00
Hunter Trujillo
a6f2966dc4
Remove logging animations.
2017-12-05 12:53:31 -07:00
Jared Scheib
b77e83e7ee
Make dashboards filter work for lowercase search terms
2017-12-05 11:45:59 -08:00
Jared Scheib
93f11e1325
Merge remote-tracking branch 'origin/master' into multitenancy
2017-12-05 11:43:23 -08:00
Hunter Trujillo
ae32aba01f
Refactor to use Scrollbars from FancyScrollbar.
2017-12-05 12:09:01 -07:00
Hunter Trujillo
49a47e71a3
Remove propTypes from member properties and place at end of file.
2017-12-04 18:24:22 -07:00
Hunter Trujillo
2f11fd15a1
Remove unnecessary return.
2017-12-04 18:13:40 -07:00
Hunter Trujillo
a1d9ea9396
Refactor webpack file cleanup script to use ES6-compatible callback-style Node fs calls.
2017-12-04 18:10:57 -07:00
Alex P
0d1a27af1b
Use destructuring and implicit return
...
Just a nicer pattern
2017-12-04 16:53:48 -08:00
Andrew Watkins
c18a0f781d
Merge branch 'master' into feature/auto-group-by-de
2017-12-04 16:51:01 -08:00
Alex P
554a644840
Use template string instead of String constructor
2017-12-04 16:49:39 -08:00
Alex P
a1d58e0372
Remove unused ref
2017-12-04 16:48:45 -08:00
Alex P
13bbb3cb93
Use PureComponent in favor of shouldComponentUpdate with shallow compare
2017-12-04 16:44:21 -08:00
Alex P
7f77b36cd2
Ensure provider indicator in nav does not wrap
2017-12-04 16:24:41 -08:00
Jared Scheib
19c265d344
Prevent PUT operations for Viewer role on Dashboard load
2017-12-04 16:19:17 -08:00
Hunter Trujillo
6a1625d8e7
Fix headers sent to Kapacitor proxy endpoint by clientside fetch.
2017-12-04 16:47:23 -07:00
Andrew Watkins
fd8793b5cd
Improve performance of highlightCallback
2017-12-04 15:21:14 -08:00
Andrew Watkins
4343c177d4
Update guard clause of syncronizer
2017-12-04 15:20:46 -08:00
Alex P
44e0c654f8
Merge branch 'multitenancy' into multitenancy_ui_polish
2017-12-04 14:39:44 -08:00
Alex P
67de1ac907
Prevent tooltip wrap
2017-12-04 14:31:19 -08:00
Alex P
cce06367a7
Remove function call and closure
2017-12-04 14:30:16 -08:00
Jared Scheib
e64c072388
Merge pull request #2435 from influxdata/multitenancy_prevent_bad_add_org_user
...
Prevent unintended update of existing user on Add; fix duplicate User & Org creation client UX
2017-12-04 14:15:27 -08:00
Jared Scheib
75e1c46577
Merge pull request #2452 from influxdata/multitenancy_ui_prevent_self_deletion
...
Disable 'Remove' button for self in Chronograf UsersTable
2017-12-04 13:57:33 -08:00
Alex P
b5712ec099
Adjust widths of default role and public columns in organization table
2017-12-04 13:19:19 -08:00
Alex P
8823304177
Change copy in org switching buttons
2017-12-04 13:18:55 -08:00
Jared Scheib
0661d40e9e
Disable delete self onClick in Chronograf UsersTable
2017-12-04 11:27:53 -08:00
Alex P
475994b656
Add text label to org switching buttons in organizations table
2017-12-04 11:19:11 -08:00
Alex P
6e7863015e
Highlight self in chronograf admin users table
2017-12-01 17:17:43 -08:00
Jared Scheib
2a02ddead4
Filter on ID for users & orgs on Remove
2017-12-01 17:00:41 -08:00
Alex P
17fdcc6686
Make telegraph database input in source form full width
...
Don’t need to make space for the role dropdown any longer
2017-12-01 16:26:47 -08:00
Alex P
1867bbbee3
Refactor empty state into two subcomponents
2017-12-01 16:19:11 -08:00
Alex P
2f8d6251e9
Use icons instead of text to indicate which org is current in organization table
2017-12-01 15:52:19 -08:00
Alex P
a4d1ee9675
Update icon font and bootstrap theme
2017-12-01 15:50:50 -08:00
Alex P
c35ef40880
Remove ID column from organizations table
2017-12-01 12:08:27 -08:00
Alex P
50ce990391
Display scheme & provider in user nav menu
2017-12-01 11:43:15 -08:00
Alex P
8f7cdbc5de
Change copy from 'switch' to 'connect' in organization table
2017-12-01 11:40:58 -08:00
Alex P
963287990d
Wire up switch organization button in organizations table
2017-12-01 11:13:49 -08:00
Hunter Trujillo
8413e77161
Fix file removal code. Fix clean script. Add clean to yarn start.
2017-12-01 11:14:16 -07:00
Alex P
8b44cb6006
Add org switching column to organizations table
2017-12-01 10:07:37 -08:00
Alex P
cea6fd3672
Remove superadmin indicator from user's nav item
2017-12-01 09:43:40 -08:00
Jared Scheib
1dd66754ba
Render Create Dashboard button on empty Dashboards Table only if at least Editor
2017-11-30 21:02:48 -08:00
Jared Scheib
4b748528e1
Render Configure Kapacitor on empty Alerts Table only if at least Editor
2017-11-30 21:01:51 -08:00
Jared Scheib
3f693894a2
Fix client UX when creating a Chronograf organization that already exists
2017-11-30 20:20:37 -08:00
Jared Scheib
42cae3f4ab
Disable 'Remove' button for self in Chronograf UsersTable
...
Add propTypes definition for 'users' in Chronograf AdminTabs
Add 'disabled' prop to DeleteConfirmButtons
2017-11-30 19:53:14 -08:00
Jared Scheib
f8920cf39b
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-11-30 19:07:40 -08:00
Jared Scheib
68c9fd0747
Remove source Role concept from client
2017-11-30 19:04:54 -08:00
Andrew Watkins
a977a7f466
Fix Table requests
2017-11-30 15:50:18 -08:00
Andrew Watkins
00ee805880
Fix runtime error when no rawText present
2017-11-30 15:25:55 -08:00
Andrew Watkins
80b88beaad
Add :interval: to DataExplorer
2017-11-30 15:25:32 -08:00
Andrew Watkins
de352b0f16
Merge branch 'master' of github.com:influxdata/chronograf
2017-11-30 15:24:17 -08:00
Jared Scheib
c1cb7a7614
Remove obsolete Authenticated component import/export
2017-11-30 14:45:27 -08:00
Jared Scheib
3aded9cca7
Fix client UX when creating a Chronograf user that already exists
2017-11-30 14:21:27 -08:00
Jared Scheib
8861228f8d
Remove obsolete admin constants
2017-11-30 13:12:50 -08:00
Jared Scheib
708cf25575
Rename const file dummyUsers.js to chronografAdmin.js
2017-11-30 13:06:54 -08:00
Andrew Watkins
82808ad316
Merge branch 'master' into bugfix/create-dashboard
2017-11-30 15:21:28 -05:00
Andrew Watkins
fd26f1fcfc
Fix 'Create Dashboard' button
...
this was not bound properly in `handleCreateDashboard`. Changed
handlers in DashboardsPage to use arrow functions for proper this
binding.
2017-11-30 11:10:13 -08:00
Hunter Trujillo
e529fcda49
Refactor Hosts Page to use flexbox styles and Infinite Scroll.
2017-11-29 15:04:45 -07:00
Hunter Trujillo
0618a001f8
Remove console.logs. Fix off-by-one on rounded items. Fix setState issues.
2017-11-29 10:34:44 -07:00
Hunter Trujillo
60a3624cd5
Add infinite scroll component. Use for Alerts Table and Tickscript Logs.
2017-11-29 10:08:41 -07:00
Andrew Watkins
2d8b57c13f
Merge branch 'master' into bugfix/y-axis-label
2017-11-29 08:10:50 -05:00
Hunter Trujillo
37d96f7cc7
Merge pull request #2188 from influxdata/feature/tickscript-logging
...
Tickscript Logging
2017-11-28 19:37:46 -07:00
Andrew Watkins
f018ca98cb
Make labels work recursivley with func args
2017-11-28 21:02:49 -05:00
Andrew Watkins
eb4f8904ec
Modernize presenter spec
2017-11-28 20:58:50 -05:00
Hunter Trujillo
4d7d06891d
Add experimental string parse failure recovery.
2017-11-28 16:18:06 -07:00
Alex P
eb40728aff
Refactor styles for template variable rows to withstand smaller resolutions
2017-11-28 12:26:46 -08:00
Alex P
e1c92b69c1
Extend customizability of delete confirm buttons
...
Can optionally be made into square buttons or have an icon replace the
text
2017-11-28 12:26:09 -08:00
Hunter Trujillo
d462226099
Merge branch 'master' into feature/tickscript-logging
2017-11-28 10:49:40 -07:00
Hunter Trujillo
8471c829de
Resolve some PR issues. Improve Logging UX. Switch back to version detection due to poor UX (lag) of feature detection. Split out LogsTableRow to SFC. LogsTable also becomes an SFC.
2017-11-28 10:47:14 -07:00
Andrew Watkins
1a1a74a1d2
Update label to handle new field shapes
2017-11-28 12:46:01 -05:00
Andrew Watkins
f80a6d8f03
Stop 'cannot communicate with server' spam
2017-11-28 11:17:59 -05:00
Hunter Trujillo
dc75734080
Merge branch 'master' into bugfix/hosts-page-error-2255
2017-11-27 22:04:43 -07:00
Andrew Watkins
7da688b423
Merge pull request #2327 from influxdata/refresh-list-after-metas
...
After create/delete, refresh database list
2017-11-27 18:02:13 -05:00
Andrew Watkins
8caf145e97
Merge branch 'master' into refresh-list-after-metas
2017-11-27 17:17:07 -05:00
Andrew Watkins
4b509448dc
Remove redundant prop check
2017-11-27 17:14:52 -05:00
Chris Goller
6564712e9d
Merge branch 'master' into gauge-cell-type
...
Conflicts:
bolt/internal/internal.pb.go
bolt/internal/internal.proto
server/cells.go
2017-11-27 16:08:42 -06:00
Andrew Watkins
7837f2c32e
Merge branch 'master' into dashboard-list-filter
2017-11-27 17:03:59 -05:00
Alex P
d974233737
Use error state input from theme when gauge threshold has bad value
2017-11-27 13:07:19 -08:00
Alex P
535a03713d
Revert "Set reasonable defaults when gauge is passed empty colors"
...
This reverts commit 2be3b82cfb
.
2017-11-27 11:41:53 -08:00
Alex P
2520ed09d2
Update version of bootstrap theme
...
This one has a new type of themed inputs
2017-11-27 11:37:20 -08:00
Alex P
2be3b82cfb
Set reasonable defaults when gauge is passed empty colors
2017-11-27 11:29:20 -08:00
Alex P
1ceeb86f02
Add 2 shades of grey to gauge colors list
2017-11-27 11:15:48 -08:00
Andrew Watkins
90b138cb53
Use props instead of state for Dashboard name list
2017-11-27 10:37:38 -05:00
Hunter Trujillo
f2dc4ffb79
Linter.
2017-11-27 04:01:39 -07:00
Alex P
2ad2c6e713
Refactor gauge options interactions to feel more natural
...
Previously felt clunky because it would try to update onChange and when
it wasn’t allowed the input became unwieldy
Separated validation from updating, which lets you type whatever you
want in the input but it won’t actually update unless you’ve typed a
valid value. It also will turn the input red when you’ve typed an
invalid value. Input will revert to last valid value on blur
2017-11-22 17:21:33 -08:00
Alex P
44430cdc14
Ensure a unique value for newly added thresholds
2017-11-22 17:18:34 -08:00
Alex P
dd91eefb59
Remove comments
2017-11-22 15:25:58 -08:00
Alex P
938c38f116
Make CEO gauge preview update as changes are made
2017-11-22 15:22:58 -08:00
Alex P
ee07872f28
Ensure smooth resizing of gauges inside cells and the CEO
2017-11-22 15:20:11 -08:00
Alex P
e8f7751c30
Pass resizer top & bottom pixels into children
2017-11-22 15:08:37 -08:00
Alex P
6fa3245cc3
Prevent user from inputing inoperable gauge values
2017-11-22 14:14:16 -08:00
Alex P
1e840ea7d9
Refactor gauge drawing to accept any number of thresholds
...
Defaults to a gradient when there are only 2 thresholds
2017-11-22 13:42:52 -08:00
Jared Scheib
95dd68b8ad
Fix heartbeat
...
Use default obj value destructure syntax for shouldResetMe.
Rename startHeartbeat to performHeartbeat.
2017-11-22 14:42:07 -06:00
Alex P
27b7187e4c
WIP use actual min and max in display of gauge
2017-11-21 17:41:17 -08:00
Alex P
6faa95fd38
Send colors with save action and pass down to GaugeChart
2017-11-21 17:40:38 -08:00
Jared Scheib
b4216f1397
Allow Default org to be renamed in UI; remove Default component
2017-11-21 17:57:16 -06:00
Hunter Trujillo
51e7e8fe3c
Refactor to use feature detection instead of version detection. Add logs upgrade message.
2017-11-21 14:46:54 -07:00
Alex P
1096ef0b51
Set value of new gauge thresholds to the average of the min and max values
2017-11-21 12:53:49 -08:00
Hunter Trujillo
27ca493cfb
Add null guard to tag parsing function to prevent parsing values that don't match tag RegEx.
2017-11-21 13:51:02 -07:00
Alex P
710912923f
Add ability to delete a gauge threshold
2017-11-21 12:46:47 -08:00
Alex P
10c3585175
Update CEO colors state from threshold value input
2017-11-21 12:43:32 -08:00
Alex P
bce3ef69af
Update CEO colors state from threshold color dropdown
2017-11-21 12:43:19 -08:00
Alex P
0244a7910e
Sort gauge thresholds by value before rendering
2017-11-21 12:11:56 -08:00
Andrew Watkins
944030d0f1
Merge pull request #2385 from influxdata/feature/time-cop
...
Feature/time cop
2017-11-21 11:44:21 -08:00
Alex P
163df3bfc6
Remove console log
2017-11-21 11:24:55 -08:00
Alex P
631e8a4333
Wire up add threshold function in CEO
2017-11-21 11:24:15 -08:00
Alex P
854e9cc95a
Refactor gauge options to be a SFC and simplify into subcomponent
2017-11-21 11:00:17 -08:00
Andrew Watkins
5398c791b1
Merge branch 'master' into feature/time-cop
2017-11-21 10:29:31 -08:00
Alex P
3dcb7a4f19
Refactor color dropdown to use key 'name' instead of 'text'
2017-11-21 10:11:06 -08:00
Alex Paxton
555bdc3086
Merge pull request #2396 from influxdata/user-menu-inverse-triangle
...
Add invisible hover triangle for user menu on small screens
2017-11-21 09:35:20 -08:00
Alex P
ede2c2a7d0
WIP Add gauge controls in display options
2017-11-20 21:51:22 -08:00
Hunter Trujillo
9a72902fa3
Add Kapacitor version detection.
2017-11-20 22:22:40 -07:00
Alex P
f8e285d32b
Add invisible hover triangle for user menu on small screens
2017-11-20 19:59:02 -08:00
Jared Scheib
3d494bf50c
Update ME request action names, action creators, & reducers to AJAX cycle convention
2017-11-20 21:23:24 -06:00
Jared Scheib
9c8cac04a9
Refactor getMe & refresh me for SideNav upon change organizations
2017-11-20 21:23:23 -06:00
Alex P
57891556e3
Remove redundant color from gauge colors list
2017-11-20 18:59:38 -08:00
Alex P
4693668744
Add optional disabled prop to color dropdown
2017-11-20 18:35:02 -08:00
Alex P
11db3f5d0a
Introduce color dropdown component
...
Intended for choosing a color from a list; displays the color and its
name in the dropdown
2017-11-20 18:16:05 -08:00
Jared Scheib
e1e81bee5e
Prevent sources error notification from invalid showDatabases in CheckSources upon meChangeOrganization
2017-11-20 19:07:52 -06:00
Jared Scheib
f32ba73dc6
Refactor CheckSources to call getSources thunk instead of loadSources & errorThrown
2017-11-20 19:06:31 -06:00
Alex P
0e42f11c4a
Introduce array of available gauge colors
2017-11-20 14:31:53 -08:00
Alex P
55ebbead17
Refactor display options input to receive placeholder text as a prop
2017-11-20 14:31:35 -08:00
Alex P
48519c0be8
Refactor display options input to receive column size as a prop
2017-11-20 14:16:32 -08:00
Alex P
47b38aecf0
Pass in prop as bool not string
2017-11-20 13:58:40 -08:00
Alex P
68be8b8fef
Redesign visualization type selector
...
Updated SVG designs, options appear to right side, viz type previews no
longer distort, add scrolling on overflow
2017-11-20 13:57:33 -08:00