Commit Graph

4801 Commits (980df66b16c1d09aaefed0dff89007fcd461b25b)

Author SHA1 Message Date
deniz kusefoglu bed393e639 Fix linting errors from merging on github 2018-02-15 23:53:33 -05:00
Luke Morris af473c27f1 Don't need uuid 2018-02-15 19:23:34 -08:00
Luke Morris 65a1369294 repair tests 2018-02-15 12:47:28 -08:00
Luke Morris 41244f4edc Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-15 12:03:10 -08:00
Deniz Kusefoglu 891abfffd6 Merge branch 'feature/annotationz-pre-pl-with-master' into feature/persistent-legend-with-master 2018-02-15 13:06:14 -05:00
Chris Goller f7144112a9 Update meta nodes to respect insecure skip verify 2018-02-14 13:25:08 -08:00
Luke Morris 9d349ef89b Bump to 1.4.1.2 2018-02-13 13:34:50 -08:00
deniz kusefoglu bbdde76463 Use predefied default template vars 2018-02-13 16:13:36 -05:00
deniz kusefoglu 127c9c9201 Send default tempVars value with :interval: from data explorer csv download 2018-02-13 15:49:59 -05:00
Iris Scholten 374878f626 display series with 0 value in the legend 2018-02-13 12:30:54 -08:00
Luke Morris 932d4f3084 Initial links fetch requires basepath 2018-02-13 11:17:21 -08:00
Luke Morris 035988e990 Bump version to 1.4.1.1 2018-02-12 18:03:16 -08:00
Luke Morris 348c415106 Organizations only apply when auth is enabled 2018-02-12 17:51:34 -08:00
Luke Morris 3fa5e09c10 Bump version 2018-02-12 16:42:58 -08:00
Alex Paxton acedd18798 Merge pull request #2788 from influxdata/single-stat-polish
Single Stat Polish
2018-02-12 15:48:32 -08:00
Alex P 10caa1efc6 Treat color values in CEO as numbers until save the coerce into string 2018-02-12 15:30:41 -08:00
ischolten 1014946dc5 Merge pull request #2699 from influxdata/feature/mappings
Add Mappings to organizations
2018-02-12 15:29:01 -08:00
Iris Scholten cc8d0c7354 remove OrganizationTableRowDefault bc its not used and update the verbiage for the empty providers table 2018-02-12 15:19:57 -08:00
Iris Scholten fc00b95141 prevents create for incomplete records 2018-02-12 15:07:01 -08:00
lukevmorris d821b62d74 Merge pull request #2796 from influxdata/fix/maintain-auth-across-refresh
Wait until after authentication to match routes
2018-02-12 15:01:08 -08:00
Iris Scholten 06e41d628a add placeholders for InputClickToEdit for the new provider table row 2018-02-12 14:52:32 -08:00
Alex P 3604c76cf5 Fix spelling mistake
Hella T’s no good
2018-02-12 14:18:47 -08:00
Alex P 962e705aca Remove commented out code 2018-02-12 14:17:36 -08:00
Alex P 28cd164f16 Rename SingleStatColoration to SingleStatType 2018-02-12 14:17:18 -08:00
Iris Scholten 5222614dd6 disable eslint for ready check 2018-02-12 12:17:20 -08:00
Iris Scholten b71788df9f Wait until after authentication to match route 2018-02-12 12:03:07 -08:00
Luke Morris 758fe96f3c Remove dummy schemes 2018-02-09 16:02:12 -08:00
Luke Morris c5d89c353d Remove Public; Improve Tab Names 2018-02-09 16:00:27 -08:00
Luke Morris 638036c1de redirect members immediately to purgatory 2018-02-09 15:41:09 -08:00
Iris Scholten ee90260d92 resolve forgotten merge conflict 2018-02-09 11:52:35 -08:00
Luke Morris 5f0ef591ea Merge branch 'master' into feature/mappings 2018-02-09 11:42:07 -08:00
deniz kusefoglu 8c1739c430 Fix linter error 2018-02-09 09:39:30 -08:00
Luke Morris c17e124b27 Replace Public functionality with Mappings feature 2018-02-08 17:53:34 -08:00
Alex Paxton 77146e42cc Merge branch 'master' into expandable-kapacitor-logs 2018-02-08 16:54:36 -08:00
Alex P 1ca5d61f57 Remove unused indices 2018-02-08 16:53:36 -08:00
Alex P f2cc269a33 Merge branch 'master' into feature/annotationz-pre-pl-with-master 2018-02-08 16:38:47 -08:00
Alex P 325e481468 Merge master 2018-02-08 16:36:38 -08:00
Alex P e7f96db664 Use more reliable means of rendering key/value pairs 2018-02-08 16:21:22 -08:00
Iris Scholten 5f44034584 WIP remove public logic from organizations 2018-02-08 16:01:00 -08:00
Alex Paxton 73f579b6bd Merge branch 'master' into single-stat-polish 2018-02-08 15:41:26 -08:00
Alex P da5ed7083e Fix all kinds of weird bugs
I don’t even know how to describe what is going on, brain is melted
2018-02-08 15:40:20 -08:00
ischolten 260866d3c2 Merge pull request #2782 from influxdata/feature/global-users
Global Users page bug fixes
2018-02-08 15:04:57 -08:00
Iris Scholten ffbe628d18 keep track of only the single role instead of an array of one role in AllUsersTableRowNew and update the add user reducer so that it appends the new user instead of prepends them 2018-02-08 14:55:56 -08:00
Alex P fbc2e7a52f Make unreachable code reachable 2018-02-08 14:28:08 -08:00
Alex P 0df8d341e5 Improve handling of single stat coloring
Previously would return some undesirable defaults when certain
conditions are met (eg. a user with a single stat + line graph upgrades
to this new version)
2018-02-08 14:04:33 -08:00
Alex P c5fd1a57ca Make singleStat shadow less drastic 2018-02-08 14:00:18 -08:00
Iris Scholten 98a4a04b21 add comments to explain the comparing to nullorg/nullrule when adding new users via the global users page 2018-02-08 12:46:02 -08:00
Deniz Kusefoglu 49dec4c83a Merge pull request #2780 from influxdata/bugfix/alert-rule-save-routing
Bugfix/alert rule save routing
2018-02-08 12:35:34 -08:00
deniz kusefoglu 326cbd2657 Simplify nested if else statements 2018-02-08 12:35:04 -08:00
deniz kusefoglu 95c24ef14b take onSave out of render and rename to handleSave 2018-02-08 12:27:04 -08:00
Alex P 5cedcecebd Save single stat colorization when single stat + line graph is chosen 2018-02-08 11:14:51 -08:00
Alex P 8d095d1bb3 Connect line graph prefix and suffix to child single stat 2018-02-08 11:12:19 -08:00
Alex P 1de16619be Fix logic in single stat coloration getter
Sometimes results in a situation where coloration state gets set to a
weird value, which seems to be a factor in the auto refresh bug
2018-02-08 11:02:34 -08:00
Iris Scholten 2f12f73074 change row key from id to uuid 2018-02-08 10:42:32 -08:00
Alex P 90b36ebc76 Remove console log 2018-02-07 19:19:04 -08:00
Alex P 1b63e36ab1 Reintroduce shadow behind text in single stat + line graph 2018-02-07 19:15:46 -08:00
Alex P f6b8d37c10 Fix all kinds of problems
Line + SingleStat works now
2018-02-07 18:50:37 -08:00
Alex P 5dc6cd4852 Use separate state for gauge and single-stat colors and introduce concept of base color in single-stat
Somewhat easier to reason through the code, although bulkier. The
feature should now mimic the previous appearance of single-stat graphs
by default (aka blue text)
2018-02-07 17:03:19 -08:00
deniz kusefoglu 70479c48b9 small fixes from PR review to pull request #2757 2018-02-07 15:24:32 -08:00
Deniz Kusefoglu 66f2a48540 Merge pull request #2757 from influxdata/bugfix/kapacitor-test-button-errors-SMTP
Bugfix/kapacitor test button errors smtp
2018-02-07 15:21:23 -08:00
Iris Scholten b0159aa5eb add users without a specified organization 2018-02-07 14:47:12 -08:00
Iris Scholten 5acdd74211 let users add users to any organization and add additional orgs after the fact 2018-02-07 12:32:44 -08:00
Alex P 007cb0df33 Fix appearance of single static legend item
Previously it suggested that it can be clicked, but actually does
nothing. There is no hover state for this case
2018-02-07 12:07:46 -08:00
deniz kusefoglu 1eb36c340d Route user to appropriate config panel at create and edit 2018-02-07 11:59:40 -08:00
deniz kusefoglu f03a698ccc Prevent click event being passed to handleCreate and handleEdit 2018-02-07 11:58:31 -08:00
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