Commit Graph

2142 Commits (6c23fd1aa6fbc1dc2c926cceff729a72137184fb)

Author SHA1 Message Date
Jared Scheib 049882fd6f Clarify function name 2017-05-18 15:16:53 -07:00
Jared Scheib 0b9c80c213 Fix sanitization of CSV and other data 2017-05-18 14:52:09 -07:00
Alex Paxton b381e77782 Merge pull request #1500 from influxdata/dropdown-autocomplete
Dropdown Autocomplete
2017-05-18 12:52:47 -07:00
Alex Paxton 39754aa28a Merge branch 'master' into dropdown-autocomplete 2017-05-18 12:46:59 -07:00
Alex Paxton 6ff37c5919 Merge branch 'master' into fix-1428 2017-05-18 12:42:44 -07:00
Alex P a6154f1be8 Cleanup minor js issues 2017-05-18 12:40:40 -07:00
Alex P d40ea8ed00 Combine setStates together 2017-05-18 12:01:41 -07:00
Alex P 6fe8fd141f Fix regex special character filter match bug and revert Query Editor autocomplete filter 2017-05-18 12:01:27 -07:00
Alex P c83c537a78 Actually use the directive 2017-05-18 10:54:13 -07:00
Alex P ffc174529b Visually distinguish between previously selected value and highlighted value 2017-05-18 10:45:44 -07:00
Alex P ec6970876f Change prop name to "useAutoComplete" 2017-05-18 10:43:05 -07:00
Alex P 44b19f1087 Use Sass directive to cut down on repetitive styles 2017-05-18 10:11:38 -07:00
Jared Scheib 9df09029f9 Add commented workaround for persisting legend on dygraph.updateOptions 2017-05-17 16:54:36 -07:00
Jared Scheib d7dcb06529 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 0803f2df64 Remove comments 2017-05-17 16:18:10 -07:00
Alex P 8c7aab617a Use autocomplete in tempvar dropdowns 2017-05-17 16:11:18 -07:00
Alex P 49f109420f Add optional autocomplete to dropdown component 2017-05-17 16:10:57 -07:00
Alex P 64838ea0d8 WIP add optional autocomplete to dropdown component 2017-05-17 15:01:00 -07:00
Jared Scheib 843ee32c72 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 f4a21c94ba Merge branch 'master' into feature/version-clears-localstorage 2017-05-17 11:54:53 -06:00
Jared Scheib 6c2c0d3adf 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 62d83cc915 Import new theme 2017-05-16 16:48:43 -07:00
Hunter Trujillo f9a8d32b1b 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 f34128b66a Fix legend overflow. Improve legend mouseover appearance behavior. 2017-05-15 18:07:20 -06:00
Jared Scheib 1e98d7fd14 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 0120cd5e50 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 08d7061fee 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 90afb717da Add ability to log alerts 2017-05-12 22:04:38 -04:00
Andrew Watkins 9ec5baec81 Rename foo to sync 2017-05-12 17:13:52 -07:00
Andrew Watkins 10cc7b42c6 First pass at graph syncronization 2017-05-12 17:11:39 -07:00
Andrew Watkins 3def6176f6 Import required dygraph plugins 2017-05-12 17:09:29 -07:00
Alex Paxton 8fff51bef3 Merge branch 'master' into toggle-tempvars-controls 2017-05-12 17:00:28 -07:00
Andrew Watkins 376eee94b6 Handle rotated y label 2017-05-12 16:34:00 -07:00
Alex P 363606cdaa 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 7222ee212c Create "toggled" state for template variables toggle 2017-05-12 14:52:53 -07:00
Alex P 1d059a2155 Use non conflicting css class 2017-05-12 14:37:21 -07:00
Alex P ec248d33d8 Add button in dashboard header to toggle visibility of template control bar 2017-05-12 14:35:19 -07:00
Alex P 6c2f479708 Only show meta queries dropdown if in DE 2017-05-12 10:52:03 -07:00
Alex P 8d15489728 Make ternary more simple 2017-05-12 10:41:33 -07:00
Alex P edce111f67 Fix #1423
Pretty straight up, yo
2017-05-11 17:15:57 -07:00
Alex P d012455914 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 3cf8e0c7d5 New version clears local storage. 2017-05-11 12:16:43 -07:00
Alex P 4751f06f87 Style placeholder text in kap rule data section 2017-05-11 11:50:34 -07:00
Alex P fd49c31138 Add checkmark to connected source indicator 2017-05-11 11:50:13 -07:00
Alex P 3431c6c40a Fix merge conflicts 2017-05-11 10:57:12 -07:00
Alex P 9263c83925 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 af0b200156 Remove duplicate loading state 2017-05-10 19:16:57 -07:00
Alex P b57c57af74 Use actual alerts prop 2017-05-10 19:05:17 -07:00
Alex P 0e3c051fb7 Use more explicit classnames 2017-05-10 19:05:01 -07:00
Alex P f3f57acc98 Fix #1426 2017-05-10 18:26:17 -07:00
Alex P 2566e90f13 Change UI copy to be more consistent with adjacent UI copy 2017-05-10 18:19:57 -07:00
Alex P 39370e39fa Move renderHandle directly into class render function 2017-05-10 17:43:09 -07:00
Alex P 314ad4f03f Rename constants to be more explicit 2017-05-10 17:36:30 -07:00
Alex P 956c213b77 Make prettier 2017-05-10 17:30:24 -07:00
Alex Paxton e1791f2226 Merge branch 'master' into improve-resizer 2017-05-10 17:27:58 -07:00
Alex P d077aa2612 Make it more clear which source you are connected to 2017-05-10 17:08:45 -07:00
Alex P b09098e0db Fix Page Spinner
Not sure what I was thinking when I broke this
2017-05-10 16:46:21 -07:00
Alex P bfdf041619 Add empty state with helpful link 2017-05-10 16:39:06 -07:00
Alex P b04dd43ea9 Only show alerts filter if there are alerts to filter 2017-05-10 16:38:10 -07:00
Alex P 36b142dff2 Use page spinner instead of text 2017-05-10 16:37:49 -07:00
Alex P ace29e5a00 Fix the things 2017-05-10 13:53:03 -07:00
Alex P a727feed8b Use Page Spinner instead of text 2017-05-10 13:50:35 -07:00
Alex P 22552d8161 Use generic empty state in Kap Config 2017-05-10 12:14:17 -07:00
Alex P b8db9c1228 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 13c22b2fe8 Remove style causing the janky 2017-05-10 11:55:59 -07:00
Alex P 25afbaa20a Create and use constants for initial heights of QueryMaker and Visualization
Fix for #1427
2017-05-10 11:32:32 -07:00
Alex P 7afe268e68 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 cf8af3f076 Use newest pattern 2017-05-10 11:20:28 -07:00
Alex P 4aff2ab0a4 Import without using src/ 2017-05-10 11:02:56 -07:00
Alex P a5a9f7c003 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 4065c2773b Make sure this works in Safari 2017-05-09 19:53:18 -07:00
Alex P c3c65c432d Use proper mixins 2017-05-09 19:42:09 -07:00
Alex P c747644508 Merge branch 'master' into fancy-scrollbars 2017-05-09 18:37:08 -07:00
Alex P 507de43290 Enforce dropdown styles on page-header-dropdown 2017-05-09 18:31:56 -07:00
Alex P 70abd69f70 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 f87902c37c Update dropdowns, use FancyScroll when possible 2017-05-09 18:25:43 -07:00
Alex P 5c439baca6 Make dropdowns fancy 2017-05-09 18:17:35 -07:00
Alex P 852ddfe5ce Clean up dropdown styles 2017-05-09 17:34:03 -07:00
Alex P deb38f7bdf Remove browser scrollbars on query builder lists
This way no conflict with fancy scroll
2017-05-09 17:33:27 -07:00
Alex P 90b480ae2e Use proper cursor when hovering over a scrollbar track 2017-05-09 17:26:30 -07:00
Alex P c2a7aeaf3f Add fancy scrollbars to the DE 2017-05-08 20:53:59 -07:00
Jade McGough eabea64d4f remove test button from slack config 2017-05-08 18:32:47 -07:00
lukevmorris 9acea3831c 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 94c9a14831 Add autoHide prop to pass down 2017-05-08 18:00:11 -07:00
Andrew Watkins 6750423244 Fix #1431 -- no legend on graph-single-stat 2017-05-08 17:47:32 -07:00
Andrew Watkins 8771ee563d Fixes bugs #1424,#1425 2017-05-08 17:47:32 -07:00
Hunter Trujillo 9c9bc6a0b4 Merge pull request #1433 from influxdata/bugfix/router-fix
Fall back to useRouterHistory method.
2017-05-08 17:42:12 -07:00
Alex P 001c48a005 Fix presentation mode 2017-05-08 17:41:50 -07:00
Luke Morris 3b9acd0848 Remove redundant if/else 2017-05-08 17:33:07 -07:00
Jade McGough 3bbde66c8b add comment 2017-05-08 16:39:14 -07:00
Jade McGough 84f3957658 Yehuda says to use keyCode for cross-browser support 2017-05-08 16:29:54 -07:00
Jade McGough da704c0b1e avoid using deprecated keydown attribute 2017-05-08 16:10:05 -07:00
Alex P 00728bb9d0 Make scrollbars green themed on Kapacitor pages 2017-05-08 16:01:52 -07:00
Hunter Trujillo 3955b935c7 Fall back to useRouterHistory method. 2017-05-08 16:01:06 -07:00
Alex P 13e4ee0a45 Use FancyScrollbox instead of page-contents 2017-05-08 15:55:57 -07:00
Alex P 385e10f1d7 Remove defaultProps 2017-05-08 15:55:32 -07:00
Alex P 55a00c1922 Clean up layout styles
Moving misc styles to unsorted, removing dupes
2017-05-08 15:54:58 -07:00
Jade McGough 3a728e4927 support escaping from presentation mode with safari 2017-05-08 15:31:13 -07:00
Alex P 45d2979c4e Use yellow for warning dot in tables 2017-05-08 15:04:48 -07:00
Alex P 9d3c277c13 Add react-custom-scrollbars package and default styles 2017-05-08 15:04:21 -07:00
Tim Raymond a0117e8255 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 337c7b16a5 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 7e468b98ae Fix links assignment on some AJAX requests 2017-05-08 14:40:50 -07:00
Jared Scheib 4eec2002b8 Add / to routes and use simpler basename api 2017-05-08 14:40:50 -07:00
Jared Scheib 1b0a77b215 Remove unnecessary basepath logic 2017-05-08 14:40:50 -07:00
Jade McGough 93b5846203 fix dumb copypasta 2017-05-08 12:20:57 -07:00
Jade McGough 71259b35b1 make checkKapacitorConnection async 2017-05-08 12:17:49 -07:00
Jade McGough 3cc94185d1 redirect to kapacitor edit route after creating new kapacitor 2017-05-08 12:05:09 -07:00
Jade McGough 6d6c6e6717 pull kapacitor connection checks out of callbacks 2017-05-08 11:32:35 -07:00
Jade McGough 4626651f36 remove line from another PR 2017-05-08 11:08:38 -07:00
Jade McGough 9c56fd8d2c validate kapacitor connection after updating config 2017-05-08 11:03:54 -07:00
lukevmorris 1bf39d9f37 Submit tvars when asking for a queryConfig (#1408) 2017-05-05 23:05:14 -07:00
lukevmorris e4a0d7f320 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 dcf5838e91 Merge branch 'master' into feature/reverse-kapa 2017-05-05 14:41:06 -05:00
Andrew Watkins fc2b83c971 Fix link 2017-05-05 12:24:12 -07:00
Andrew Watkins a4d9d3745a Handle deadman trigger validation 2017-05-05 12:16:01 -07:00
Jade McGough df079349d3 Merge pull request #1401 from influxdata/delete-kapacitor
add ability to delete kapacitor config
2017-05-05 11:42:16 -07:00
Jade McGough 78f4de2669 use link from kapacitor object 2017-05-05 11:25:52 -07:00
Alex P 141ea851d6 Follow correct pattern with naming 2017-05-05 11:25:02 -07:00
Andrew Watkins 66c04f6694 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 b912f46c06 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 69c5060d4b Make carets and name clickable instead of just name 2017-05-05 11:12:55 -07:00
Alex P a111b6e6f0 Use proper naming for functions 2017-05-05 11:04:53 -07:00
Alex P 43842b6777 Use css class in favor of inline styles 2017-05-05 10:34:53 -07:00
Alex P bbb8532e4f 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 c7937897d9 Add todo comment 2017-05-05 10:26:25 -07:00
Alex P 41e6bf7667 Use constants in favor of magic numbers
But damn they were so magical
2017-05-05 10:08:27 -07:00
Andrew Watkins 014103adf6 Resolve conflicts
Conflicts:
	ui/src/utils/influxql.js
2017-05-05 10:01:26 -07:00
Alex P 16a27381dd Use modern js stuffs 2017-05-05 09:53:46 -07:00
Alex P 6e106a4e77 Clean up CSS 2017-05-05 09:09:31 -07:00
Jade McGough b4546b29ff add ability to delete kapacitor config 2017-05-04 23:40:53 -07:00
Alex P 69d739745e Merge branch 'master' into condense-de-lists 2017-05-04 17:38:59 -07:00
Alex P dd4b7e2541 User proper means of calculating number of children 2017-05-04 17:34:45 -07:00
lukevmorris a478157357 :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 97ca27bee0 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 e0acd53e51 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 69ca3b29fa Merge branch 'master' into bugfix/1345-alert-level-colors 2017-05-04 16:42:50 -07:00
Alex P 45625df608 Fix build error
pesky trailing spaces! *shakes fist*
2017-05-04 16:30:25 -07:00
Alex P 46249f5e98 Add explanatory comment for Layout prop 2017-05-04 16:23:09 -07:00
Alex P f51da6f5f5 Change cx and classNames to both be classnames
this is the new pattern, apparently
2017-05-04 16:08:38 -07:00
Alex P 6adf3220b4 Make "Functions" toggle have a toggled state 2017-05-04 15:55:01 -07:00
Alex Paxton b199f4da52 Merge branch 'master' into overlay-all-the-way 2017-05-04 14:20:05 -07:00
Jared Scheib a613c49be8 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 b319538fc4 Forgot this piece 2017-05-04 12:32:32 -07:00
Alex P 0f56eeaa42 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 119cf397e8 Fix build error
My baddddd guys
2017-05-03 14:55:18 -07:00
Alex P 06f1803e14 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 36afed6cf0 Merge branch 'master' into condense-de-lists 2017-05-03 14:38:12 -07:00
Alex Paxton 33474f3579 Merge pull request #1386 from influxdata/ui-terminology
Terminology Terminus
2017-05-03 14:14:24 -07:00
Andrew Watkins ee2ba88c86 Add tab functionality in template-varmojis 2017-05-03 13:47:07 -07:00
Alex P 6a830995a4 Add Nate's changes in
Two heads clearly better than one here
2017-05-03 12:11:12 -07:00
Alex P c062712f94 Adjust UI copy 2017-05-03 11:18:10 -07:00
Alex P b2fc02fb2e Merge branch 'master' into condense-de-lists 2017-05-03 10:09:12 -07:00
Alex P ef2e833aa4 Remove placeholder number 2017-05-03 10:09:01 -07:00
Alex P 4bd4ce7ca0 Unify fetching states of graphs 2017-05-02 23:21:16 -07:00
Alex P c46804baf6 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
Alex P d6f2f95de4 Use carets in measurement list
Stronger affordance
2017-05-02 19:02:48 -07:00
Alex P 3d6bbf91ce Make resizer children look good in DE & Overlay Technology
Required some crazy tweaking, but it is done
2017-05-02 18:52:15 -07:00
Alex P 9d310a0b5b Remove unused div and style 2017-05-02 18:13:52 -07:00
Alex P c81274baf4 Update resizer and its children in DE to work properly 2017-05-02 18:13:33 -07:00
Alex P e62e0cbf91 Make resizer great again
Doesn’t matter what is inside it, it just works.
2017-05-02 18:02:06 -07:00
Alex P 08c5d9c2ab Simplify stacking contexts ever so slightly 2017-05-02 16:48:06 -07:00
Alex P a428894971 Prevent query templates dropdown from appearing beneath the resizer handle 2017-05-02 16:43:51 -07:00
Alex P c2ff0a059c Make database column smaller than the others 2017-05-02 16:43:06 -07:00
Alex P 095bd022bb Use FunctionSelector instead of MultiSelectDropdown
Solves the issue of excess space at the end of the list for invisible
dropdown menus. Also a little more space efficient
2017-05-02 15:54:09 -07:00
Alex P fef174969b Create FunctionSelector component
For use in the DE, more specifically field list items
2017-05-02 15:52:38 -07:00
Hunter Trujillo 0e4b28fe2f Fix alert level colors, in addition to hover state color. 2017-05-02 15:57:55 -06:00
Alex P d212bcd013 Return Cell Edit to previous design 2017-05-02 09:55:28 -07:00
Alex P d274630859 Remove margin on toggles
Not sure why it needs margin, am always overwriting this
2017-05-02 09:53:57 -07:00
lukevmorris e9ebc5ca56 Promote dash-graph--options, demote dash-graph--container (#1373)
* Promote dash-graph--options, demote dash-graph--container

* Update CHANGELOG
2017-05-01 17:56:15 -07:00
Jared Scheib 32c20ddf51 Remove notification to login outside of session timeout (#1370)
* Remove notification to login outside of session timeout

* Update changelog
2017-05-01 17:53:33 -07:00
Alex P 2ba0e0bec9 Create layout property for querymaker
Controls how the entire component appears
2017-05-01 16:14:03 -07:00
Alex P 1c715d87fe Simplify markup in database dropdown 2017-05-01 16:13:38 -07:00
Alex P cd03bcab9f Fix errors in database list 2017-05-01 16:01:03 -07:00
Alex P 0da442f5cd Merge branch 'master' into condense-de-lists 2017-05-01 15:59:33 -07:00
Jared Scheib 0061efe4c2 Fix typo in Query Templates dropdown 2017-05-01 14:45:55 -07:00
lukevmorris cb8962c2db Show red indicator when a host is down (#1365)
* Green for positive uptime, red otherwise

* Update CHANGELOG

* Handle class name construction with classnames module
2017-05-01 12:12:39 -07:00
Hunter Trujillo 2902d0bced Merge branch 'master' into hotfix/windows-uptime 2017-05-01 12:06:25 -06:00
Hunter Trujillo 6a82958279 Fix link to the index. 2017-05-01 12:01:55 -06:00
Alex Paxton a0d39efd31 Merge pull request #1357 from influxdata/template-control-bar-polish
Template Control Bar Polish
2017-04-28 16:48:56 -07:00
Alex P ba4c42af50 SHIP IT AGAIN 2017-04-28 16:41:35 -07:00
Alex P 01f162c3a0 SHIP IT 2017-04-28 16:30:18 -07:00
Luke Morris 61c60a59f7 AutoRefresh.executeQueries accepts templates as param 2017-04-28 16:10:37 -07:00
lukevmorris e58b9eb55f Dropdown onClick opens it and executes parent's onClick (#1354)
* Dropdown onClick opens it and executes parent's onClick

* :-(
2017-04-28 16:00:39 -07:00
Hunter Trujillo dcdc8cb654 eslint src --fix 2017-04-28 16:42:32 -06:00
Alex P 1bde8105d2 Don't actually need this 2017-04-28 15:41:21 -07:00
Hunter Trujillo 45c1b64c4d prettier --single-quote --trailing-comma es5 --bracket-spacing false --semi false --write "src/**/*.js" 2017-04-28 16:37:19 -06:00
Alex P 4a145da3d0 Apply the styles, update the markup 2017-04-28 15:33:41 -07:00
Alex P fc1f3ae480 Move template control styles into their own sheet 2017-04-28 15:33:25 -07:00
Alex P 9435ec87bb Add Icon to Manage Button 2017-04-28 15:33:05 -07:00
Alex P 4762dbdc38 Make round scrollbars completely round 2017-04-28 15:32:39 -07:00
Alex P 372775af09 Make page headers mo betta
No reason they need to be the equal parts
2017-04-28 15:32:22 -07:00
lukevmorris 6514b425bd Visualization passes thru templates to AutoRefresh (#1352) 2017-04-28 14:36:55 -07:00
Luke Morris 3e6220aa6a Merge branch 'master' into feature/template-variables 2017-04-28 13:12:57 -07:00
Andrew Watkins 3a278540a9 Merge pull request #1342 from influxdata/chore/alphabetical-dbs
Chore/alphabetical dbs
2017-04-28 12:48:32 -07:00
Andrew Watkins 8ad8839063 Merge pull request #1334 from influxdata/feature/cont-queries
Feature/cont queries
2017-04-28 12:47:56 -07:00
Andrew Watkins 7ebecd5498 Merge branch 'master' into chore/alphabetical-dbs 2017-04-28 12:47:29 -07:00
Luke Morris 6693b759cb Strip colons in template variable names before saving 2017-04-28 12:38:05 -07:00
Luke Morris 3db76639e6 AutoRefresh refetches data when temp vars change 2017-04-28 12:16:56 -07:00
Luke Morris f9449025ea Context menu now overlays second Y-axis 2017-04-28 12:03:44 -07:00
Luke Morris 0e06853a19 Dropdowns are allowed to overflow the manager boundary 2017-04-28 12:01:01 -07:00
Luke Morris 70ffc86ca0 Restore delete Dashboard Cell functionality 2017-04-28 11:58:53 -07:00
Brian Baker 31a27978e1 add query for windows uptime 2017-04-28 10:59:15 -06:00
Nicky Semenza be1394a953 update link to add a Kapacitor when none exist 2017-04-27 21:59:30 -04:00
Luke Morris 57bea5c694 Design polish 2017-04-27 18:44:43 -07:00
Luke Morris 781f724711 Merge branch 'feature/template-variables' into feature/template-varmojis 2017-04-27 18:39:23 -07:00
Alex Paxton 7cc1e3285f Merge pull request #1347 from influxdata/template-manager-polish
Template manager polish
2017-04-27 18:38:13 -07:00
Luke Morris ec2d0392e2 Tweaks 2017-04-27 18:27:31 -07:00
Alex P 2c4167eb53 Tweak empty state
It was expecting to be part of a table
2017-04-27 18:15:38 -07:00
Luke Morris e3cf7c3002 Merge branch 'feature/template-variables' into feature/template-varmojis 2017-04-27 18:14:45 -07:00
Alex P 16fdd4a8ba Turn off annoying browser things 2017-04-27 18:11:13 -07:00
Alex P 26a5cdd2cd Style Template Variable Manager and customize markup
Adjusts to different screen sizes nicely
2017-04-27 18:03:53 -07:00
Jared Scheib fcc31cf412 Only send selected template values to proxy; fix tempVars key in proxy call 2017-04-27 17:33:15 -07:00
Jared Scheib ea28dcfa32 Fix Lukifer's bug that Pineapple didn't catch 2017-04-27 17:20:18 -07:00
Jared Scheib b5eca6cd43 Select first value of new variable values 2017-04-27 17:17:58 -07:00
Jared Scheib 6b5e525f07 Fix key state bug 2017-04-27 17:03:16 -07:00
Jared Scheib 0934b47476 Remove unused dep 2017-04-27 16:32:51 -07:00
Jared Scheib 2e5118ecf7 Fix dropdown populating via normalizd parsers, rename selected var names for clarity 2017-04-27 16:24:00 -07:00
Jared Scheib b25cff0b6d Update some fns to async/await 2017-04-27 16:01:21 -07:00
Jared Scheib e405781b46 Handle errors and use async/await in AJAX from TVQB Dropdowns 2017-04-27 15:50:25 -07:00
Alex P 2d0a41c2cb Style page header dismiss 2017-04-27 15:01:06 -07:00
Alex P f8852273d8 Organize styles a bit 2017-04-27 14:53:43 -07:00
Jared Scheib 064ebc1634 Merge branch 'feature/template-variables' of https://github.com/influxdata/chronograf into feature/template-variables 2017-04-27 14:36:27 -07:00
Jared Scheib 3475f6b4a4 Use prettier (though 2x slower) syntax 2017-04-27 14:36:24 -07:00
Alex P e4097550c8 Use specific class instead of relying on H1 being inside page-header 2017-04-27 14:33:43 -07:00
Jared Scheib 85327b1b46 Remove obsolete action and reducer for editing template variable 2017-04-27 14:20:34 -07:00
Jared Scheib 2881c3b7b0 Merge branch 'master' into feature/template-variables 2017-04-27 14:15:48 -07:00
Alex P fed24f191d Make database list into a dropdown
Going to split these into 2 components
2017-04-27 14:14:45 -07:00
Jared Scheib 7763d780ca Rename function for clarity, clean up 2017-04-27 14:13:36 -07:00
Jared Scheib 65dbf0d0c9 Fix bug introduced in e8fb66d6 that overwrote templates 2017-04-27 13:47:17 -07:00
Jared Scheib 1da7b9290b Add proper type to buttons 2017-04-27 13:34:05 -07:00
Andrew Watkins 4788e3ce2d Merge branch 'master' into fix/add-source 2017-04-27 13:17:24 -07:00
Andrew Watkins 1f6f9b6a17 Merge branch 'master' into chore/destroy-kuber-dash 2017-04-27 13:14:03 -07:00
Jared Scheib e8fb66d623 Fix duplicate temp var detection bug where a new one would delete itself if not persisted onCancel 2017-04-27 12:57:50 -07:00
Jared Scheib 5d640a82c4 Fix styling on RowValues component 2017-04-27 11:20:59 -07:00
Jared Scheib 55bd937fa9 Prevent duplicate template variables 2017-04-27 11:12:48 -07:00
Jared Scheib 7c2cab8fd9 Lengthen short notification delay by 500ms 2017-04-27 11:10:21 -07:00
Andrew Watkins 0dd2ba1c96 Add empty state 2017-04-27 11:08:12 -07:00
Andrew Watkins 6237ad0473 Fix incorrect count 2017-04-27 11:08:02 -07:00
Andrew Watkins d9ab669008 Prettier 2017-04-27 10:47:59 -07:00
Andrew Watkins 2d62082fe1 Remove all reference to KubernetesDashboard 2017-04-27 10:44:19 -07:00
Jared Scheib 14e43c6c64 Remove 'label' from TVM UI and template data shape 2017-04-27 10:35:14 -07:00
Andrew Watkins 8a197cbd92 Fix alphabetical jumping 2017-04-27 09:37:03 -07:00
Andrew Watkins 53ecc17f7a Prettify 2017-04-27 09:32:44 -07:00
Andrew Watkins 21ead48a67 Make guard more readable 2017-04-27 08:53:19 -07:00
Andrew Watkins 85cb3993c3 Change to table view on meta queries 2017-04-27 08:46:46 -07:00
Andrew Watkins af3ce8d3af Fix no active query on page load 2017-04-27 07:58:51 -07:00
Jared Scheib dee83724e3 Add and remove ':'s from template variables 2017-04-26 19:54:05 -07:00
Jared Scheib 15837dcdf2 Update template variables from TV Query Builder to new :var: syntax 2017-04-26 19:21:53 -07:00
Jared Scheib 5ab50aba64 Remove obsolete comment 2017-04-26 19:21:17 -07:00