Andrew Watkins
c11398b3f4
Handle drag from start point annotation with duration
2018-01-18 13:18:57 -08:00
Andrew Watkins
e00558d171
Enable dragging to update of annotation endpoint
2018-01-18 13:00:19 -08:00
Alex P
b39461c4b0
Introduce JS version of color palette
2018-01-18 12:22:15 -08:00
Alex P
aaa44df0d9
Move styles into separate file and convert into functions
...
Seems easier to generate styles based on state
2018-01-17 22:52:25 -08:00
Jared Scheib
d504af713d
WIP Refactor AJAX links state management to use Redux
...
Ensures that links are always updated when me current organization
is changed, so that Admin Chronograf / Current Org Users works.
NOTE: Next step is understanding why dispatch isn't registering
LINKS_GET_REQUESTED or LINKS_GET_COMPLETED actions with Redux.
2018-01-17 19:01:16 -08:00
Jared Scheib
1ad652a3d2
Name excludeBasepath AJAX config option so options can be extended
2018-01-17 16:35:21 -08:00
Alex P
93702fa694
WIP Make annotation duration draggable
2018-01-17 15:40:13 -08:00
Alex P
f169e756ee
Make annotation lines draggable
...
Including action creators, tests, etc.
2018-01-17 15:29:56 -08:00
Jared Scheib
8979e042f7
Update rawUsers to allUsers per /users API change
2018-01-17 15:13:17 -08:00
Jared Scheib
ccd29bf97e
Fix OpsGenieConfig delete handlers & standardize with TagInput's
2018-01-17 14:55:19 -08:00
Jared Scheib
81eea19400
Wire up user organizations as Tags in AllUsersTable
2018-01-17 14:03:01 -08:00
Jared Scheib
ca59e8fcf4
Factor out Tags, Tag, & TagInput into shared components
2018-01-17 13:07:17 -08:00
Jared Scheib
77b1531ac8
Add blank shared Tags & TagInput components files
2018-01-17 13:02:39 -08:00
Andrew Watkins
c3bb4f4cd8
Fix lingering annotation window
2018-01-17 10:58:14 -08:00
Andrew Watkins
694f708ccc
Fix call to visibility() on empty dygraph
2018-01-17 10:10:59 -08:00
Andrew Watkins
cbb007cdba
Introduce annotation reducer
2018-01-17 10:10:21 -08:00
Andrew Watkins
d325cbf3be
Clean up annotation helper
2018-01-17 08:53:25 -08:00
Andrew Watkins
46dc4e9bbd
Hide annotations panned out of view on right
2018-01-17 08:53:11 -08:00
Alex P
ed8ebb10ad
Render triangles at the top of annotation lines
2018-01-16 21:27:09 -08:00
Alex P
11f754776b
Render annotation window only if duration is present
2018-01-16 21:02:36 -08:00
Alex P
e60e1f2c17
Add dummy annotation for testing
2018-01-16 21:02:14 -08:00
Alex P
b5b96e22b5
Prevent annotation window from exceeding x axis range
2018-01-16 20:53:54 -08:00
Alex P
c3fa2caa1d
Improve debuggability of annotations
...
This is ultimately going to be removed
2018-01-16 20:53:22 -08:00
Alex P
3e5228744f
Move pageX state into Legend
...
For improved performance rendering logic
2018-01-16 19:29:44 -08:00
Alex P
8ddbce141b
Cleanup
2018-01-16 19:28:53 -08:00
Alex P
01e606a684
Fix legend positioning bug
2018-01-16 19:14:25 -08:00
Alex P
4163e78da5
Refactor annotations styles to accommodate new DOM structure
2018-01-16 18:37:05 -08:00
deniz kusefoglu
6baa7b49ca
Convert promise pattern to async await
2018-01-16 18:12:18 -08:00
Andrew Watkins
5318e79ce8
Make annotations move smoothly with graph
2018-01-16 17:58:43 -08:00
deniz kusefoglu
7a84d3f654
Send state with router push to config pages from handler tabs, and display corresponding config tab
2018-01-16 16:46:46 -08:00
Andrew Watkins
8d49db4892
Move legend state into legend component
...
Moving legend state into the LegendComponent drastically reduced
the number of re-renders the Dygraph component was making. This
was necessary for fluid rendering of annotations. As a bonus, future
graph performance should now greatly improve.
2018-01-16 16:29:53 -08:00
Andrew Watkins
fe24eba6be
Hide annotation and duration window if less than start time
2018-01-16 16:28:57 -08:00
Andrew Watkins
28041ccd29
Add more annotation specs
2018-01-16 16:27:28 -08:00
Andrew Watkins
335ef5afaf
Introduce annotations spec
2018-01-16 10:30:13 -08:00
Andrew Watkins
2e93c5d222
Remove storybook
2018-01-16 09:41:36 -08:00
Andrew Watkins
57a5a23908
Remove unused tests
2018-01-16 09:39:54 -08:00
Andrew Watkins
b1a3807939
Export annotation logic
2018-01-16 09:39:29 -08:00
Alex P
487877e2d4
WIP render annotation ranges
2018-01-16 09:24:48 -08:00
Alex Paxton
2b4ca0e506
Merge pull request #2698 from influxdata/sources-nomenclature-fix
...
Improve Sources Nomenclature
2018-01-12 15:43:16 -08:00
Andrew Watkins
eb822bae5d
Introduce Annotations component corresponding styles
2018-01-12 13:41:47 -08:00
deniz kusefoglu
564e296d6b
Resolve console errors in Kapacitor Config
2018-01-12 13:26:11 -08:00
deniz kusefoglu
1434e71381
Change flash message for successfully triggered alert
2018-01-12 13:00:04 -08:00
Andrew Watkins
fd9dd2d7a4
Store left in var
2018-01-12 12:59:46 -08:00
Andrew Watkins
ccc18d1da5
WIP initial annotation
2018-01-12 12:33:42 -08:00
Alex P
7149a4b8c6
Improve micro-copy based on Russ' feedback
2018-01-12 12:02:55 -08:00
deniz kusefoglu
afc572a61a
Stop event propagation on test button click
2018-01-12 11:23:03 -08:00
deniz kusefoglu
c04e709127
Implement PR review suggestions
2018-01-12 10:57:16 -08:00
Jared Scheib
b31190975c
Add mdash Public table cell to OrganizationsTableRowNew
...
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2018-01-11 18:37:55 -08:00
Alex Paxton
2a4952cdbb
Fix style of centered mdash when creating new organization
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2018-01-11 18:35:00 -08:00
Jared Scheib
06f7a91bff
Fix style for button width on current organization
...
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2018-01-11 18:29:15 -08:00
Jared Scheib
9a52d55aea
Fix subtle font clipping in Admin Chronograf table headers
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2018-01-11 18:23:52 -08:00
Jared Scheib
34fd8970ac
Refactor & simplify InputClickToEdit to use declarative state
...
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2018-01-11 18:23:24 -08:00
Alex P
b44c95bb03
Rename components to match existing naming pattern
2018-01-11 17:53:18 -08:00
Alex P
21cbd433c7
Refactor organizations table to use fancy-table styles and InputClickToEdit
2018-01-11 17:53:18 -08:00
Alex P
f402faa936
Cleanup redundant styles
2018-01-11 17:36:51 -08:00
Alex P
09e772d8f0
Introduce common set of styles for non-table tables
2018-01-11 17:36:51 -08:00
Alex P
d40f086f4a
Update providers page to fit into admin tabs UI
2018-01-11 17:36:51 -08:00
Alex P
d39c71d9cb
Create page for managing mappings between providers and chronograf organizations
2018-01-11 17:34:10 -08:00
Alex P
0819d6f8e2
Introduce InputClickToEdit component
...
Now is a decent time to make this pattern a component for easier re-use
and consistency
2018-01-11 17:33:05 -08:00
Jared Scheib
fd429aaeee
Move All New Users Are SuperAdmin toggle to AllUsersTable
2018-01-11 17:18:05 -08:00
Jared Scheib
0e99bbc1a9
Remove unnecessary Authorized HOC around AllNewUsersSuperAdmin toggle
2018-01-11 17:00:40 -08:00
deniz kusefoglu
5b5f807a16
Improve copy on flash messages
2018-01-11 15:50:10 -08:00
deniz kusefoglu
9001b6cf3c
Place save and test buttons on all config sections
2018-01-11 14:52:59 -08:00
deniz kusefoglu
c54905b21a
Fix error and success flash messages
2018-01-11 14:46:07 -08:00
deniz kusefoglu
b421207766
Fix slack config save and test button behaviors
2018-01-11 14:45:24 -08:00
Alex P
9848d49d91
Enforce add new / configure paradigm for influxdb and kapacitor connections
2018-01-11 14:00:17 -08:00
Alex P
0dbbf1d441
Update influxdb connection alert text
2018-01-11 13:59:47 -08:00
deniz kusefoglu
24a182874a
Disable test alert button if endpoint is disabled at construction
2018-01-11 13:40:09 -08:00
deniz kusefoglu
60d2ff014f
Style Save and Test buttons, Enable test button on save, Disable on edit
2018-01-11 13:29:58 -08:00
Alex P
fbfe565b44
Change 'Source' to 'Connection' in configuration pages
2018-01-11 11:58:02 -08:00
deniz kusefoglu
2c32772387
Use async-await syntax to call test-config
2018-01-10 17:46:57 -08:00
Jared Scheib
1c380eb55e
Add Organizations column with temp spans for orgs
...
Move Role column to right & remove Role table header.
Move table sizing constants out of component classes.
2018-01-10 16:27:03 -08:00
Jared Scheib
1856484670
Move AllUsersTable SuperAdmin column & toggles to right-most
2018-01-10 16:12:25 -08:00
Jared Scheib
679d2374e2
Make AllUsersTableEmpty an SFC
2018-01-10 16:09:49 -08:00
Jared Scheib
a9877bc1cf
Remove obsolete Authorized HOC from AllUsersTableEmpty
2018-01-10 16:08:22 -08:00
Jared Scheib
6e5b5c2790
Make UsersTableEmpty an SFC
2018-01-10 16:06:48 -08:00
Jared Scheib
5231218c5e
Rename 'Create User' to 'Add User' in both Chronograf Admin pages
2018-01-10 15:55:20 -08:00
Jared Scheib
6728ec5d82
Reorient AllUsersTable around organizations, not roles
...
Use new links.rawUsers route to get users for AllUsersPage.
Introduce '*' role name to tell server to assign org defaultRole.
Update table header to display number of users & num orgs.
Remove concept of roles from AllUsers UI.
Note: The update & create AJAX are both broken or disabled until
the server is modified to accept '*' for role.
2018-01-10 15:51:21 -08:00
deniz kusefoglu
39757d86d3
WIP add test buttons to alert handler config sections
2018-01-10 15:34:18 -08:00
Andrew Watkins
743105b22f
Merge pull request #2687 from influxdata/bugfix/legend-no-value
...
Remove no-value from list
2018-01-10 13:46:13 -08:00
Deniz Kusefoglu
1080e9b730
Merge pull request #2409 from influxdata/multiple-event-handlers
...
Multiple event handlers
2018-01-10 12:32:22 -08:00
Jared Scheib
68a0a54afd
Rename EmptyUsersTable to UsersTableEmpty for new consistency
2018-01-09 18:08:07 -08:00
Jared Scheib
97739e84be
Duplicate UsersPage components into AllUsersPage; remove SuperAdmin
2018-01-09 18:01:15 -08:00
Jared Scheib
a5ba7b035b
Add temp duplicate UsersPage for All Users
2018-01-09 17:27:31 -08:00
Jared Scheib
b2b34adaae
Rename Users tab to Current Org Users
2018-01-09 17:21:25 -08:00
Andrew Watkins
18571bdbd5
Remove no-value from list
2018-01-08 17:00:57 -08:00
deniz kusefoglu
c9632185c5
Adjust dropdown height
2018-01-05 15:11:13 -08:00
deniz kusefoglu
6fa1ef69fb
Fix NameSection ruleID reference
2018-01-05 14:53:24 -08:00
deniz kusefoglu
ce4a586ffd
Remove promises
2018-01-05 11:25:40 -08:00
Hunter Trujillo
177d81b21e
Hotfix synchronization. Small quick fix. Reviewed by Watts while pairing.
2018-01-05 12:15:35 -07:00
Andrew Watkins
4330d43c7a
Merge pull request #2664 from influxdata/bugfix/custom-time-overlap
...
Fix positioning of CustomTimeIndicator
2018-01-05 11:05:29 -08:00
Andrew Watkins
4bd9572761
Fix style name
2018-01-04 18:21:04 -08:00
deniz kusefoglu
b45c88eae8
Merge branch 'master' into multiple-event-handlers
2018-01-04 18:14:06 -08:00
deniz kusefoglu
83e09b8637
Add a separator to the dropdown
2018-01-04 17:48:21 -08:00
deniz kusefoglu
35cdd6969f
Change copy on buttons that take users to config section
2018-01-04 16:09:57 -08:00
deniz kusefoglu
510882bb7f
Correct default rule id name
2018-01-04 15:47:32 -08:00
deniz kusefoglu
6d62350400
Revert "WIP add test buttons to alert handler config sections"
...
This reverts commit dce542c74f
.
2018-01-03 15:53:20 -08:00
Andrew Watkins
f92148a323
Make the time proportional to the group by interval
2018-01-03 15:23:18 -08:00
Andrew Watkins
d01f3ea09e
Refactor multiple promises to use async await
2018-01-03 14:53:34 -08:00
Andrew Watkins
340f26cf1e
Add environment variables and links to chronograf
2018-01-03 13:13:56 -08:00
Andrew Watkins
8ea050e0bf
WIP handle telegrafSystemInterval env
2018-01-03 11:50:34 -08:00
deniz kusefoglu
dce542c74f
WIP add test buttons to alert handler config sections
2018-01-02 17:33:11 -08:00
Andrew Watkins
924960bbcc
Fix positioning of CustomTimeIndicator
2018-01-02 16:35:26 -08:00
deniz kusefoglu
fc4d590d52
Display backend errors on alert save
2018-01-02 16:00:06 -08:00
deniz kusefoglu
b7aae4fabc
Fix inputfield id bug
2018-01-02 12:32:45 -08:00
deniz kusefoglu
3aeeae1bb8
Sort handlers dropdown so that enabled ones are at top
2018-01-02 11:21:13 -08:00
deniz kusefoglu
1bea21f274
Fix dropdown sizing
2018-01-02 11:19:30 -08:00
deniz kusefoglu
b1f16adc7b
Improve copy around un-configured handlers
2018-01-02 11:19:08 -08:00
Nathan Haugo
711cb48d14
Update package.json
2017-12-22 13:09:03 -08:00
Nathan Haugo
dabd2ccb1a
Merge pull request #2652 from influxdata/fix/sourcepage_render_styles
...
Fix SourcePage render & render Page Header for user context when adding initial source
2017-12-22 12:53:31 -08:00
Alex Paxton
da2d8a4fbd
Merge pull request #2598 from influxdata/single-stat-colors-polish
...
Single Stat Colors Polish
2017-12-22 12:48:50 -08:00
Jared Scheib
a5b3370197
Show Page Header & 'Add a New Source' copy when adding initial source
2017-12-22 12:30:04 -08:00
Jared Scheib
95911f4385
Fix SourcePage styles to render edit source page successfully
2017-12-22 12:30:04 -08:00
Nathan Haugo
efbb71e9d7
Update version
2017-12-21 11:36:03 -08:00
Alex P
dbdaa160db
Do not require suffix in single stat graph
2017-12-21 00:13:50 -08:00
Alex P
0ad61caab4
Fix color validation logic
2017-12-21 00:13:27 -08:00
Hunter Trujillo
4c103d8eac
Merge branch 'master' into bugfix/rls-pls
2017-12-20 19:56:44 -07:00
Alex P
1ed028f5db
Fix merge issues
2017-12-20 18:00:10 -08:00
Alex P
367c3d61ba
Merge branch 'master' into single-stat-colors-polish
2017-12-20 17:59:52 -08:00
Jared Scheib
aee4636d79
Merge branch 'master' into feature/superadmin_gets_default_role
2017-12-20 17:49:29 -08:00
Jared Scheib
023705d9ab
Notify user what role & organization they switched to
...
Show that notification for 4 seconds.
Change copy from 'signed in' to 'logged in'.
Remove concept of userHasRoleInOrg since now obsolete.
2017-12-20 16:20:12 -08:00
Alex P
ac43e3b50b
Disable SuperAdmin slide toggle on users own row
2017-12-20 16:05:07 -08:00
Alex P
e53b702c31
Add disabled state logic to SlideToggle component
2017-12-20 16:04:37 -08:00
Alex P
66a635e84e
Add styles for slide toggle disabled state
2017-12-20 16:00:34 -08:00
Hunter Trujillo
ebcde4a3fd
FIx issue with DE UI state not also updating Redux state when first used.
2017-12-20 16:49:57 -07:00
Chris Goller
9eca2c156a
Revert "Merge branch 'master' into 1.4.0.x"
...
This reverts commit f2869813ca
, reversing
changes made to 7f5aea6414
.
2017-12-19 19:31:18 -06:00
Chris Goller
f2869813ca
Merge branch 'master' into 1.4.0.x
2017-12-19 18:48:52 -06:00
Chris Goller
ace51b1553
Update CHANGELOG and versions to prep for 1.4.0.0-rc1
2017-12-19 18:38:46 -06:00
Michael Desa
2dd7a971f4
Change default org id in client to "default"
2017-12-19 14:02:02 -08:00
Hunter Trujillo
7dadfd8060
Merge pull request #2612 from influxdata/2585-accept-days-units
...
Days is a valid duration value
2017-12-18 17:45:52 -07:00
Luke Morris
c476b44d11
Repair specs
2017-12-18 16:11:35 -08:00
Jared Scheib
0b6ac8da25
Change logout to log out, because consistency
2017-12-18 15:53:35 -08:00
Luke Morris
bf21fde425
Account for days in formatter matcher
2017-12-18 15:49:45 -08:00
Jared Scheib
6f2b175fb3
Merge branch '1.4.0.x' into multitenancy_ui_userspage_2583
2017-12-18 15:36:26 -08:00
Luke Morris
df75b96116
Update regex to accept days as valid input
2017-12-18 15:28:29 -08:00
Jared Scheib
fd187238a7
Await organizations & users via Promise.all to simplify render logic
2017-12-18 15:23:01 -08:00
Hunter Trujillo
74a138d767
Merge branch '1.4.0.x' of github.com:influxdata/chronograf into 1.4.0.x
2017-12-18 16:11:10 -07:00
Hunter Trujillo
e522cd44f7
Add default uuid to defaultQueryConfig in case it's not supplied. Fix how a new query config is added if there is not one present in the DE.
2017-12-18 16:10:59 -07:00
Jared Scheib
b6d18e3f23
Steve Bang where nhowgo created more bugs
2017-12-18 15:01:48 -08:00
Luke Morris
c64b12e706
Prettier
2017-12-18 14:05:52 -08:00
Nathan Haugo
57a8f0c72e
Actually make @stevebang approved
2017-12-18 13:55:32 -08:00
Nathan Haugo
ebaa43c0ca
Fix login bug
2017-12-18 13:49:30 -08:00
Jared Scheib
7c61a91191
Merge pull request #2591 from influxdata/multitenancy_no_switch_to_orgs_where_no_role
...
Allow SuperAdmin to switch to orgs where they have no role
2017-12-18 13:44:21 -08:00
Jared Scheib
1e361ec80e
Add & render EmptyUsersTable if users & organizations are loading
...
Allow UsersTableHeader to be used in empty state via defaultProps
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-18 12:45:18 -08:00
Jared Scheib
2a50e90746
Move AdminChronografPage to /admin/chronograf
2017-12-18 12:10:02 -08:00
Jared Scheib
b70f5704ed
Remove obsolete code that reloaded users upon org switching
2017-12-18 12:08:37 -08:00
Jared Scheib
db91aca339
Refactor AdminChronograf into UsersPage to ensure correct users via AJAX & guard
...
Move OrganizationsPage into /chronograf & cleanup
2017-12-18 12:08:20 -08:00
Jared Scheib
5bfed911b3
Fix destructuring bug in arg with default value
2017-12-15 16:05:57 -08:00
Jared Scheib
cb88e31a7a
Update copy of notification upon switch & become Admin
2017-12-15 16:05:57 -08:00
Jared Scheib
531b0d2afd
Notify SuperAdmin of new Admin role switching to organization where they had no role
2017-12-15 16:05:51 -08:00
Jared Scheib
92c7dabf59
Revert "Add 'Join' button to the left of Organizations where a SuperAdmin has no role"
...
This reverts commit dffde0e5371ce82d2a3f2c785bdcdf43cf6a2c3b.
2017-12-15 16:05:45 -08:00
Jared Scheib
34301cb371
Add 'Join' button to the left of Organizations where a SuperAdmin has no role
2017-12-15 16:05:38 -08:00
Jared Scheib
e5c4a4a403
Disable 'Switch to' button in OrganizationsTable for any orgs user has no role in
...
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2017-12-15 16:05:27 -08:00
Jared Scheib
5213d66544
Show spinner until UsersTable has users & organizations data
2017-12-15 15:31:58 -08:00
Luke Morris
f9798d671f
Load admin's organizations when loading users table
2017-12-15 13:57:00 -08:00
Jared Scheib
ad22233adb
Merge pull request #2590 from influxdata/2544-missing-dashboard-should-404
...
Attempting to access missing dashboard should redirect user to `/sources/:sources_id/dashboards`
2017-12-15 11:48:55 -08:00
Alex Paxton
abdb5f5244
Merge pull request #2575 from influxdata/three-new-icons
...
Add Auth0, OAuth, and stacked hard disks icons
2017-12-15 10:18:08 -08:00
Alex P
bd3aec99ad
Allow users to toggle between coloring text or background with single stat thresholds
2017-12-14 19:07:19 -08:00
Alex P
35cbdd4fe3
Add field in single-stat options for setting a suffix
2017-12-14 19:06:35 -08:00
Luke Morris
7b1d32c26b
Tell the user what went wrong
2017-12-14 18:36:18 -08:00
Jared Scheib
4448b187ba
Only attempt to access error.data.message if error is 403'd AJAX
...
Use lodash to avoid destructuring
error.data.message should only exist for failed AJAX requests.
Currently we only handle 403 (HTTP_FORBIDDEN) here.
2017-12-14 18:19:29 -08:00
Luke Morris
ebbb98426c
Should abort DashboardPage mount immediately after redirect
2017-12-14 17:38:22 -08:00
Luke Morris
59427db2e0
If dashboard is missing, redirect to dashboards index
2017-12-14 17:36:44 -08:00
Nathan Haugo
c42ebb3a86
Bump version to 1.4.0.0-beta2
2017-12-14 12:47:41 -08:00
Nathan Haugo
a91b3ef104
Bump version to 1.4.0.0-beta2
2017-12-14 12:45:44 -08:00
Nathan Haugo
008a540b90
Merge pull request #2582 from influxdata/1.4.0.x
...
Merge 1.4.0.x hot-fixes into master
2017-12-14 12:12:35 -08:00
Nathan Haugo
c5f53e54df
Merge branch '1.4.0.x' into fix-optin-cursor
2017-12-14 12:05:58 -08:00
Alex P
31b21620d2
Format auth0 link name to render correct icon
2017-12-14 11:55:03 -08:00
Jared Scheib
82871771e9
Remove superAdmin toggle & data when creating a new user
...
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-12-14 11:15:34 -08:00
Jared Scheib
0e1bcfc9c6
Merge pull request #2355 from influxdata/multitenancy_all_users_superadmin_toggle
...
UI Toggle & API for SuperAdminFirstUserOnly server config
2017-12-14 10:54:18 -08:00
Nathan Haugo
49a5036d4f
Merge pull request #2571 from influxdata/switch-orgs-from-manage-sources-rebased
...
Switch orgs from manage sources rebased
2017-12-13 17:49:34 -08:00
Nathan Haugo
aad8247aba
Merge pull request #2572 from influxdata/bugfix/user-role-public-org
...
Fix organization default role being stale on chrono users page
2017-12-13 17:41:47 -08:00
Andrew Watkins
65089611e4
Remove cruft
2017-12-13 17:30:32 -08:00
Nathan Haugo
10172cc9fc
Merge pull request #2563 from influxdata/bugfix/y-axis-undefined
...
y axis title undefined
2017-12-13 17:29:00 -08:00
Nathan Haugo
13a3393de3
Merge pull request #2564 from influxdata/2561-invert-only-user-nav
...
Invert only the user nav; leave alerting/admin untouched
2017-12-13 17:28:10 -08:00
Jared Scheib
f7bbef2b30
Refactor handleChangeAuthConfig to be simpler & more modular
2017-12-13 17:23:30 -08:00
Andrew Watkins
6c786ef533
Merge branch '1.4.0.x' into bugfix/y-axis-undefined
2017-12-13 17:21:48 -08:00
Andrew Watkins
ba9e5f2916
Update placeholder if y-axis default title is empty
2017-12-13 17:15:58 -08:00
Andrew Watkins
83aa2da7fa
Do not return a label if provided with empty query config
2017-12-13 17:15:58 -08:00
Nathan Haugo
4fedf398d0
Fix tool tip verbiage and master the art of css
2017-12-13 16:58:44 -08:00
Alex P
67e9cbb741
Add Auth0, OAuth, and stacked hard disks icons
2017-12-13 16:27:43 -08:00
Andrew Watkins
dcf7fdc010
Use organizations state instead of me: currentOrganization
2017-12-13 16:06:13 -08:00
Andrew Watkins
f7ef728a3b
Fix organization default role being stale on chrono users page
...
The 'currentOrganization' namespaced in the auth reducer does not get
updated when chronograf organizations reducer gets updated. This
results in temporary stale state until `/me` is hit and the 'me auth'
state trickles through the application.
2017-12-13 15:43:57 -08:00
Jared Scheib
058f5fbc20
Rename superAdminFirstUserOnly to superAdminNewUsers & flip default logic accordingly
...
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2017-12-13 14:49:49 -08:00
deniz kusefoglu
5c9b4fc3e7
Make switch-orgs button take users to purgatory
2017-12-13 14:17:38 -08:00
Alex P
7dfd0c9312
Change design to be consistent with Purgatory logout button
2017-12-13 14:17:38 -08:00
Alex P
18b666660d
WIP Add button to Manage Sources page for switching organizations
...
Also added some icons to the buttons
2017-12-13 14:17:38 -08:00
Jared Scheib
63ea69e679
Update state in SlideToggle when props update
...
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-12-13 13:57:09 -08:00
Jared Scheib
172b1f827d
Rename css class to use 'config' instead of 'settings'
2017-12-13 13:55:06 -08:00
Jared Scheib
a54712f600
Add config.self & config.auth routes, update client routes & make PATCH a PUT
2017-12-13 13:54:23 -08:00
Alex P
fc83074612
Merge branch 'master' into single-stat-colors
2017-12-13 11:01:18 -08:00
Luke Morris
61ca26f09a
Merge branch 'master' into fix-optin-cursor
2017-12-12 18:11:51 -08:00
Alex P
0bdb3d6233
Add hover and pressed state visual cues to opt-in label
...
After much debate this seems to check off the most “Good UX” boxes
2017-12-12 17:57:54 -08:00
Jared Scheib
b2591828fe
Pass through config link to redux
2017-12-12 15:10:54 -08:00
Luke Morris
438bca1fc1
Invert only the user nav; leave alerting/admin untouched
2017-12-12 14:48:22 -08:00
Jared Scheib
74ffdab074
Move & rename Settings boilerplate to dedicated shared Config boilerplate
2017-12-12 14:39:40 -08:00
Andrew Watkins
b8d2421f23
Prevent inversion of graph
2017-12-12 14:34:30 -08:00
Jared Scheib
2119dcb60a
Wire up SuperAdminFirstUserOnly toggle in UI
...
The API does not exist yet, and the shape and location
in redux may change.
2017-12-12 14:02:17 -08:00
Alex P
4bba4542be
Create settings table beneath organizations table
...
Only 1 setting for now, when we have more we can find a better home for
it
2017-12-12 14:02:17 -08:00
Alex P
e67dc7ebbf
Render static text instead of kapacitor switching dropdown for Viewers
2017-12-12 13:40:01 -08:00
Jared Scheib
0050fddc03
Allow new Organization names to include spaces
2017-12-12 13:37:07 -08:00
deniz kusefoglu
2f05ceb537
Pretty print JSON in shared tests spec
2017-12-12 13:12:58 -08:00
Luke Morris
5688668c81
Allow for 2 custom links
2017-12-12 12:45:03 -08:00
Luke Morris
525f4ba18d
Shift position of inverse dropdown
2017-12-12 12:45:03 -08:00
Luke Morris
d4f2d97430
Control direction of sidebar-menu--user-nav with flexbox
2017-12-12 12:45:03 -08:00
Luke Morris
62213ee9cc
visualViewport is supported in Chrome only
2017-12-12 12:37:30 -08:00
lukevmorris
d92b7d29ac
Merge pull request #2543 from influxdata/2520-firefox-login
...
Repair rendering bug in Firefox
2017-12-12 11:56:59 -08:00
deniz kusefoglu
26dc96ab18
Verify that log/tcp/exec and post are filled before adding them to alertnodes on rule
2017-12-12 10:54:18 -08:00
Alex P
a949144ea0
Actually fix the issue
2017-12-12 10:25:57 -08:00
Luke Morris
552698a13a
Allow for 2 custom links
2017-12-11 17:06:38 -08:00
Alex P
a07e17a55b
Render static text instead of kapacitor switching dropdown for Viewers
2017-12-11 16:59:01 -08:00
Luke Morris
e0b6b01510
Shift position of inverse dropdown
2017-12-11 16:16:14 -08:00
Luke Morris
58966b4b1a
Control direction of sidebar-menu--user-nav with flexbox
2017-12-11 15:20:58 -08:00
Luke Morris
dd403c3de6
visualViewport is supported in Chrome only
2017-12-11 14:46:28 -08:00
Jared Scheib
17e3641ae4
Allow new Organization names to include spaces
2017-12-11 14:42:24 -08:00
deniz kusefoglu
98d0481da7
Add url and urlTitle fields back to pushover
2017-12-11 11:30:25 -08:00
Alex P
c9134b3ce2
Inset colored portion of single-stat for contrast
2017-12-11 11:27:41 -08:00
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
deniz kusefoglu
ca0ace0bc4
Improve the way post headers are set in reducer, and initialized
2017-12-11 11:09:21 -08:00
Alex P
8636930f65
Render single stat cells with background color of nearest exceeded threshold
2017-12-11 10:48:27 -08:00
Luke Morris
da5ec796d5
Merge branch 'master' into fix-optin-cursor
2017-12-11 09:52:31 -08:00
deniz kusefoglu
c09fd1f4fa
Fix rule handler dropdown height
2017-12-08 19:38:07 -08:00
deniz kusefoglu
a943e590c7
Test Multiple event handlers
2017-12-08 19:23:16 -08:00
deniz kusefoglu
9f1389aae5
remove unused RULE_ALERT_OPTIONS
2017-12-08 19:22:44 -08:00
deniz kusefoglu
91286c081c
Prevent redacted fields from being saved in to rule.
2017-12-08 19:21:33 -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
deniz kusefoglu
1409b1e7a4
Change name of function-x from get-x
2017-12-08 15:44:22 -08:00
Alex P
b2cf341b8a
Prevent gauge needle from exceeding bounds of gauge
2017-12-08 15:40:32 -08:00
deniz kusefoglu
4ba5784764
Add button to config from each configured handler
2017-12-08 15:36:27 -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
deniz kusefoglu
e888836315
Add bracket to scss
2017-12-08 13:47:04 -08:00
Alex P
8cf13d36b8
Update bootstrap theme to make green dropdowns have greater contrast
2017-12-08 13:43:04 -08:00
deniz kusefoglu
50542fbf86
Merge branch 'multiple-event-handlers' of github.com:influxdata/chronograf into multiple-event-handlers
2017-12-08 13:40:21 -08:00
deniz kusefoglu
d9a49e288b
Christmas Tree
2017-12-08 13:27:34 -08:00
Deniz Kusefoglu
ed7f38c943
Merge branch 'master' into multiple-event-handlers
2017-12-08 12:20:40 -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
deniz kusefoglu
27a1408cc2
change var name
2017-12-08 11:21:05 -08:00
deniz kusefoglu
3cf47513db
rename Alerts to handlers
2017-12-08 10:54:31 -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
deniz kusefoglu
2b601fd98a
Correct post handling and convert alertsFromRule to handlersFromRule
2017-12-07 18:48:48 -08:00
deniz kusefoglu
c994cc4ac9
Convert endpoints to handlers
2017-12-07 18:37:47 -08:00
deniz kusefoglu
1855fd1978
Remove unused updateAlertProperty
2017-12-07 18:35:10 -08:00
deniz kusefoglu
9cb793e66f
Remove parseAlerta
2017-12-07 16:21:36 -08:00
deniz kusefoglu
928be9877c
Save or Exit alert rule before redirecting to config page
2017-12-07 15:53:10 -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
deniz kusefoglu
b7c4756ad6
Convert SFCs to have implicit returns
2017-12-07 13:20:31 -08:00
deniz kusefoglu
93791a9201
display alert.type instead of alert.alias in the alert tabs
2017-12-07 13:04:16 -08:00
Nathan Haugo
488d581d9e
Update CHANGELOG.md to organize release notes
2017-12-07 15:03:58 -06:00
Nathan Haugo
05fc484864
Update bumpversion with 1.4.0.0-beta1
2017-12-07 14:38:28 -06: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
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
Jared Scheib
a910bba1c2
Refactor to use isUsingAuth
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:24:01 -08:00
Luke Morris
7ad5259972
Allow superadmin-members to login from Purgatory
...
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-12-06 17:22:36 -08:00
Jared Scheib
e2bb186acf
Add failsafe to kick user to login if me becomes null
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 17:07:24 -08:00
Hunter Trujillo
1abe25c0d7
Merge pull request #2427 from influxdata/feature/infinite-scroll
...
Infinite Scroll
2017-12-06 17:17:16 -07:00
Alex P
d073a95670
Reintroduce gradient and corresponding transition
2017-12-06 16:12:59 -08:00
Alex P
df836f5125
Refactor optin component to not have cursor problems
2017-12-06 16:06:35 -08:00
Luke Morris
0c040e96b6
Revert "Revert "Log out user if organization is gone on the server""
...
This reverts commit cf4bacf6da
.
2017-12-06 15:44:09 -08:00
Jared Scheib
52e821f945
meGetCompleted requires me/auth/logoutLink from AJAX response
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-06 15:40:09 -08:00
Luke Morris
cf4bacf6da
Revert "Log out user if organization is gone on the server"
...
This reverts commit d727434de6
.
2017-12-06 15:23:18 -08:00
Luke Morris
d727434de6
Log out user if organization is gone on the server
2017-12-06 15:10:48 -08:00
Andrew Watkins
058d9757e7
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
b63531c52a
Clean up error message for consistency
2017-12-06 14:57:49 -08:00
Jared Scheib
dd466c27bf
Add notification for successful delete of source
2017-12-06 14:25:19 -08:00
Jared Scheib
56ba45598b
Fix notification copy on add & update source
2017-12-06 14:23:49 -08:00
deniz kusefoglu
63ff785bd1
Add enter and escape key behavior to Chronograf admin users page
2017-12-06 14:22:27 -08:00
Hunter Trujillo
02059a1199
Same story for updateSourceAction.
2017-12-06 15:06:21 -07:00
Jared Scheib
c3b1173b31
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
279813e0b1
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
1d9797540c
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
9b7c4dd1bf
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
14e8e70484
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-12-05 18:47:05 -08:00
Luke Morris
c1c2cbd4d4
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
95984659cd
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
a845ad8c59
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
Deniz Kusefoglu
903e461d40
Merge branch 'master' into multiple-event-handlers
2017-12-05 16:18:01 -08:00
Jared Scheib
ff1cde524b
Merge branch 'multitenancy' into multitenancy_fix_layouts
2017-12-05 16:03:05 -08:00
deniz kusefoglu
73ed17a466
Fix a failing test
2017-12-05 16:01:19 -08:00
Jared Scheib
71f2237d24
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
deniz kusefoglu
469514d346
Fix a failing test
2017-12-05 15:59:39 -08:00
Luke Morris
3721571361
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
deniz kusefoglu
6282698b40
Add missing props validation
2017-12-05 15:27:03 -08:00
deniz kusefoglu
23c9f8c22d
Add post header inputs
2017-12-05 15:23:32 -08:00
Jared Scheib
195e8ed57d
Refactor CheckSources to ES6 React class
...
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-12-05 14:34:29 -08:00
deniz kusefoglu
50b7086f6f
Add Pagerduty back
2017-12-05 14:12:53 -08:00
deniz kusefoglu
cc349bfc7f
Remove Pagerduty
2017-12-05 14:11:28 -08:00
Alex P
eb16ed839b
Ensure more pleasing margins on login buttons when quantity is variable
2017-12-05 13:51:48 -08:00
Jared Scheib
9b87433ddf
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-12-05 13:37:46 -08:00
Nathan Haugo
e5afdc3c23
Merge pull request #2410 from influxdata/gauge-cell-type
...
Gauge Dashboard Cell
2017-12-05 13:26:02 -08:00
Jared Scheib
4f43d2a137
Merge branch 'master' into multitenancy
2017-12-05 13:00:48 -08:00
Jared Scheib
f1ec053e9b
Merge remote-tracking branch 'origin/multitenancy' into multitenancy_remove_viewer_put
2017-12-05 12:51:37 -08:00
Andrew Watkins
4b299ffd0b
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
bad3f93c3d
Merge branch 'master' into bugfix/hoverline
2017-12-05 12:24:11 -08:00
Alex P
6025c1224a
Merge branch 'master' into gauge-cell-type
2017-12-05 12:12:16 -08:00
Alex P
5f80268191
Guard against missing colors
2017-12-05 12:07:40 -08:00
deniz kusefoglu
c132793266
Change size of dropdown
2017-12-05 11:58:48 -08:00
Hunter Trujillo
637e805690
Remove logging animations.
2017-12-05 12:53:31 -07:00
Jared Scheib
6c507b4138
Make dashboards filter work for lowercase search terms
2017-12-05 11:45:59 -08:00
Jared Scheib
c9e579acb2
Merge remote-tracking branch 'origin/master' into multitenancy
2017-12-05 11:43:23 -08:00
deniz kusefoglu
cb297439a6
Remove unused lodash
2017-12-05 11:28:54 -08:00
deniz kusefoglu
af2fc45dfe
Fix detail styling
2017-12-05 11:27:17 -08:00
deniz kusefoglu
e42a87746f
HandlerOptions styling
2017-12-05 11:25:14 -08:00
Hunter Trujillo
3c6f3efc61
Refactor to use Scrollbars from FancyScrollbar.
2017-12-05 12:09:01 -07:00
deniz kusefoglu
0c935d9887
Rename Victorops
2017-12-05 10:03:24 -08:00
deniz kusefoglu
cd7086cc2c
Rename Opsgenie
2017-12-05 10:01:57 -08:00
deniz kusefoglu
7254e26824
Remove ALERT_NODES_ACCESSORS
2017-12-04 20:50:11 -08:00
deniz kusefoglu
65f984fcf8
Remove updateAlerts
2017-12-04 20:47:59 -08:00
deniz kusefoglu
dbb274ea14
Fix tests
2017-12-04 20:46:40 -08:00
deniz kusefoglu
cbbd7b7d7e
Improve message details styles
2017-12-04 18:23:26 -08:00
Hunter Trujillo
8b02ccbfdc
Remove propTypes from member properties and place at end of file.
2017-12-04 18:24:22 -07:00
Hunter Trujillo
68be5030c2
Remove unnecessary return.
2017-12-04 18:13:40 -07:00
Hunter Trujillo
188cd8f1ca
Refactor webpack file cleanup script to use ES6-compatible callback-style Node fs calls.
2017-12-04 18:10:57 -07:00
Alex P
12d1845395
Use destructuring and implicit return
...
Just a nicer pattern
2017-12-04 16:53:48 -08:00
Andrew Watkins
ca22d26808
Merge branch 'master' into feature/auto-group-by-de
2017-12-04 16:51:01 -08:00
Alex P
3adb6206e1
Use template string instead of String constructor
2017-12-04 16:49:39 -08:00
Alex P
ee82fd6c4d
Remove unused ref
2017-12-04 16:48:45 -08:00
Alex P
8e7e2bb266
Use PureComponent in favor of shouldComponentUpdate with shallow compare
2017-12-04 16:44:21 -08:00
Alex P
032af1f046
Ensure provider indicator in nav does not wrap
2017-12-04 16:24:41 -08:00
Jared Scheib
66a841a396
Prevent PUT operations for Viewer role on Dashboard load
2017-12-04 16:19:17 -08:00
Hunter Trujillo
e904296b2f
Fix headers sent to Kapacitor proxy endpoint by clientside fetch.
2017-12-04 16:47:23 -07:00
Andrew Watkins
1692a754a2
Improve performance of highlightCallback
2017-12-04 15:21:14 -08:00
Andrew Watkins
de302999fa
Update guard clause of syncronizer
2017-12-04 15:20:46 -08:00
Alex P
556d622509
Merge branch 'multitenancy' into multitenancy_ui_polish
2017-12-04 14:39:44 -08:00
Alex P
a09135cfd7
Prevent tooltip wrap
2017-12-04 14:31:19 -08:00
Alex P
c4c6ad6974
Remove function call and closure
2017-12-04 14:30:16 -08:00
Jared Scheib
adce9f159c
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
439cee9e9b
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
ab6f029ea0
Adjust widths of default role and public columns in organization table
2017-12-04 13:19:19 -08:00
Alex P
c327f52c63
Change copy in org switching buttons
2017-12-04 13:18:55 -08:00
deniz kusefoglu
2c93bf23a2
Add handler options set in config to each alert handler
2017-12-04 12:01:20 -08:00
Jared Scheib
731d6e1678
Disable delete self onClick in Chronograf UsersTable
2017-12-04 11:27:53 -08:00
Alex P
b5cd28cbcd
Add text label to org switching buttons in organizations table
2017-12-04 11:19:11 -08:00
deniz kusefoglu
068076af33
Add details text field and details change handling function on email handler
2017-12-01 18:43:19 -08:00
Alex P
1ed5148ecc
Highlight self in chronograf admin users table
2017-12-01 17:17:43 -08:00
Jared Scheib
fe20b74e43
Filter on ID for users & orgs on Remove
2017-12-01 17:00:41 -08:00
Alex P
e52d2e5164
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
53aa7724fe
Refactor empty state into two subcomponents
2017-12-01 16:19:11 -08:00
Alex P
5e09cbb854
Use icons instead of text to indicate which org is current in organization table
2017-12-01 15:52:19 -08:00
Alex P
0db2809b49
Update icon font and bootstrap theme
2017-12-01 15:50:50 -08:00
deniz kusefoglu
68f040f824
Make the Email handler prettier
2017-12-01 12:42:53 -08:00
deniz kusefoglu
62f767126d
Update handler fields without reordering them
2017-12-01 12:42:37 -08:00
Alex P
712dc21765
Remove ID column from organizations table
2017-12-01 12:08:27 -08:00
deniz kusefoglu
bd5165b6d2
Allow HandlerInput to accomodate fields that are of array type
2017-12-01 11:54:37 -08:00
deniz kusefoglu
fb31b15d7f
Change default rule alertNodes field to an object from an array
2017-12-01 11:52:55 -08:00
deniz kusefoglu
d7703c0f5a
Remove the alerts field from rule
2017-12-01 11:51:42 -08:00
deniz kusefoglu
247b0457fb
Parse alert handlers from pre-existing rules correctly
2017-12-01 11:50:21 -08:00
deniz kusefoglu
ceb9969ea5
Display a list of unique handlers instead of all handlers for an alert rule on the list page
2017-12-01 11:48:18 -08:00
Alex P
5c28311380
Display scheme & provider in user nav menu
2017-12-01 11:43:15 -08:00
Alex P
26cc2f85f9
Change copy from 'switch' to 'connect' in organization table
2017-12-01 11:40:58 -08:00
Alex P
3638dc5012
Wire up switch organization button in organizations table
2017-12-01 11:13:49 -08:00
Hunter Trujillo
d35fb25192
Fix file removal code. Fix clean script. Add clean to yarn start.
2017-12-01 11:14:16 -07:00
Alex P
d4f3afe2aa
Add org switching column to organizations table
2017-12-01 10:07:37 -08:00
deniz kusefoglu
9085840f4d
Rename SMTPHandler to EmailHandler
2017-12-01 10:07:03 -08:00
Alex P
ca7ef7d0a2
Remove superadmin indicator from user's nav item
2017-12-01 09:43:40 -08:00
Jared Scheib
941327349e
Render Create Dashboard button on empty Dashboards Table only if at least Editor
2017-11-30 21:02:48 -08:00
Jared Scheib
3ef5fad4f8
Render Configure Kapacitor on empty Alerts Table only if at least Editor
2017-11-30 21:01:51 -08:00
Jared Scheib
899c72cf4f
Fix client UX when creating a Chronograf organization that already exists
2017-11-30 20:20:37 -08:00
Jared Scheib
3f4dad8603
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
76b61a146e
Merge branch 'multitenancy' into multitenancy_reset_current_org
2017-11-30 19:07:40 -08:00
Jared Scheib
fd0554aaa6
Remove source Role concept from client
2017-11-30 19:04:54 -08:00
deniz kusefoglu
23cd81b2cb
Cr names from rules.alertNodes
2017-11-30 16:19:32 -08:00
Andrew Watkins
df9794a281
Fix Table requests
2017-11-30 15:50:18 -08:00
Andrew Watkins
f0713fe0cd
Fix runtime error when no rawText present
2017-11-30 15:25:55 -08:00
Andrew Watkins
ce8affd6f8
Add :interval: to DataExplorer
2017-11-30 15:25:32 -08:00
Andrew Watkins
98fd8bf9d0
Merge branch 'master' of github.com:influxdata/chronograf
2017-11-30 15:24:17 -08:00
Jared Scheib
63d4f70d11
Remove obsolete Authenticated component import/export
2017-11-30 14:45:27 -08:00
Jared Scheib
3b8be68a0e
Fix client UX when creating a Chronograf user that already exists
2017-11-30 14:21:27 -08:00
Jared Scheib
d2df204664
Remove obsolete admin constants
2017-11-30 13:12:50 -08:00
Jared Scheib
037e9e8aa0
Rename const file dummyUsers.js to chronografAdmin.js
2017-11-30 13:06:54 -08:00
Andrew Watkins
3c49a11a7e
Merge branch 'master' into bugfix/create-dashboard
2017-11-30 15:21:28 -05:00
Andrew Watkins
5248caf5d8
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
deniz kusefoglu
1b56e226a5
Improve Handler styling
2017-11-29 14:22:43 -08:00
Hunter Trujillo
94c864373d
Refactor Hosts Page to use flexbox styles and Infinite Scroll.
2017-11-29 15:04:45 -07:00
deniz kusefoglu
40916fffb1
Remove form wrap around HandlerInput and fix css
2017-11-29 13:24:40 -08:00
Hunter Trujillo
85ce7bba00
Remove console.logs. Fix off-by-one on rounded items. Fix setState issues.
2017-11-29 10:34:44 -07:00
Hunter Trujillo
440aa0a003
Add infinite scroll component. Use for Alerts Table and Tickscript Logs.
2017-11-29 10:08:41 -07:00
Andrew Watkins
03d2a8b9c3
Merge branch 'master' into bugfix/y-axis-label
2017-11-29 08:10:50 -05:00
Hunter Trujillo
ee1f76cebc
Merge pull request #2188 from influxdata/feature/tickscript-logging
...
Tickscript Logging
2017-11-28 19:37:46 -07:00
Andrew Watkins
84a1092d48
Make labels work recursivley with func args
2017-11-28 21:02:49 -05:00
Andrew Watkins
48d3d8eacb
Modernize presenter spec
2017-11-28 20:58:50 -05:00
deniz kusefoglu
522871d0c3
Improve Write TICKscript button
2017-11-28 17:13:26 -08:00
deniz kusefoglu
707f052dd3
Switch alert handler names and parameters from config to those to be used in rule
2017-11-28 16:37:33 -08:00
Hunter Trujillo
1908de1fd6
Add experimental string parse failure recovery.
2017-11-28 16:18:06 -07:00
deniz kusefoglu
6d0b3fcb4b
add handler parameters from config and style handler parameter inputs
2017-11-28 14:11:28 -08:00
Alex P
cbf1a39fcb
Refactor styles for template variable rows to withstand smaller resolutions
2017-11-28 12:26:46 -08:00
Alex P
27343f0ea5
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
c8b54d31fd
Merge branch 'master' into feature/tickscript-logging
2017-11-28 10:49:40 -07:00
Hunter Trujillo
3fab311583
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
ad9eb6d632
Update label to handle new field shapes
2017-11-28 12:46:01 -05:00
Andrew Watkins
eee830979f
Stop 'cannot communicate with server' spam
2017-11-28 11:17:59 -05:00
Hunter Trujillo
fe2e406867
Merge branch 'master' into bugfix/hosts-page-error-2255
2017-11-27 22:04:43 -07:00
deniz kusefoglu
bb99d4b107
change the word endpoint to handlers
2017-11-27 15:07:19 -08:00
Andrew Watkins
acaf3ef074
Merge pull request #2327 from influxdata/refresh-list-after-metas
...
After create/delete, refresh database list
2017-11-27 18:02:13 -05:00
deniz kusefoglu
d2d0b79e7a
fix AlertTab references and add a redacted input component to pagerdutyconfig
2017-11-27 14:57:16 -08:00
Andrew Watkins
e2e7608d40
Merge branch 'master' into refresh-list-after-metas
2017-11-27 17:17:07 -05:00
Andrew Watkins
80b3c66b62
Remove redundant prop check
2017-11-27 17:14:52 -05:00
Chris Goller
3a07920d4c
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
b974c2f3ae
Merge branch 'master' into dashboard-list-filter
2017-11-27 17:03:59 -05:00
Alex P
d381da7bfa
Use error state input from theme when gauge threshold has bad value
2017-11-27 13:07:19 -08:00
Alex P
4ab57b0c20
Revert "Set reasonable defaults when gauge is passed empty colors"
...
This reverts commit 89ceeec518
.
2017-11-27 11:41:53 -08:00
Alex P
3ea01d7a4d
Update version of bootstrap theme
...
This one has a new type of themed inputs
2017-11-27 11:37:20 -08:00
Alex P
89ceeec518
Set reasonable defaults when gauge is passed empty colors
2017-11-27 11:29:20 -08:00
Alex P
82217b7543
Add 2 shades of grey to gauge colors list
2017-11-27 11:15:48 -08:00
Andrew Watkins
10c06edba6
Use props instead of state for Dashboard name list
2017-11-27 10:37:38 -05:00
Hunter Trujillo
32f0838135
Linter.
2017-11-27 04:01:39 -07:00
Alex P
5c10b77087
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
bcb2b99abc
Ensure a unique value for newly added thresholds
2017-11-22 17:18:34 -08:00
Alex P
d5406ac749
Remove comments
2017-11-22 15:25:58 -08:00
Alex P
6fdba650ec
Make CEO gauge preview update as changes are made
2017-11-22 15:22:58 -08:00
Alex P
0d2b1a6cde
Ensure smooth resizing of gauges inside cells and the CEO
2017-11-22 15:20:11 -08:00
Alex P
5de3e08d80
Pass resizer top & bottom pixels into children
2017-11-22 15:08:37 -08:00
Alex P
0797eb188a
Prevent user from inputing inoperable gauge values
2017-11-22 14:14:16 -08:00
Alex P
ecfd0422e6
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
139039fc0d
Fix heartbeat
...
Use default obj value destructure syntax for shouldResetMe.
Rename startHeartbeat to performHeartbeat.
2017-11-22 14:42:07 -06:00
Alex P
0cc1a32ea3
WIP use actual min and max in display of gauge
2017-11-21 17:41:17 -08:00
Alex P
cbbb6412b3
Send colors with save action and pass down to GaugeChart
2017-11-21 17:40:38 -08:00
Jared Scheib
17fbfdc020
Allow Default org to be renamed in UI; remove Default component
2017-11-21 17:57:16 -06:00
deniz kusefoglu
90294546ef
Display a checkmark next to enabled configs
2017-11-21 14:54:04 -08:00
deniz kusefoglu
797702fff5
Rename Endpoints to Handlers
2017-11-21 14:15:30 -08:00
Hunter Trujillo
0f325c629a
Refactor to use feature detection instead of version detection. Add logs upgrade message.
2017-11-21 14:46:54 -07:00
deniz kusefoglu
cb55dadb9c
Merge branch 'multiple-event-handlers' of github.com:influxdata/chronograf into multiple-event-handlers
2017-11-21 13:04:01 -08:00
deniz kusefoglu
248897593e
Add emptyendpoint if an endpoint is not configured and grab alert options from the kapacitor configuration
2017-11-21 13:03:39 -08:00