Commit Graph

2334 Commits (3a37bfc40976afee8b42f6ac51dd39ed4e877a09)

Author SHA1 Message Date
Alex P f6441c4357 Use auto height to handle overflow 2017-05-24 19:23:21 -07:00
Alex P 667144e764 Use autoHeight prop to simplify dropdowns and multi select dropdowns 2017-05-24 19:20:09 -07:00
Alex P ff208eaa73 Prevent new admin table rows from receiving hover state 2017-05-24 19:04:35 -07:00
Alex P 524dbb2b6d Revert to previous queries table design 2017-05-24 18:56:47 -07:00
Jared Scheib 181cae0efe Add test for add/remove every on kapa rule 2017-05-24 17:43:55 -07:00
Jared Scheib 26a69488a5 Fix add/remove Every by targeting redux state by rule id
Rename action creators to use imperative for synchronous
and declarative for asychronous actions
2017-05-24 17:23:48 -07:00
Chris Goller 07de9fb164 Add or remove Every and GroupBy to/from kapa alerts to persist correctly to server 2017-05-24 15:33:19 -07:00
Alex P 0d770197e9 Make queries look different than text inputs 2017-05-24 15:27:22 -07:00
Alex P 95377219c7 Admin Page polish
Primarily reducing table jitter, but also using theme styles instead of
custom styles
2017-05-24 15:24:04 -07:00
Alex P d4bc2939c9 Use constants to control admin table sizing
Putting it all in one place
2017-05-24 14:38:43 -07:00
Alex P 840a8d29ed Use latest version of theme 2017-05-24 13:04:44 -07:00
Alex P 8de5357293 Use correct thing 2017-05-24 11:37:42 -07:00
Alex P 488d4494ad Make empty sate of roles/permissions more empty looking 2017-05-24 11:36:41 -07:00
Alex P c18fdfcf67 Polish admin user table
- Less column size jitter
- Feels more structured
- Password is its own column
2017-05-24 11:20:56 -07:00
Alex P ce7746b905 Remove unused styles 2017-05-24 10:06:50 -07:00
Alex P db1a2800f6 Remove redundant stylesheet 2017-05-24 09:20:01 -07:00
Alex P 885edd6f0f Make multi-select dropdowns more customizable 2017-05-24 09:18:30 -07:00
Alex P d9d6ec0813 Use newest version of theme
includes primarily new styles for multi-select dropdowns
2017-05-23 20:03:02 -07:00
Alex P 353d4318d5 Make padding more consistent 2017-05-23 18:04:07 -07:00
Alex P c2ee6a99c8 Prevent text cursor on non-selectable elements 2017-05-23 18:03:53 -07:00
Alex P edfadc3bc5 Polish form elements 2017-05-23 18:03:35 -07:00
Alex P 340c7344a6 Increase specificity of rule 2017-05-23 15:09:58 -07:00
Alex P d035087ffe Fix merge conflicts 2017-05-23 14:51:16 -07:00
Alex P b3325f9f97 Remove files
Already deleted these, got weird merge conflict
2017-05-23 14:43:38 -07:00
Alex P b45aa7338a Merge branch 'master' into theme-refactor 2017-05-23 14:42:56 -07:00
Alex P dbdf5f7739 Remove excess space 2017-05-23 14:22:42 -07:00
Alex P 0c57b74308 Polish Admin UI
- Mostly using new form styles instead of the previous one-off styles
2017-05-23 14:18:08 -07:00
Alex P e3887658fe Use new table styles 2017-05-23 12:13:23 -07:00
Alex P 89eee35126 Add empty state 2017-05-23 12:13:11 -07:00
Alex P ea0766a21a Prevent dropdowns from having undefined classnames 2017-05-23 12:12:47 -07:00
Alex P ca57416a57 Prevent multiple dropdown menus from rendering 2017-05-23 12:10:50 -07:00
Alex P 6e77bba6bd Rename template control bar variable names for consistency 2017-05-23 11:43:42 -07:00
Alex P 4d4b8274fe Hide tempvar control bar when in presentation mode 2017-05-23 11:32:09 -07:00
Alex P c50b300395 Write test for tempvar controls toggle 2017-05-23 11:26:46 -07:00
Alex P f706c58215 Remove unused styles, clarify intent of stylesheet 2017-05-23 10:30:16 -07:00
Alex P e119fd3e11 Slim down bootstrap theme
Removing unused modules:
- Cloud Slider
- Jumbotron
- Heros
- Listgroups
- Tooltips
- Popovers
2017-05-23 10:28:44 -07:00
Alex P ed088519df Reorganize flash messages into layout 2017-05-23 10:22:29 -07:00
Alex P 9073354c59 Refactor redundant variable 2017-05-23 10:20:38 -07:00
Alex P 229629e0b8 Clean up variables
Removing unused variables, simplifying existing variables
2017-05-23 10:19:39 -07:00
Alex P 7abe9a5089 Remove unused styles 2017-05-23 10:17:24 -07:00
Alex P 871b055793 Remove unused alert styles
These are managed from the theme now
2017-05-23 10:11:09 -07:00
Alex P 50165ff929 Remove unused style 2017-05-23 10:10:45 -07:00
Alex P 945f287d06 Fix tempvar dropdowns, use new style 2017-05-23 03:31:13 -07:00
Alex P 5f8691f4cd Merge branch 'master' into theme-refactor 2017-05-23 02:46:34 -07:00
Alex P 8dcc79a141 Use new table and button styles 2017-05-23 02:38:24 -07:00
Alex P 30e9d9c9ab Misc additions to unsorted, will find home later 2017-05-23 02:36:06 -07:00
Alex P ec9caa85a8 Simplify confirm delete interaction 2017-05-23 02:35:04 -07:00
Alex P 6f1c665cd3 Fix dash cell context menus 2017-05-23 02:19:16 -07:00
Alex P 43871dca9d Fix minor cell drag issue 2017-05-23 02:14:59 -07:00
Alex P ada0d3a431 Make button styles more specific 2017-05-23 02:13:49 -07:00
Alex P ae27f3aec1 Use tab list style for visualization type selector 2017-05-23 02:13:31 -07:00
Alex P a64e7008a9 Replace old style buttons with new style 2017-05-23 02:12:50 -07:00
Alex P 4f732b89c9 Polish editable page header interactions 2017-05-23 01:57:37 -07:00
Alex P 21c5a18644 Refactor kapacitor rule builder styles & markup 2017-05-23 01:38:39 -07:00
Alex P 02c70a930f Phase out redundant stylesheet 2017-05-23 01:07:00 -07:00
Alex P 80b5da2573 Update theme to latest version 2017-05-23 01:04:47 -07:00
Alex P 4c593b141f Add colon for consistency 2017-05-22 23:10:47 -07:00
Alex P 17febc1210 Use latest styles for page headers 2017-05-22 23:06:04 -07:00
Alex P ae2f7034a3 Use newest styles / patterns for dropdowns 2017-05-22 23:05:33 -07:00
Alex P b96060de48 Remove dropdown stylesheet
Redundant
2017-05-22 22:41:19 -07:00
Alex P 00d3f446fc Refactor group by time dropdown 2017-05-22 19:30:12 -07:00
Alex P 566c9974d2 Use "tablist" nav styles from theme, remove excess styles 2017-05-22 19:17:28 -07:00
Alex P b6c010f9b9 Refactor bool for temp var controls toggle into redux app state
Thanks @jaredscheib for help
2017-05-22 19:09:47 -07:00
Alex P fa997b27bd Improve clarity of variable name 2017-05-22 17:41:17 -07:00
Alex P 8156f66ac7 Remove inherited page-header styles 2017-05-22 15:40:44 -07:00
Alex Paxton 83dca62d6c Merge branch 'master' into toggle-tempvars-controls 2017-05-22 15:36:57 -07:00
Alex Paxton ad12d791ec Merge pull request #1524 from influxdata/kapacitor-ui-ux-improvements
Kapacitor UI/UX improvements
2017-05-22 15:34:07 -07:00
Jared Scheib 6b95a8c71e Add punctuation to Kapacitor alert notification. 2017-05-22 14:54:32 -07:00
Regan Kuchan 2218849e12 Merge branch '1.3.1.x' 2017-05-22 12:24:23 -07:00
Regan Kuchan 780274876c Update npm version to 1.3.1-0 2017-05-22 12:23:09 -07:00
Regan Kuchan 501e7e7360 Merge branch '1.3.1.x' 2017-05-22 12:13:03 -07:00
Regan Kuchan 7331971e23 Update version number and bumpversion 2017-05-22 11:57:23 -07:00
Alex P d86a06109b Make update button even more clear 2017-05-22 11:07:43 -07:00
Alex P e6a15a1f50 Fix reversed copy 2017-05-22 11:00:53 -07:00
Alex P b06d79f6b9 Improve UI microcopy 2017-05-22 10:58:53 -07:00
Alex P 1d8279dd63 Improve clarity of kapacitor node success message
Goal is to let users know that they are ready to go unless they want to
do more configuration
2017-05-22 10:48:44 -07:00
Alex P 4b18f92f5d Increase minwidth of tempvar dropdowns such that "filter items..." is not truncated 2017-05-22 10:45:39 -07:00
Alex P 9620a86c7e Remove css transition 2017-05-22 10:45:10 -07:00
Alex P 590a33bce8 Merge branch 'master' into toggle-tempvars-controls 2017-05-22 10:41:27 -07:00
Jared Scheib c362c44f37 Fix legend screen fall off from ever happening 2017-05-19 17:48:44 -07:00
Jared Scheib bf199babc6 Merge pull request #1508 from influxdata/feature/dashboard-rename-improvements
Enable expected Enter/Escape keys on Dashboard rename
2017-05-19 17:28:02 -07:00
Jared Scheib 3eb8482413 Rename var for clarity 2017-05-19 17:24:45 -07:00
Jared Scheib fec85ba86a Hide empty legend box by hiding legend on graph redraw 2017-05-19 17:10:39 -07:00
Jared Scheib cd83b7217a Clean up linter errors 2017-05-19 17:05:52 -07:00
Jared Scheib 78cb488fa9 Fix showing only the legend that you're hovering over 2017-05-19 17:04:21 -07:00
Jared Scheib a00ba3c389 Add accidentally deleted method from props 2017-05-19 16:52:34 -07:00
Hunter Trujillo 3ff1a5f752 Remove explicit setState. 2017-05-19 16:34:41 -06:00
Hunter Trujillo e103da8856 Add autoComplete disable attribute to input. 2017-05-19 16:19:01 -06:00
Hunter Trujillo fc5b68fe6d Handlers for Dashboard Header Edit events: form submit, and escape keyup for canceling edit. 2017-05-19 11:00:00 -06:00
Brian Baker 693eabea65 change array-join to multi-line template 2017-05-18 23:03:22 -06:00
Brian Baker 15507f2aec Merge branch 'master' of github.com:brianbaker/chronograf into hotfix/windows-uptime 2017-05-18 21:51:47 -06:00
Jared Scheib 52a22dd009 Show '(no values)' instead of 'Loading...' in TV selectors with no values 2017-05-18 15:17:30 -07:00
Jared Scheib ad79f835ae Clarify function name 2017-05-18 15:16:53 -07:00
Jared Scheib 0e70e1263c Fix sanitization of CSV and other data 2017-05-18 14:52:09 -07:00
Alex Paxton d57b51f113 Merge pull request #1500 from influxdata/dropdown-autocomplete
Dropdown Autocomplete
2017-05-18 12:52:47 -07:00
Alex Paxton 821f329c0b Merge branch 'master' into dropdown-autocomplete 2017-05-18 12:46:59 -07:00
Alex Paxton d6fe873b71 Merge branch 'master' into fix-1428 2017-05-18 12:42:44 -07:00
Alex P 10ef7bc0ec Cleanup minor js issues 2017-05-18 12:40:40 -07:00
Alex P 3b448dde5a Combine setStates together 2017-05-18 12:01:41 -07:00
Alex P ccf23e4f48 Fix regex special character filter match bug and revert Query Editor autocomplete filter 2017-05-18 12:01:27 -07:00
Alex P 32e481d7d4 Actually use the directive 2017-05-18 10:54:13 -07:00
Alex P 30af0163f6 Visually distinguish between previously selected value and highlighted value 2017-05-18 10:45:44 -07:00
Alex P 987827cc28 Change prop name to "useAutoComplete" 2017-05-18 10:43:05 -07:00
Alex P 264bf713e1 Use Sass directive to cut down on repetitive styles 2017-05-18 10:11:38 -07:00
Jared Scheib 61820310e5 Add commented workaround for persisting legend on dygraph.updateOptions 2017-05-17 16:54:36 -07:00
Jared Scheib 7a0b17f8af Notify user via UI if their local storage is cleared (#1499)
* Notify user via UI if their local storage is cleared

* Upbate changebog
2017-05-17 16:21:20 -07:00
Alex P 4d29cf009f Remove comments 2017-05-17 16:18:10 -07:00
Alex P 1f76441140 Use autocomplete in tempvar dropdowns 2017-05-17 16:11:18 -07:00
Alex P 2f0ff9450a Add optional autocomplete to dropdown component 2017-05-17 16:10:57 -07:00
Alex P 2ee11e09a6 WIP add optional autocomplete to dropdown component 2017-05-17 15:01:00 -07:00
Jared Scheib b08edfae9e Fix bug on selecting single-stat Visualization Type when no queries (#1484)
* Fix single-stat bug when no queries yet

* Bupdate changebog
2017-05-17 10:58:07 -07:00
Hunter Trujillo 86bd10e6ab Merge branch 'master' into feature/version-clears-localstorage 2017-05-17 11:54:53 -06:00
Jared Scheib 6d59ccd09e Correct for setState + dygraphs + synchronize wire-crossing by setting Legend display directly on DOM element 2017-05-16 19:58:28 -07:00
Alex P 5a2e895e5b Import new theme 2017-05-16 16:48:43 -07:00
Hunter Trujillo db10eb9600 wip: dygraphs is mostly fine
data being displayed in tooltips incorrectly
synchronize code might be wrong somehow
for some reason :'(
2017-05-15 20:00:46 -06:00
Hunter Trujillo 9c3ed5e36d Fix legend overflow. Improve legend mouseover appearance behavior. 2017-05-15 18:07:20 -06:00
Jared Scheib 1e09d5b409 Filter out any template variable values that are empty, whitespace, or duplicates (#1485)
* Filter out any empty, whitespace, or duplicate template variable values

* Update changelog
2017-05-15 15:17:51 -07:00
Chris Goller b129a13e1c Fix queryEditor error handling to not allow objects.
The local storage was getting corrupted with an object instead of a
string if the queryEditor had a problem.  As a result, the application
would stop working altogether.
2017-05-15 17:11:20 -05:00
Jared Scheib 7766e75b05 Change behavior of Template Variables autocomplete filtering in Query Editor to match from front of string only (#1474)
* Filter template variables by exact match from front of string

* Changedate uplog

* Use a more semantic method for filtering

* Clarify changebog
2017-05-15 10:50:48 -07:00
Max Chadwick 34ad6f54d5 Add ability to log alerts 2017-05-12 22:04:38 -04:00
Andrew Watkins 04b3ed215a Rename foo to sync 2017-05-12 17:13:52 -07:00
Andrew Watkins 01b0052990 First pass at graph syncronization 2017-05-12 17:11:39 -07:00
Andrew Watkins 8d4e02cc0d Import required dygraph plugins 2017-05-12 17:09:29 -07:00
Alex Paxton ebc64fccf1 Merge branch 'master' into toggle-tempvars-controls 2017-05-12 17:00:28 -07:00
Andrew Watkins 15cb878643 Handle rotated y label 2017-05-12 16:34:00 -07:00
Andrew Watkins bf131c43db Upgrade to Dygraph 2.0 2017-05-12 16:33:23 -07:00
Alex P 0c8af89bbd Create empty state for TempVars Control Bar
Changed the button text back to “Manage” because the label “Template
Variables” felt very redundant now that the page header has a tempvars
button
2017-05-12 14:54:04 -07:00
Alex P 0893f4346a Create "toggled" state for template variables toggle 2017-05-12 14:52:53 -07:00
Alex P c0613acda9 Use non conflicting css class 2017-05-12 14:37:21 -07:00
Alex P ed131cb754 Add button in dashboard header to toggle visibility of template control bar 2017-05-12 14:35:19 -07:00
Alex P 2f705a492f Only show meta queries dropdown if in DE 2017-05-12 10:52:03 -07:00
Alex P f9c73b7e4c Make ternary more simple 2017-05-12 10:41:33 -07:00
Alex P 24ce50be39 Fix #1423
Pretty straight up, yo
2017-05-11 17:15:57 -07:00
Alex P 87feac7225 Remove "instructions" row in CSV type tempvars
Removed the “instructions” box that previously appeared when choosing
CSV type tempvars. It is safe to assume that users know the format, and
the real estate gain makes this change very worth it
2017-05-11 16:49:06 -07:00
Hunter Trujillo 267be5d77d New version clears local storage. 2017-05-11 12:16:43 -07:00
Alex P 69a5abee94 Style placeholder text in kap rule data section 2017-05-11 11:50:34 -07:00
Alex P 87123afa77 Add checkmark to connected source indicator 2017-05-11 11:50:13 -07:00
Alex P a37666d14f Fix merge conflicts 2017-05-11 10:57:12 -07:00
Alex P ed2b9b9c90 Merge branch 'master' into misc-polish
# Conflicts:
#	ui/src/data_explorer/components/MeasurementList.js
#	ui/src/sources/containers/SourcePage.js
2017-05-11 10:46:53 -07:00
Alex P ec605e8c6f Remove duplicate loading state 2017-05-10 19:16:57 -07:00
Alex P 07460fcef1 Use actual alerts prop 2017-05-10 19:05:17 -07:00
Alex P 2cc3a62418 Use more explicit classnames 2017-05-10 19:05:01 -07:00
Alex P 01fb5da4df Fix #1426 2017-05-10 18:26:17 -07:00
Alex P 5a7b7fa98b Change UI copy to be more consistent with adjacent UI copy 2017-05-10 18:19:57 -07:00
Alex P 9c9cec95a7 Move renderHandle directly into class render function 2017-05-10 17:43:09 -07:00
Alex P e90acb1381 Rename constants to be more explicit 2017-05-10 17:36:30 -07:00
Alex P 28d5224b6f Make prettier 2017-05-10 17:30:24 -07:00
Alex Paxton ad601f34af Merge branch 'master' into improve-resizer 2017-05-10 17:27:58 -07:00
Alex P 7d006bca2a Make it more clear which source you are connected to 2017-05-10 17:08:45 -07:00
Alex P b4966df2bd Fix Page Spinner
Not sure what I was thinking when I broke this
2017-05-10 16:46:21 -07:00
Alex P 1fdcadc9b5 Add empty state with helpful link 2017-05-10 16:39:06 -07:00
Alex P 9626e2d91a Only show alerts filter if there are alerts to filter 2017-05-10 16:38:10 -07:00
Alex P d0f8e37139 Use page spinner instead of text 2017-05-10 16:37:49 -07:00
Alex P e2fb1ac0d6 Fix the things 2017-05-10 13:53:03 -07:00
Alex P f3ccbca9ed Use Page Spinner instead of text 2017-05-10 13:50:35 -07:00
Alex P a9c86f9b7e Use generic empty state in Kap Config 2017-05-10 12:14:17 -07:00
Alex P 0d7c48835c Make table row hover different color than dropdown buttons
Is slightly lighter now so the two don’t blend together
2017-05-10 12:13:49 -07:00
Alex P 2962922d10 Remove style causing the janky 2017-05-10 11:55:59 -07:00
Alex P 6a5fc4d05a Create and use constants for initial heights of QueryMaker and Visualization
Fix for #1427
2017-05-10 11:32:32 -07:00
Alex P b88e54e4df Add initial height props
Default is now 50/50 instead of 60/40, but can be specified on a per
use basis
2017-05-10 11:27:57 -07:00
Alex P 8018e99b47 Use newest pattern 2017-05-10 11:20:28 -07:00
Alex P 05c571efc4 Import without using src/ 2017-05-10 11:02:56 -07:00
Alex P 70f6e01657 Rename Component to match filename
“FancyScrollbox” —> “FancyScrollbar”
Also went through all the components I touched and made sure to import
the FancyScrollbar in the correct spot

PPS changed relative paths to absolute along the way
2017-05-10 10:58:17 -07:00
Alex P 8123cda148 Make sure this works in Safari 2017-05-09 19:53:18 -07:00
Alex P 1177cf5674 Use proper mixins 2017-05-09 19:42:09 -07:00
Alex P dcd4ca1bf9 Merge branch 'master' into fancy-scrollbars 2017-05-09 18:37:08 -07:00
Alex P 70ea2d705f Enforce dropdown styles on page-header-dropdown 2017-05-09 18:31:56 -07:00
Alex P df6935d849 Remove odd border
Looked okay on editable dashboards, but kinda cramped on pre-canned
dashboards
2017-05-09 18:28:01 -07:00
Alex P 572fe17a8f Update dropdowns, use FancyScroll when possible 2017-05-09 18:25:43 -07:00
Alex P c7809f82f9 Make dropdowns fancy 2017-05-09 18:17:35 -07:00
Alex P 1eed46b462 Clean up dropdown styles 2017-05-09 17:34:03 -07:00
Alex P efaade347b Remove browser scrollbars on query builder lists
This way no conflict with fancy scroll
2017-05-09 17:33:27 -07:00
Alex P b4522c0496 Use proper cursor when hovering over a scrollbar track 2017-05-09 17:26:30 -07:00
Chris Goller 33b3ccc298 Update version to 1.3 for javascript and swagger 2017-05-09 08:24:04 -07:00
Alex P b673822dc7 Add fancy scrollbars to the DE 2017-05-08 20:53:59 -07:00
Jade McGough 860dcc52d9 remove test button from slack config 2017-05-08 18:32:47 -07:00
lukevmorris 281e743d95 Add SourceIndicator to Configuration and Admin pages (#1439)
* Add SourceIndicator to ManageSources + SourcePage

* Update CHANGELOG

* Add Source Indicator to Admin Page
2017-05-08 18:22:53 -07:00
Alex P b3e712daae Add autoHide prop to pass down 2017-05-08 18:00:11 -07:00
Andrew Watkins d5b644274a Fix #1431 -- no legend on graph-single-stat 2017-05-08 17:47:32 -07:00
Andrew Watkins 37c51a7697 Fixes bugs #1424,#1425 2017-05-08 17:47:32 -07:00
Hunter Trujillo 1febb80aff Merge pull request #1433 from influxdata/bugfix/router-fix
Fall back to useRouterHistory method.
2017-05-08 17:42:12 -07:00
Alex P 4e1e54de96 Fix presentation mode 2017-05-08 17:41:50 -07:00
Luke Morris 59a5ba1f51 Remove redundant if/else 2017-05-08 17:33:07 -07:00
Jade McGough c1e040887c add comment 2017-05-08 16:39:14 -07:00
Jade McGough bd21b6c8da Yehuda says to use keyCode for cross-browser support 2017-05-08 16:29:54 -07:00
Jade McGough 0e7f6f0f6c avoid using deprecated keydown attribute 2017-05-08 16:10:05 -07:00
Alex P b6886a8bd8 Make scrollbars green themed on Kapacitor pages 2017-05-08 16:01:52 -07:00
Hunter Trujillo b2738b51e2 Fall back to useRouterHistory method. 2017-05-08 16:01:06 -07:00
Alex P 8983cbfe48 Use FancyScrollbox instead of page-contents 2017-05-08 15:55:57 -07:00
Alex P 76aeda2cca Remove defaultProps 2017-05-08 15:55:32 -07:00
Alex P 8304c178e1 Clean up layout styles
Moving misc styles to unsorted, removing dupes
2017-05-08 15:54:58 -07:00
Jade McGough 9ac62d50b2 support escaping from presentation mode with safari 2017-05-08 15:31:13 -07:00
Alex P 982ab41be6 Use yellow for warning dot in tables 2017-05-08 15:04:48 -07:00
Alex P 6e3a2f7a3a Add react-custom-scrollbars package and default styles 2017-05-08 15:04:21 -07:00
Tim Raymond bdf111357d Fix missing renaming of logout => logoutLink
During development, this was previously named `logout`. This cleans up a
remaining instance of `logout`, renaming it to the preferred
`logoutLink` to remain consistent with the rest of the codebase.
2017-05-08 14:40:50 -07:00
Tim Raymond & Jared Scheib dcbe44d9ce Fix OAuth when using Basepath
Updated the logout link in the UI to use a link provided by the
/chronograf/v1/ endpoint. We also replaced many instances of string
concatenation of URL paths with path.Join, which better handles cases
where prefixed and suffixed "/" characters may be present in provided
basepaths. We also refactored how Basepath was being prefixed when using
Auth. Documentation was also updated to warn users that basepaths should
be applied to the OAuth callback link when configuring OAuth with their
provider.
2017-05-08 14:40:50 -07:00
Jared Scheib 172f976ca6 Fix links assignment on some AJAX requests 2017-05-08 14:40:50 -07:00
Jared Scheib 4b4f1bd572 Add / to routes and use simpler basename api 2017-05-08 14:40:50 -07:00
Jared Scheib 05437cfcdc Remove unnecessary basepath logic 2017-05-08 14:40:50 -07:00
Jade McGough 1025f4fe70 fix dumb copypasta 2017-05-08 12:20:57 -07:00
Jade McGough 9e2cce9593 make checkKapacitorConnection async 2017-05-08 12:17:49 -07:00
Jade McGough 610c6697e6 redirect to kapacitor edit route after creating new kapacitor 2017-05-08 12:05:09 -07:00
Jade McGough 74760ab2b4 pull kapacitor connection checks out of callbacks 2017-05-08 11:32:35 -07:00
Jade McGough b048cefa80 remove line from another PR 2017-05-08 11:08:38 -07:00
Jade McGough 1dd0e33a0d validate kapacitor connection after updating config 2017-05-08 11:03:54 -07:00
lukevmorris ebad771801 Submit tvars when asking for a queryConfig (#1408) 2017-05-05 23:05:14 -07:00
lukevmorris ba108269b5 Feature/varmoji dash (#1397)
* Support dashes in tempVars with two regex passes

* Rename CustomTimeRange component to CustomTimeRangeDropdown for discovery and consistency

* Update tests for template varmojis

* Give names to each step of regex multipass
2017-05-05 15:04:13 -07:00
Chris Goller 2851d607cc Merge branch 'master' into feature/reverse-kapa 2017-05-05 14:41:06 -05:00
Andrew Watkins 315ca27b67 Fix link 2017-05-05 12:24:12 -07:00
Andrew Watkins acd5425ddb Handle deadman trigger validation 2017-05-05 12:16:01 -07:00
Jade McGough 861b8052b0 Merge pull request #1401 from influxdata/delete-kapacitor
add ability to delete kapacitor config
2017-05-05 11:42:16 -07:00
Jade McGough 1cdffa0097 use link from kapacitor object 2017-05-05 11:25:52 -07:00
Alex P 7669c69000 Follow correct pattern with naming 2017-05-05 11:25:02 -07:00
Andrew Watkins ff65bea7a7 Display all alert-rules regardless of origin
Alert rules can be generated by Chronograf or manually
by the user outide of the Chronograf UI.
2017-05-05 11:23:41 -07:00
Alex P f99a562606 Undo previous name change
was not the right instance, going to leave this how it was
2017-05-05 11:13:50 -07:00
Alex P 275718ebb1 Make carets and name clickable instead of just name 2017-05-05 11:12:55 -07:00
Alex P e4e644ed43 Use proper naming for functions 2017-05-05 11:04:53 -07:00
Alex P 877a8310b5 Use css class in favor of inline styles 2017-05-05 10:34:53 -07:00
Alex P 2f714106e7 Do battle with magic numbers
Their magic is dark and potent, but we will prevail
2017-05-05 10:30:08 -07:00
Alex P 5aa3fe36f0 Add todo comment 2017-05-05 10:26:25 -07:00
Alex P c0a3e6d722 Use constants in favor of magic numbers
But damn they were so magical
2017-05-05 10:08:27 -07:00
Andrew Watkins 92bd5d10b4 Resolve conflicts
Conflicts:
	ui/src/utils/influxql.js
2017-05-05 10:01:26 -07:00
Alex P 0acf2b6c45 Use modern js stuffs 2017-05-05 09:53:46 -07:00
Alex P 2650817617 Clean up CSS 2017-05-05 09:09:31 -07:00
Jade McGough 7a508fb27b add ability to delete kapacitor config 2017-05-04 23:40:53 -07:00
Alex P e333af913c Merge branch 'master' into condense-de-lists 2017-05-04 17:38:59 -07:00
Alex P 5802f3a85a User proper means of calculating number of children 2017-05-04 17:34:45 -07:00
lukevmorris b4e97fa21f :dashboardTime: (#1391)
* Add Range.Lower and Range.Upper to query config to persist custom ranges

* Update CHANGELOG to mention adding query build duration support

* Remove automatic application of global timeRange

If a user supplies a timeRange.  Add that to the queryConfig and use
that to generate the SELECT statement.  If a user omits a time range,
do not automatically include one...yet

* Update swagger.json to mention queryConfig's range

* Add test to influxql AST parsing of durations with no WHERE clause

* Implement first iteration of templated dashboard time range

* Range is nested within query.queryConfig

* DE will not use :dashboardTime:

* Clarify intention with a comment

* If there are no templates present, don't open the drawer

* Make TemplateControlBar its own component

* Rename dashTime to dashboardTime

* Cleanup TemplateControlBar

* Update CHANGELOG

* Update TemplateControlBar min height

* Polish template control bar

Inspired by @lukevmorris’ screenshot with the manage button on the right

* Reconstitute presentation mode styles
2017-05-04 16:57:50 -07:00
Jared Scheib ac2b4d404d Make handleClickOutside on TemplateVariableRow work the same as handleCancelEdit (#1400)
* Give handleClickOutside the same behavior as handleCancelEdit

* Update changelog
2017-05-04 16:57:24 -07:00
Alex P ad3ca3b19e Handle case of too many children
Shouldn’t be more than 2. Added a const atop the file for this, so no
magic numbers
2017-05-04 16:44:42 -07:00
Jared Scheib e4d5e912db Merge branch 'master' into bugfix/1345-alert-level-colors 2017-05-04 16:42:50 -07:00
Alex P 17aeb34746 Fix build error
pesky trailing spaces! *shakes fist*
2017-05-04 16:30:25 -07:00
Alex P 8fc37488b9 Add explanatory comment for Layout prop 2017-05-04 16:23:09 -07:00
Alex P faa478cad3 Change cx and classNames to both be classnames
this is the new pattern, apparently
2017-05-04 16:08:38 -07:00
Alex P 76766bd93b Make "Functions" toggle have a toggled state 2017-05-04 15:55:01 -07:00
Alex Paxton b3bb2d3314 Merge branch 'master' into overlay-all-the-way 2017-05-04 14:20:05 -07:00
Jared Scheib ce12d1dce7 Change default global time range to past 1 hour (#1395)
* Change default global timeRange to 1 hour

* Update changelog
2017-05-04 13:00:30 -07:00
Alex P 096cf1592b Forgot this piece 2017-05-04 12:32:32 -07:00
Alex P 7fee10fed9 Make overlay technology full screen
No reason why this can’t or shouldn’t be done, it is a modal after all
2017-05-03 15:43:38 -07:00
Alex P 19897ae4f9 Fix build error
My baddddd guys
2017-05-03 14:55:18 -07:00
Alex P 85cd461dcc Resolve issue created by previous changes
Rule builder looks good now, was wonky with that extra column
2017-05-03 14:45:08 -07:00
Alex Paxton 8d8bd9b6a4 Merge branch 'master' into condense-de-lists 2017-05-03 14:38:12 -07:00
Alex Paxton f6b0cc903a Merge pull request #1386 from influxdata/ui-terminology
Terminology Terminus
2017-05-03 14:14:24 -07:00
Andrew Watkins 9074b6f58c Add tab functionality in template-varmojis 2017-05-03 13:47:07 -07:00
Alex P d98f834b89 Add Nate's changes in
Two heads clearly better than one here
2017-05-03 12:11:12 -07:00
Alex P b138cfa92f Adjust UI copy 2017-05-03 11:18:10 -07:00
Alex P 232cf73707 Merge branch 'master' into condense-de-lists 2017-05-03 10:09:12 -07:00
Alex P 1e167a4fa7 Remove placeholder number 2017-05-03 10:09:01 -07:00
Alex P 802d619cef Unify fetching states of graphs 2017-05-02 23:21:16 -07:00
Alex P a68634c713 Make visualization empty states consistent
For some reason the font styles were different, now they are not
2017-05-02 22:53:36 -07:00