Commit Graph

4736 Commits (bc37e264fd6260deb8d1de0b609dbddb19ce7e44)

Author SHA1 Message Date
deniz kusefoglu 61e4e08991 Rename link to pathname 2018-02-07 11:56:31 -08:00
Alex P 167c90d6e1 Ensure that static legend is accounted for in dashboard view as well
I guess we need both methods! woooo
2018-02-07 11:49:12 -08:00
Alex P 667a7cb76d Fix render delay when static legend is toggled 2018-02-07 11:45:02 -08:00
Alex P ff61b08a3d Blur then save when command+enter is hit while child input or textarea is focused 2018-02-07 11:29:46 -08:00
Alex P ebe25e6ac2 Blur child inputs or textareas when escape key pressed 2018-02-07 11:29:07 -08:00
Alex P d2e5a2bd86 Rename handler to match event 2018-02-07 10:26:48 -08:00
Alex P a9d85dc02c Simplify detection of meta key in tandem with enter key
Thanks @lukevmorris for the tip
2018-02-07 10:21:13 -08:00
deniz kusefoglu a779c8181a Fix static legend click behavior in cell editor overlay 2018-02-07 10:13:32 -08:00
Iris Scholten 7092a292fb remove the ID column from the ui 2018-02-07 09:54:25 -08:00
Iris Scholten 0f2e163e50 Group=>ProviderOrganization; organization=>organiztionId; fix pointer bug 2018-02-06 18:33:27 -08:00
Alex Paxton 59796b9aba Merge branch 'master' into ceo-escape 2018-02-06 18:19:08 -08:00
Alex P 162b0a897d Save CEO when command+enter is pressed
Wrote some funky logic so it doesn’t matter the order of keypresses
with the combo
2018-02-06 15:30:01 -08:00
Deniz Kusefoglu e3571eefe8 Merge branch 'master' into bugfix/kapacitor-test-button-errors-SMTP 2018-02-06 15:26:56 -08:00
Alex Paxton cc739c7a8c Merge branch 'master' into expandable-kapacitor-logs 2018-02-06 15:20:28 -08:00
Alex P 227fa72fcb Cancel CEO when escape key is pressed
Doesn’t fire if a child input is focused
2018-02-06 15:08:35 -08:00
ischolten 9679db0a61 Merge pull request #2752 from influxdata/kapacitor-spaces
Kapacitor page allows users to add spaces to kapacitor name
2018-02-06 14:32:10 -08:00
Iris Scholten 296acb1491 address PR feedback 2018-02-06 13:09:48 -08:00
Alex Paxton a2f4201504 transform cell.legend to staticLegend property in graphs, and add staticLegend to graphs
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2018-02-06 12:50:58 -08:00
deniz kusefoglu 39eca759b4 Merge branch 'master' into feature/persistent-legend 2018-02-06 10:52:02 -08:00
Iris Scholten 3a76ebac03 WIP: wire up the server with the front end 2018-02-05 17:45:46 -08:00
deniz kusefoglu 93f96a72f3 Make config saving error messages more verbose 2018-02-05 16:04:42 -08:00
deniz kusefoglu c71c4ac648 Add TO field to SMTP config 2018-02-05 15:37:10 -08:00
Alex P 4c6a675eab Enforce horizontal scrolling on code mirror and improve styles 2018-02-05 15:12:50 -08:00
Alex P 0a4a61bf5e Render key/value pairs in log messages alphabetically by key 2018-02-05 14:49:21 -08:00
Alex P f0e67c5734 Improve log message text wrapping
Also renamed some css classes to be more generic and understandable
2018-02-05 14:36:15 -08:00
Alex P fb86889286 Remove concept of expand/collapse and redesign log table rows
Each row sized to fit content, if the keys/values list is too long it
scrolls. Should comfortably fit about 17 items before scrolling
2018-02-05 14:15:56 -08:00
Alex P b615be2f23 Remove infinite scroll from logs table and render only 200 most recent logs 2018-02-05 13:45:50 -08:00
deniz kusefoglu 81bf0e80c7 Reflect kapacitor test button responses in flash messages 2018-02-05 12:30:47 -08:00
deniz kusefoglu 00272efe01 Prevent disabling save button if update fails 2018-02-05 12:13:07 -08:00
Iris Scholten 374bb0ee1d accepts spaces in the kapacitor connection name 2018-02-05 11:58:21 -08:00
Iris Scholten 20e2791da1 disable the dropdown fields in the initial default mapping 2018-02-05 11:38:22 -08:00
Iris Scholten a916ecd818 Merge branch 'master' into feature/global-users 2018-02-05 11:13:29 -08:00
Alex P 7be953ad7d Polish expand/collapse interaction and appearance of logs 2018-02-02 18:05:32 -08:00
Iris Scholten b29bcfc478 change the create new user as super admin default setting to false 2018-02-02 17:44:49 -08:00
Iris Scholten 5509a034c0 added tabbing to InputClickToEdit components 2018-02-02 17:30:31 -08:00
Alex P 61765822b5 Add expand/collapse interaction to each kapacitor log item 2018-02-02 17:25:43 -08:00
Iris Scholten 9ca6d1852e refactor of update methods in ProvidersTableRow 2018-02-02 16:57:26 -08:00
Iris Scholten 9ecbf9daf7 make scheme a dropdown, update the redux store for a mapping change corectly, and add an empty state for the provider mappings page 2018-02-02 15:26:31 -08:00
Alex Paxton 44339a5b25 Merge pull request #2746 from influxdata/saving-tickscript
Saving tickscript
2018-02-02 11:37:31 -08:00
Alex P 5c090c970d Cleanup
Based on feedback from @lukevmorris
2018-02-02 11:25:59 -08:00
Iris Scholten 4015b79351 repair failing specs 2018-02-01 17:13:34 -08:00
Iris Scholten adaff3e9e8 Merge branch 'master' into feature/global-users 2018-02-01 16:40:14 -08:00
Alex P b814f0d5a0 Redesign tick script editor console
Moved to bottom, color coded, is larger
2018-02-01 15:34:59 -08:00
Alex P 0b60d11829 Replace validation with consoleMessage and render in console component
Also, if error returned from kapacitor it does not save
2018-02-01 15:34:06 -08:00
Alex P 31473cf559 Remove static legend toggle from cell menu 2018-02-01 13:13:48 -08:00
Alex P 5ea8aa4cdd WIP Prepare for incoming legend key on cell
@goller is going to add a legend key to cell with a specific shape
2018-02-01 13:11:17 -08:00
deniz kusefoglu 30fa3b730e Improve copy on Tickscript editing notifications 2018-02-01 13:09:09 -08:00
Alex P fb7ca944a6 Add static legend option to cell editor state and pass into children
Toggle is visible in AxesOptions as it only pertains to dygraph graphs
2018-02-01 11:26:06 -08:00
Alex P 51f04fdfce Improve appearance of display options on smaller screens 2018-02-01 11:25:08 -08:00
deniz kusefoglu f6f418c48c Detect unsaved changes outside the tickscript editor 2018-02-01 11:02:45 -08:00
Alex P b801a806c9 Set a maximum height for the static legend with overflow 2018-02-01 10:21:04 -08:00
Luke Morris de2e755f82 Add confirm dialog to removing Organization Tag 2018-01-31 17:39:05 -08:00
Luke Morris 34c52e17ee Improve of user deletion messaging 2018-01-31 17:20:53 -08:00
Alex P 522ce0df27 Replace create & exit with just exit 2018-01-31 17:17:15 -08:00
Alex P 9a130b435a Change exit confirmation to be a question 2018-01-31 16:55:13 -08:00
Alex P 9ba31713c9 Make confirm button tooltip positioning smarter
Could be improved further, but this solves the immediate problem of the
tooltip extending beyond the right edge of the screen
2018-01-31 16:54:53 -08:00
Iris Scholten 2cb9026364 add better messaging for removing own user record 2018-01-31 16:43:51 -08:00
Alex Paxton b02fede610 Add unsavedChanges state to TickscriptPage
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2018-01-31 16:05:28 -08:00
Alex Paxton bc35463b09 Fix Visbility typo
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2018-01-31 16:04:27 -08:00
Alex Paxton 05c41fdcc1 Add ConfirmButton
Signed-off-by: Deniz Kusefoglu <denizk@gmail.com>
2018-01-31 16:02:39 -08:00
Iris Scholten 8f844ac0f8 improve the flash message verbiage when deleting a user from the userspage and standardized the duration time for flash messages to be 4s 2018-01-31 15:57:24 -08:00
Iris Scholten 2b1dc00cf0 improve the flash message verbiage to explicitly state the changes made 2018-01-31 15:25:28 -08:00
Alex P bb84d73209 WIP Polish annotation tooltip delete
Trying to make this thing look nice and not be obscured by the page
header
2018-01-31 12:41:08 -08:00
Alex P f4af440e99 Fix legend hiding logic
Was getting mad errors before
2018-01-31 12:40:41 -08:00
Alex P 475d369811 Enable deletion of annotation range from endpoint 2018-01-31 12:07:23 -08:00
Alex P e6bbf7fa4b Make it harder to accidentally mouse out of an annotation 2018-01-31 11:53:07 -08:00
Alex P 64a0fcfaa4 Prevent render of legend during annotation edit mode 2018-01-31 11:43:47 -08:00
Jean-François YUEN 723bbe9f12 Remove useless withRouter 2018-01-31 13:05:31 +01:00
Jean-François YUEN 80db6212b5 Add refresh widget to hosts page 2018-01-31 13:05:31 +01:00
Alex P 9578bb0c87 Remove secondary "text" field from annotation tooltips 2018-01-30 20:16:03 -08:00
Alex P b80b93208e Mention keyboard/mouse interactions in helper component
Good UX brahhhh
2018-01-30 16:00:36 -08:00
Alex P 81be8ddfcb Allow static legend to grow as necessary
Also resizing the annotations and dygraph containers to fit
2018-01-30 15:49:56 -08:00
Iris Scholten 343f417474 WIP fully connect redux to provider react componenets 2018-01-30 15:26:08 -08:00
Alex P 2f4b1fdfbe Prevent static legend items from text wrapping 2018-01-30 14:31:12 -08:00
Iris Scholten 04144c8192 WIP delete mapping in redux 2018-01-30 11:27:30 -08:00
Iris Scholten 50d7da02b0 WIP add new mappings in redux 2018-01-30 11:09:26 -08:00
deniz kusefoglu ca945cf627 Rename Persistent Legend to Static Legend 2018-01-29 17:44:46 -08:00
Iris Scholten 5d9062e82f WIP load mappings fixture into redux 2018-01-29 17:40:02 -08:00
deniz kusefoglu 929c84ce25 Add ability to Toggle the visibility of the static legend. 2018-01-29 16:35:07 -08:00
deniz kusefoglu 8c5b5e16d5 Fix linter error 2018-01-29 15:12:17 -08:00
deniz kusefoglu 630f5051e7 Add regular click behavior to persistent legend 2018-01-29 15:02:16 -08:00
deniz kusefoglu 92c4923568 Add shift and meta key onclick behavior to persistent legend 2018-01-29 14:40:48 -08:00
deniz kusefoglu 8e82c78fa3 Add series colors to persistent legend 2018-01-29 11:35:24 -08:00
Deniz Kusefoglu 956b4b504b Merge pull request #2708 from influxdata/linkable-config-tabs
Link directly to the right config tab from handler section in rule creator.
2018-01-29 10:01:01 -08:00
Alex P 499be94163 Merge branch 'feature/global-users' into feature/global-users-styles 2018-01-26 20:20:37 -08:00
Alex P ad84ac864e Set more appropriate column sizes for global users table and remove dropdown 2018-01-26 20:18:51 -08:00
Alex P c91e35e10f Refactor Tags component to include optional Add button 2018-01-26 20:16:31 -08:00
Alex P 2c709f1863 Allow for a custom class to be passed in to ConfirmButton
Also some cleanup
2018-01-26 20:15:54 -08:00
Jared Scheib 89eeedb27f Filter out organizations from Add to Organization where the user has a role
Signed-off-by: Michael de Sa <mjdesa@gmail.com>
2018-01-26 20:15:42 -08:00
Jared Scheib e4fc1c2ca7 Wire up remove & add user to organization from AllUsersPage 2018-01-26 20:07:02 -08:00
Jared Scheib 37eacef8c9 Show different success message for user delete from AllUsersPage vs UsersPage 2018-01-26 19:13:11 -08:00
Jared Scheib 8d494d4588 Comment, remove consoles, cleanup 2018-01-26 18:53:48 -08:00
Jared Scheib 7134153cb5 Fix linksReducer return state & make reducer default consistent
Remove actionTypes constants for links actions.
2018-01-26 18:53:08 -08:00
Alex P f62c42b847 Use ConfirmButton instead of DeleteConfirmButtons 2018-01-26 18:51:48 -08:00
Jared Scheib 91dfe6bcf0 Refresh links every time current org is switched 2018-01-26 18:51:34 -08:00
Alex P 4b3c9aed17 Introduce ConfirmButton component
In essence the same as ConfirmDeleteButtons just adheres to the latest
patterns and is more compact
2018-01-26 18:51:04 -08:00
Jared Scheib aea9b5b918 Un-blackout LINKS_ actions from errors middleware so dispatch registers with Redux 2018-01-26 18:50:24 -08:00
deniz kusefoglu fe9407422f Fix passing hash routes through router.push and address bar url 2018-01-26 18:08:20 -08:00
Alex P a36dad3e38 Prevent text wrap of user is me label 2018-01-26 17:58:48 -08:00
Alex P c765dd0df6 Style all users superadmins toggle 2018-01-26 17:56:00 -08:00
Alex P 80d5fee016 Fix weird classname output in SlideToggle
empty string does the trick
2018-01-26 17:55:44 -08:00
Alex P de306fc393 Redesign disabled state of slide toggle 2018-01-26 17:44:40 -08:00
Luke Morris 177b56c4d2 WIP Create New Mapping in ProviderTable 2018-01-26 17:07:29 -08:00
deniz kusefoglu 30a7bf10d4 Transmit location information in hash instead of locationState and use object.keys to access index of alert tabs 2018-01-26 16:05:35 -08:00
Alex P 99d11bd4c7 Render dots next to each persistent legend item 2018-01-26 15:17:08 -08:00
Alex P 8867352305 Remove measurement from persistent legend labels to conserve space 2018-01-26 14:41:45 -08:00
Alex P 13c83f8985 WIP polish appearance of toggleable persistent legends 2018-01-26 14:41:23 -08:00
Alex P 4e24376a31 Introduce stylesheet and styles for persistent legend
WIP
2018-01-26 13:06:40 -08:00
Alex P 152e49a7b2 Can't escape the funk 2018-01-26 13:06:40 -08:00
deniz kusefoglu 4f1a1ea57e Add missing proptype 2018-01-26 13:06:40 -08:00
deniz kusefoglu a0b50352d2 WIP persistent legend with onClick setVisibility 2018-01-26 13:06:40 -08:00
Alex P f3c1f2ae51 Render cell edit button only if there are queries 2018-01-25 14:03:05 -08:00
Alex P 8f4b9a44c3 Format timestamp in annotation tooltip to match timestamp in legend 2018-01-25 13:48:28 -08:00
Alex P ac3cf8bd12 Enable editing of Annotations
By default annotations are view only, user must enter “edit mode” to
make changes to annotations. Also refactored a bit so LayoutCellMenu
gets its actions directly rather than passing down from the dashboard
container
2018-01-25 13:22:39 -08:00
Nathan Haugo 9a0d0ad54d Update changelog for 1.4.0.1 2018-01-25 13:09:45 -08:00
Andrew Watkins 2b0deac7b8 Style of creating annotations with a durations --Alex Paxton 2018-01-22 16:52:40 -08:00
Andrew Watkins 61d656ecd1 Make circle happy 2018-01-22 13:40:17 -08:00
Andrew Watkins 79d2d8a4b4 Introduce add annotation with duration to UX 2018-01-22 13:40:09 -08:00
Andrew Watkins 01c9b855b6 Remove resetting of callbacks on unmount: 2018-01-20 15:43:14 -08:00
Alex P 77b80760e6 Polish interactions and style for add annotation flow 2018-01-19 20:36:26 -08:00
Alex P c953205baf Consolidating annotation in redux 2018-01-19 17:46:28 -08:00
Alex P f473fc0872 WIP Introduce NewAnnotation component
This will be used during the creation flow for annotations
2018-01-19 16:21:41 -08:00
Andrew Watkins 68f24e64d4 Move legendComponent ref out of Dygraph and introduce annotationMode 2018-01-19 16:14:24 -08:00
Andrew Watkins b36ab14b24 Introduce addAnnotation action and reducer 2018-01-19 14:18:57 -08:00
Alex P a3dc0789fd Refactor and redesign cell context menus to have tooltip menus on each button
Introducing the MenuTooltipButton which is easily configurable
2018-01-19 12:55:16 -08:00
Andrew Watkins 8656b340a6 Add delete Annotation functionality 2018-01-19 12:41:32 -08:00
Alex P 62a9e40138 Polish annotation styles
- Drag color is light blue
- Flags for start/end of durations are triangles
- Window is more subtle and has dotted border
- Timestamp doesn’t jitter between drag and hover state
2018-01-18 21:52:40 -08:00
Alex P bf0acce250 WIP Delete annotation 2018-01-18 17:52:36 -08:00
Alex P 76bd672e4c Make annotation tooltip editable 2018-01-18 17:49:19 -08:00
Alex P eff562b501 Refactor InputClickToEdit into AnnotationInput
It has diverged enough to not be the same
2018-01-18 17:49:01 -08:00
Alex P 648f9b43a1 Fix comment error 2018-01-18 15:19:44 -08:00
Alex P a3ba069e4b Introduce InputClickToEdit Component 2018-01-18 15:19:36 -08:00
Alex P c3f9b3c310 Introduce AnnotationTooltip component 2018-01-18 14:18:33 -08:00
Alex P d67cde2cc9 Make annotation tooltips persist on hover 2018-01-18 13:49:17 -08:00
Andrew Watkins 4c11e5327c Merge branch 'feature/annotationz' of github.com:influxdata/chronograf into feature/annotationz 2018-01-18 13:19:22 -08:00
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