Commit Graph

4127 Commits (014048631c1f2b1980b785d7b4406e4a2f5803bb)

Author SHA1 Message Date
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
Alex P 99b5fc84ff Improve label text and resize display options tab controller 2017-11-20 13:56:25 -08:00
Alex P 87b9ee81a9 Add Gauge to refreshing graph available options 2017-11-20 13:28:24 -08:00
Chris Goller 86a58a32ea Update queryConfig render to support wildcard, re, int, num 2017-11-17 14:11:05 -06:00
Chris Goller 99a879c64c
Merge pull request #2305 from influxdata/feature/auto-group-by-parse
Refactor and simplify auto group by (:interval:) template variable
2017-11-17 11:27:52 -08:00
Alex P bf7f4e3073 Truncate gauge label text to 2 decimal points 2017-11-17 10:47:27 -08:00
Alex P 08a9113643 Determine gauge size based on the smaller dimension 2017-11-17 08:21:55 -08:00
Alex P 1de1dcf1b2 Force canvas to maintain aspect ratio 2017-11-17 08:21:15 -08:00
Alex P 671af8bb1e Remove state from gauge 2017-11-17 08:20:58 -08:00
Alex P 755204997f Adjust theme colors 2017-11-16 17:13:18 -08:00
Alex P 2fedb786e8 Fix implementation of inverse prop 2017-11-16 17:13:09 -08:00
Jared Scheib cd1f8c1036 Merge branch 'multitenancy-merge-master' into multitenancy 2017-11-16 17:06:26 -08:00
Jared Scheib 4520124b16 Merge branch 'multitenancy' into multitenancy-merge-master 2017-11-16 17:03:30 -08:00
Alex P 5f3c55dd3c Add theme and inverse presentation options for gauges 2017-11-16 16:36:59 -08:00
Andrew Watkins 7818c319ac Fix tests to shifts 2017-11-16 16:29:44 -08:00
Andrew Watkins a4853433bf Remove timeShift from query options in kapacitor 2017-11-16 16:19:51 -08:00
Alex P 5ad25f9d7c Add gradients to each section of the gauge 2017-11-16 16:18:01 -08:00
Alex Paxton 0159ee1ca0
Merge pull request #2352 from influxdata/multitenancy_purgatory_switching
Switch Organizations from Purgatory
2017-11-16 13:16:21 -08:00
Alex P 380fb5f726 Refactor gauge to include lower and upper thresholds 2017-11-16 13:08:48 -08:00
Luke Morris 51748d3e8c Shift filter box to the left 2017-11-16 10:56:41 -08:00
Alex P 67f28eda6c Render dimensions of gauge from props 2017-11-16 10:53:47 -08:00
Alex P b8408f6540 Throw error when gauge is passed bad values 2017-11-16 10:53:23 -08:00
Alex P c4b99bf727 Reset canvas before each redraw 2017-11-16 10:52:52 -08:00
Alex P 385e3c86da Render gauge value in component 2017-11-16 10:52:15 -08:00
Luke Morris 72f03bd286 Stick the Filter next to the button 2017-11-16 10:16:35 -08:00
Luke Morris 34948bb708 Add filter to DashboardsPage 2017-11-16 10:04:56 -08:00
Alex P 38323eaa70 Style the gauge needle 2017-11-15 22:49:36 -08:00
Alex P 0609dbe694 Remove comments 2017-11-15 22:13:03 -08:00
Alex P 5a22674e27 Add text labels to gauge 2017-11-15 19:26:12 -08:00
Alex P 7e326c1f04 WIP Gauge Component
Will eventually live inside a cell
2017-11-15 17:09:58 -08:00
Alex P e9073d0d84 Improve catchall template for log items 2017-11-15 09:44:44 -08:00
Alex P 570355c2cf Remove unused prop 2017-11-15 09:41:23 -08:00
Alex P 152fb9b319 Remove non-functional filter from DOM
Can re-introduce when it is functional
2017-11-15 09:40:21 -08:00
Alex P 52b0983f74 Refactor Purgatory to be a stateless functional component 2017-11-14 15:17:53 -08:00
Alex P afb6b9b8d5 Fix for 2250 2017-11-14 14:23:26 -08:00
Alex P 674155634e Refactor common elements from Login and Purgatory into shared wrapper 2017-11-14 13:25:35 -08:00
Alex P 57d4a361e5 Refactor purgatory list items into own component 2017-11-14 12:15:25 -08:00
Andrew Watkins 483f0cc42d
Merge pull request #2358 from influxdata/feature/source-form-role
Source form role selection
2017-11-14 06:12:08 -08:00
Jared Scheib f38b80a30d Merge branch 'master' into multitenancy 2017-11-14 00:05:18 -08:00
Alex Paxton 13dbeacc11
Merge pull request #2348 from influxdata/multitenancy_user_nav_polish
Multitenancy User Nav Polish
2017-11-13 22:50:56 -08:00
Jared Scheib 1577491ec9 Update copy & add tooltip for required Role 2017-11-13 22:50:10 -08:00
Alex P 2b51086a2d Render more space efficient user nav when viewport is insufficient 2017-11-13 22:25:15 -08:00
Jared Scheib 90e828dee1 Add emphasis & fix preposition on Sources page _for_ <Organization> 2017-11-13 21:51:58 -08:00
Alex P af190dd8cd Hide horizontal scrolling on user nav org list 2017-11-13 21:43:22 -08:00
Alex P a9980cc57c Use default cursor on user's name hover 2017-11-13 21:43:10 -08:00
Alex P 8b6891fb8d Scroll organizations list in user nav when there are too many to display 2017-11-13 21:26:29 -08:00
Alex P 956f6ea4d4 Fix appearance of tiny crown 2017-11-13 20:37:55 -08:00
Alex P 2b429885df WIP Make new log items fade in 2017-11-13 18:15:53 -08:00
Luke Morris b3d0d6eeee Address PR feedback. 2017-11-13 18:08:50 -08:00
Alex P dd17704b94 Polish TICKscript editor controls 2017-11-13 17:11:43 -08:00
Alex P bfb288985c Sort logs table newest to oldest 2017-11-13 16:52:45 -08:00
Luke Morris d28416d150 Convert DashboardsPageContent to class 2017-11-13 16:52:10 -08:00
Alex P 7724527faf Use fancy scrollbars on logs table 2017-11-13 16:49:47 -08:00
Luke Morris f890f4b59b Be the change 2017-11-13 16:48:04 -08:00
Andrew Watkins 68fb972be6 Add source role dropdown to SourceForm while using auth
The only guard we need here is isUsingAuth.  Anyone who is not
a viewer will not be able to see this page.  Routing to this page
with insufficient permissions will be handled in a different PR.
2017-11-13 12:02:38 -08:00
Alex P 17bf971833 Render spinner in logs panel when awaiting logs 2017-11-13 11:47:49 -08:00
Alex P 2e553cfa76 Refactor log table items into individual components 2017-11-13 11:18:48 -08:00
Jared Scheib 46d6c819ea Refresh app upon switch organization 2017-11-10 18:37:18 -08:00
Jared Scheib 524ca41621 Wire up login & refresh app upon click login to organization 2017-11-10 18:36:56 -08:00
Luke Morris 31277c432c Rename whitelistOnly => public 2017-11-10 18:23:41 -08:00
Luke Morris 4b9a2d5eb0 Merge branch 'multitenancy' into multitenancy_whitelist_only 2017-11-10 17:52:06 -08:00
lukevmorris e1aca94eac
Merge pull request #2349 from influxdata/multitenancy_allow-entry-without-auth
Scope auth logic beneath isUsingAuth
2017-11-10 17:45:56 -08:00
Jared Scheib eed18c4fdd Wire up logout link in Purgatory 2017-11-10 17:20:43 -08:00
Andrew Watkins 481a56be55 Make timeShift appear in dashboard layouts 2017-11-10 16:44:06 -08:00
Luke Morris 5ff6bfb32e Persist whitelistOnly changes to default organization 2017-11-10 16:43:11 -08:00
Alex P e90cc5be9c Add skeleton for org switching from Purgatory page 2017-11-10 16:08:49 -08:00
Jared Scheib 42ae3264f9 Merge remote-tracking branch 'origin/multitenancy' into bugfix/super-admin-toggle 2017-11-10 16:00:42 -08:00
lukevmorris c958fc1a57
Merge pull request #2340 from influxdata/multitenancy_fix_org_issues
Fix organizations UpdateHandler and OrganizationsStore Update method
2017-11-10 15:49:37 -08:00
Luke Morris 9c2d2b5815 Scope auth logic beneath isUsingAuth 2017-11-10 14:30:44 -08:00
Alex P 98fdd03828 Add whitelist column to organizations table
Slide toggle appears for default org, the rest see null state
2017-11-10 14:17:37 -08:00
Luke Morris 4ecc7a6be7 Role can be updated for Default Organization 2017-11-10 14:03:31 -08:00
Luke Morris ff94fa5b6e Persist default role on organization creation 2017-11-10 13:54:33 -08:00
Alex P fd1cf42b21 Make table header styles consistent 2017-11-10 13:42:56 -08:00
Alex P f0c03f528a Render an indicator in the user nav item for super admins 2017-11-10 13:26:16 -08:00
Andrew Watkins d496f05ed7 Fix superAdmin not toggling
The handleUpdateUserSuperAdmin funciton appeared like it was
handling old data shapes.  It was also included an extra and uneccessary
anonymous function.  I also cleaned up a couple of other functions that
had unneeded anonymous funcitons.
2017-11-10 13:11:52 -08:00
Luke Morris a9c35652d6 Persist new defaultRole to server 2017-11-10 13:01:28 -08:00
Andrew Watkins 99beb12b1d Fix superAdmin field not being passed to server 2017-11-10 13:00:58 -08:00
Jared Scheib 839ba4ae44 Italicize organization name in Chronograf Admin UsersTable 2017-11-10 11:55:01 -08:00
Jared Scheib 84cb18f458 Make style of OrganizationsTableRowNew ConfirmButtons match OrganizationsTableRow confirmLeft 2017-11-10 11:52:38 -08:00
Jared Scheib 85e1fb88fb Adjust Users table DeleteConfirmButtons column width to avoid jitter 2017-11-10 11:49:04 -08:00
Alex P ea33ad9d47 Create section labelled "Account" 2017-11-10 11:31:02 -08:00
Alex P 8f7fbc9eb6 Revert to rendering the user's name instead of current org/role
Now that there are less items in the menu, it is more obvious which org
you are currently in. Had a design like this previously, but changed it
when more items were added to the menu and more emphasis was needed.
That is no longer the case
2017-11-10 11:30:46 -08:00
Andrew Watkins c8e80753ef Add timeShift actions + spec to kapa queryConfig 2017-11-10 11:10:19 -08:00
Andrew Watkins b9b40a1659 Change multiple to quantity in shift + misc cleanup 2017-11-10 11:09:47 -08:00
Alex P c87a827d6b Remove obsolete PageHeader component
Reverting page title to “Chronograf Admin”. No need to have this as a
component
2017-11-10 11:09:07 -08:00
Alex P 317d161155 Increase width of actions column in users table 2017-11-10 11:06:30 -08:00
Alex P 29170fef81 Consolidate redundant actions column in users table 2017-11-10 11:06:18 -08:00
Alex P f1b51e183e Render current organization in users table header
Unclear which org the users are from otherwise
2017-11-10 11:05:27 -08:00
Alex P afdaf9ead9 Make chronograf admin page the same width as influxdb admin page 2017-11-10 10:57:21 -08:00
Alex Paxton 96cd403d52
Merge pull request #2288 from influxdata/multitenancy_ui_current_org_copy
Multitenancy UI Helpful Copy
2017-11-10 10:42:45 -08:00
Jared Scheib 0aef5316e1 Revert position of user nav item back to bottom 2017-11-10 03:34:45 -08:00
Jared Scheib e02e1cab65 Restyle Chronograf UsersTable & OrganizationsTable to fit unified page tabbed style 2017-11-10 03:16:27 -08:00
Jared Scheib 490c6da332 Refactor AdminChronografPage to show Users & Organizations tabs 2017-11-10 03:16:01 -08:00
Jared Scheib 77db326b95 Revert user nav block to exclude Manage Users & Manage Organizations 2017-11-10 02:26:38 -08:00
Jared Scheib 74cf89c053 Revert side nav to include Chronograf under Admin 2017-11-10 02:20:31 -08:00
Jared Scheib d9cdf49b63 Change 'Delete' copy to 'Remove' for Chronograf User button & notification 2017-11-10 01:59:24 -08:00
Jared Scheib 56fb85dbc9 Add text prop to DeleteConfirmButtons for configurable text copy 2017-11-10 01:50:18 -08:00
Jared Scheib 35011da7d1 Add individual Delete & Confirm Buttons for Chronograf User + wire up 2017-11-10 01:49:38 -08:00
Jared Scheib 20e42026f8 Remove unnecessary constructor method in UserNavBlock 2017-11-10 01:19:23 -08:00
Jared Scheib e6bedbca2a Remove obsolete Default org Create User logic 2017-11-10 01:09:57 -08:00
Jared Scheib d1cb885558 Fix plural vs singular for 1 organization in OrganizationsTable 2017-11-10 00:58:29 -08:00
Jared Scheib 040e717c41 Remove unnecessary delete state logic in OrganizationsTableRow 2017-11-10 00:58:29 -08:00
Jared Scheib e31dc293c7 Switch confirm buttons render display order for Organizations delete to protect errant delete 2017-11-10 00:58:29 -08:00
Jared Scheib 764abcae1e Add confirmLeft option to ConfirmButtons to switch render display order 2017-11-10 00:58:29 -08:00
Jared Scheib 2fa84799c8 Clean up Organizations rename logic to use state instead of imperative 2017-11-10 00:58:29 -08:00
Jared Scheib 3266795888 Rename UsersTable & OrganizationsTable components for consistency 2017-11-10 00:58:29 -08:00
Jared Scheib 4fce566d43 Use UUID for Organization & User table row keys to prevent console error from matching keys 2017-11-10 00:58:29 -08:00
Jared Scheib b5ad32106a Define dropdown items as const above JSX & rename for consistency 2017-11-10 00:58:29 -08:00
Jared Scheib 8fba2a2bd2 Remove NewOrganization from DOM via state change directly on successful create, instead of via cancel method 2017-11-10 00:58:29 -08:00
Jared Scheib 7fa2d57c55 Remove unnecessary imperative blur invocations on NewOrganization inputs 2017-11-10 00:58:29 -08:00
Jared Scheib 396dbfd8c6 Disable Create User button on Chronograf UsersTable when creating user 2017-11-10 00:58:29 -08:00
Jared Scheib cd9afe7908 Rename isAddingOrganization to isCreatingOrganization for consistency 2017-11-10 00:58:29 -08:00
Jared Scheib 1686f63daa Rename NewOrganization component to match filename 2017-11-10 00:58:29 -08:00
Jared Scheib a54fa56ee6 Rename button click & confirm handlers for clarity 2017-11-10 00:58:29 -08:00
Jared Scheib e5857336d3 Remove batch actions, user add/remove to/from org, & user selectability from Chronograf Admin Table 2017-11-10 00:58:17 -08:00
Jared Scheib cb450e3a00 Rename renameOrganization to updateOrganization for thunk & AJAX 2017-11-09 22:23:39 -08:00
Jared Scheib 331c6656c2 Pass whole user & organization to AJAX calls & get url link there 2017-11-09 22:10:51 -08:00
Alex P baf187ce2f Clarify helpful copy and show different copy based on role 2017-11-09 18:58:27 -08:00
Alex P 9764d778ea Fix render logic for "Helpful copy" 2017-11-09 18:57:36 -08:00
Luke Morris 045185cdab DE tab names include measurement and all tag values 2017-11-09 18:38:09 -08:00
Jared Scheib 1d48b05ed5 Reduce & update user fixture data for tests 2017-11-09 18:32:45 -08:00
Luke Morris 0e1ab16bba This needs to be case-sensitive 2017-11-09 17:27:25 -08:00
Luke Morris d63c347ba5 After create/delete, refresh database list 2017-11-09 17:17:37 -08:00
Andrew Watkins 741c920809 Christmas came early 2017-11-09 10:02:26 -08:00
Andrew Watkins 3d9e607502 Allow for n time shifts 2017-11-09 10:02:26 -08:00
Andrew Watkins 757fd7088c Fix broken timeSeries spec 2017-11-09 10:02:26 -08:00
Andrew Watkins a59c78f945 Change shift shape to array in test 2017-11-09 10:02:26 -08:00
Andrew Watkins e151f102e0 Introduce TimeShift to DataExplorer 2017-11-09 10:02:26 -08:00
Andrew Watkins 0eac04acb3 Get shifted 2017-11-09 10:02:25 -08:00
Andrew Watkins 4b1d61f536 Add shifted query if query is shifted 2017-11-09 10:02:25 -08:00
Andrew Watkins 9b0603a556 Add shiftTimeRange function 2017-11-09 10:02:25 -08:00
Andrew Watkins 98ffb7d93f Add tests for all possible timeRange types 2017-11-09 10:02:25 -08:00
Andrew Watkins ad55c4051b Introduce timeRange query helpers 2017-11-09 10:02:25 -08:00
Andrew Watkins 851f6f4048 Link timeShift to queryConfig in Dashboards 2017-11-09 10:02:25 -08:00
Andrew Watkins 1f601fd612 Add time shift to queryConfig reducer 2017-11-09 10:02:25 -08:00
Andrew Watkins c4b3e8a2e8 Remove yarn warnings 2017-11-09 10:02:25 -08:00
Andrew Watkins 2c89f6ebb1 One ID to rule them all and in the darkness bind them 2017-11-09 10:02:25 -08:00
Andrew Watkins 82e92a0598 Make Id ID 2017-11-09 10:02:24 -08:00
Andrew Watkins 1aa4664f7d Add no time shift option 2017-11-09 10:02:24 -08:00
Andrew Watkins 87c164e63a Be the change 2017-11-09 10:02:24 -08:00
Andrew Watkins 32042db61e WIP add TimeShiftDropdown component 2017-11-09 10:02:24 -08:00
Andrew Watkins d47cd65487 Move query options into QueryOptions component 2017-11-09 10:02:24 -08:00
Andrew Watkins ad6192c4a8 Update frontend to handle new :interval: shape 2017-11-09 10:02:24 -08:00
Andrew Watkins 5ed210fff2 Remove console spam 2017-11-09 10:01:21 -08:00
Alex P 60c25aabfb Render roles in users table without text transformation 2017-11-08 22:12:44 -08:00
Alex P d6f687bb5a Move Chronograf Users Admin styles to own sheet 2017-11-08 22:11:55 -08:00
Alex P b4fdb2d51c Remove Chronograf from Admin nav item and rename InfluxDB Admin 2017-11-08 21:51:31 -08:00
Alex P 0e0b3367ec Render correct role in current organization in UserNavBlock 2017-11-08 21:42:25 -08:00
Alex P 99e847df48 WIP Implement ability to set default role per organization 2017-11-08 19:35:14 -08:00
Alex P 169dcfd168 Dismiss organization row delete/confirm buttons on click outside 2017-11-08 19:34:29 -08:00
Alex P a31388ca22 Extend functionality of ConfirmButtons to have optional click outside behavior 2017-11-08 19:31:06 -08:00
Alex P 69449ddda6 Update styles namespace for organizations table 2017-11-08 18:14:44 -08:00
Alex P 2441eb713b Remove obsolete component 2017-11-08 18:08:49 -08:00
Alex P 6d19e2df95 Make default org non-editable in organizations table 2017-11-08 18:07:51 -08:00
Hunter Trujillo 855be3d412 Address some issues in PR. 2017-11-08 16:00:24 -07:00
Andrew Watkins 4180402e23 Update frontend to handle new :interval: shape 2017-11-08 14:26:37 -08:00
Jared Scheib 513cbcdc1b Fix replaceWith logic in Authorized HOC & improve API clarity and consistency 2017-11-08 11:50:39 -08:00
Jared Scheib c3653f5d11 Add back in adding user to org via batch actions bar
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-11-08 11:15:34 -08:00
Jared Scheib 6508c46484 Revert "Remove Batch Add & Remove users from organization functions"
This reverts commit 5a4799e577.
2017-11-08 10:54:04 -08:00
Alex P 92a2f75895 Make organizations table use ConfirmButtons component for consistency 2017-11-08 10:47:34 -08:00
Jared Scheib d0fd6265b1 Fix app staying in spinner by fixing where currentOrganization is gotten from 2017-11-08 10:41:01 -08:00
Alex P 32e7c19aa5 Render actual number of organizations above organization table 2017-11-08 09:47:00 -08:00
Alex Paxton 639a0637fa
Merge pull request #2287 from influxdata/multitenancy_purgatory
Purgatory
2017-11-07 23:33:12 -08:00
Alex Paxton 4b51b114cd Render username, provider, and scheme in Purgatory to assist user
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-11-07 23:14:28 -08:00
Jared Scheib c2ac903d1d Improve copy in Purgatory page
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-11-07 23:05:46 -08:00
Alex P 7fab88a135 Guard against Purgatory redirect until currentOrganization has loaded 2017-11-07 22:50:37 -08:00
Alex P ffd6259d69 Require user authentication to route to Purgatory 2017-11-07 22:41:29 -08:00
Alex P 9247a4b175 Wire up Purgatory page 2017-11-07 22:40:59 -08:00
Alex P 1307051ce7 Redirect lost souls to purgatory not limbo 2017-11-07 22:33:18 -08:00
Jared Scheib 14bae97139 Only show Manage Organizations to SuperAdmin 2017-11-07 22:29:33 -08:00
Jared Scheib 489f4b2fb2 Add /users & /organizations to router with sourcePrefix 2017-11-07 22:19:20 -08:00
Jared Scheib 0df6e714e5 Show user role in side nav 2017-11-07 22:09:55 -08:00
Alex P eefb8df994 Remove ManageOrgsOverlay component 2017-11-07 20:48:42 -08:00
Alex P 6635d77c0b Cleanup console errors 2017-11-07 20:43:18 -08:00
Alex Paxton 4d55f1b8ee
Merge pull request #2298 from influxdata/multitenancy_ui_manage_orgs
Dedicated Organizations Page
2017-11-07 20:37:45 -08:00
Alex P 0c68f40c1f Remove TODO comment 2017-11-07 20:28:28 -08:00
Alex P 08be598d79 Remove OrganizationsPage from router 2017-11-07 20:28:02 -08:00
Alex P 096485798d Remove organization from state and cleanup 2017-11-07 20:15:26 -08:00
Alex P 63b15f4aa7 Remove obssolete UsersTable components 2017-11-07 19:44:05 -08:00
Alex P 5a4799e577 Remove Batch Add & Remove users from organization functions 2017-11-07 19:40:48 -08:00
Alex P 93bd4e6999 Remove ability to view all users 2017-11-07 19:39:05 -08:00
Alex P f6aebe123d Simplify UsersTableHeader
Removing filtering and associated functionality
2017-11-07 17:54:14 -08:00
Alex P ffc7f516a6 Move batch actions and users table header inside users table 2017-11-07 17:52:22 -08:00
Alex P eb27705816 Render current organization name instead of "Chronograf Admin" 2017-11-07 17:41:19 -08:00
Alex Paxton 20f4c776dd
Merge pull request #2283 from influxdata/multitenancy_ui_superadmin_polish
Multitenancy UI SuperAdmin Polish
2017-11-07 17:34:20 -08:00
Alex P acbd6bb304 User more clear names for props and state 2017-11-07 17:22:36 -08:00
Alex P f8fcd7a459 Use a more clear variable name 2017-11-07 17:18:06 -08:00
Alex P 01cd018ea5 Use semantic opposite to increase clarity 2017-11-07 17:17:12 -08:00
Alex P 69118ad628 Use simpler names for state in NewUsersTableRow 2017-11-07 17:16:18 -08:00
Alex P c1e20b20e2 Explain purpose of component with comment 2017-11-07 17:07:44 -08:00
Alex P 05c8af5f75 Use Link component in UserNavBlock instead of anchor 2017-11-07 16:31:00 -08:00
Chris Goller 4f7710454a Fix several kapacitor validation failures 2017-11-07 16:02:02 -06:00
Alex P 4dd14d6a5b Render Manage Organizations link based on Authorization 2017-11-07 12:01:31 -08:00
Alex P b69c066b00 Link to organizations page from user nav item 2017-11-07 11:58:35 -08:00
Alex P 4c4b0da5bb Create route for organizations page 2017-11-07 11:58:20 -08:00
Alex P 38e0eeacf3 Introduce Organizations page
Same functionality as the Manage Organizations modal, just in its own
page
2017-11-07 11:54:44 -08:00
Alex P ae863d9170 Re-arrange items in me nav item 2017-11-07 11:37:32 -08:00
Alex P f6916d5f83 Move user nav item to top of side nav
Needs more vertical space than the other items
2017-11-07 11:36:56 -08:00
Alex P 5bb2ac1cf4 Improve clarity of copy in manage sources page by including the current organization name 2017-11-07 01:20:52 -08:00
Alex P 9604463ae1 Render current organization name in InfluxTable header 2017-11-07 01:01:56 -08:00
Alex P 5a33a958c9 Create skeleton for Purgatory page 2017-11-07 00:46:36 -08:00