Commit Graph

2334 Commits (3a37bfc40976afee8b42f6ac51dd39ed4e877a09)

Author SHA1 Message Date
Jade McGough 78c7690204 close WriteDataForm when clicking outside 2017-05-30 14:36:59 -07:00
Jade McGough 6e21dacfae don’t require onStartEdit in DatabaseDropdown 2017-05-30 14:36:59 -07:00
Jade McGough 895785cfe9 remove unused proptype requirements 2017-05-30 14:36:59 -07:00
Jade McGough 30dfa9a9ed move write form display state out of redux and into component state 2017-05-30 14:36:59 -07:00
Jade McGough 214f8b94df use absolute path for shared components 2017-05-30 14:36:59 -07:00
Jade McGough ccc8edcc28 use absolute path for imports 2017-05-30 14:36:59 -07:00
Jade McGough 84745e96f3 webpack is configured to resolve pathnames that start with shared, the src is unnecessary 2017-05-30 14:36:59 -07:00
Jade McGough addd68b6dc use es6 function declaration 2017-05-30 14:33:36 -07:00
Jade McGough b2bddadb7e properly summon technologies 2017-05-30 14:33:36 -07:00
Jade McGough 4d1d632050 add reducer tests 2017-05-30 14:33:36 -07:00
Jade McGough a284666c42 make handleWrite an async function 2017-05-30 14:33:36 -07:00
Jade McGough 58a1463bc4 use better placeholder for data writing 2017-05-30 14:33:36 -07:00
Jade McGough b6a7184a7c show error information when write fails 2017-05-30 14:33:36 -07:00
Jade McGough ba1893a3b1 remove unused method 2017-05-30 14:33:36 -07:00
Jade McGough aa3373aef9 fix write path 2017-05-30 14:33:36 -07:00
Jade McGough 84f6998421 handle errors thrown by database selection 2017-05-30 14:33:36 -07:00
Jade McGough ff53c215e3 write data to database 2017-05-30 14:33:36 -07:00
Jade McGough 1d88e4e104 add text area to writedataform 2017-05-30 14:33:36 -07:00
Jade McGough 7f56dd9f53 write POST must include db in the path 2017-05-30 14:33:36 -07:00
Jade McGough dd3c18ed50 WIP 2017-05-30 14:33:36 -07:00
Jade McGough 62065ae713 move databasedropdown 2017-05-30 14:33:36 -07:00
Jade McGough bd113914c1 make use of DatabaseDropdown 2017-05-30 14:33:36 -07:00
Jade McGough 5e2b240054 WIP 2017-05-30 14:33:36 -07:00
Jade McGough f21b196e2d add some stuff to modal 2017-05-30 14:33:35 -07:00
Jade McGough 23509d1c4a use redux for write form 2017-05-30 14:33:35 -07:00
Jade McGough b6939064e7 utilize overlay technologies 2017-05-30 14:33:35 -07:00
Jade McGough 4fff9b8b44 add button for writing data 2017-05-30 14:33:35 -07:00
Andrew Watkins c4e00dc508 Prettier 2017-05-30 13:38:50 -07:00
Andrew Watkins 2f2899fe68 Fix multiple field selection bugs
Before applying this commit, if a user had
a field and func selected and then selected
a new field the new field would not be applied to
the query.
2017-05-30 13:36:47 -07:00
Jared Scheib 58537431e5 Remove and add a comment 2017-05-26 21:11:52 -07:00
Jared Scheib 59027f157d Fix diff mutation bug, simplify resetZoom trigger 2017-05-26 21:00:04 -07:00
Jared Scheib a2884a175e Merge remote-tracking branch 'origin/master' into 1481-feature/reset_zoom_on_timerange_change
Conflicts:
	ui/src/shared/components/LayoutRenderer.js
2017-05-26 19:05:41 -07:00
Jared Scheib e4c34ba94f Refactor: deepDiff into utils file and cleaner logic 2017-05-26 18:54:02 -07:00
Alex Paxton c2525e5b1a Merge pull request #1544 from influxdata/theme-refactor
Theme refactor
2017-05-26 18:37:11 -07:00
Alex P ac5f1f6fb3 Remove excess ternary operator 2017-05-26 17:36:17 -07:00
Alex P 9261af1097 Use lodash method instead of vanilla js 2017-05-26 17:24:19 -07:00
Alex P 3c4c0e2e21 Use class instead of style object 2017-05-26 17:17:33 -07:00
Jared Scheib 6322a5fec4 Add StackOverflow citation for deep diff func 2017-05-26 16:14:34 -07:00
Jared Scheib 3613a36b3c Add comment 2017-05-26 15:43:02 -07:00
Jared Scheib 2f51d39dd9 Refactor zoom reset and prevent updateOptions on only timeRange update 2017-05-26 15:41:30 -07:00
Jared Scheib cf10ee03ba Reset zoom when graph is zoomed and time range changes 2017-05-26 12:30:19 -07:00
Jared Scheib 04a7fe6f22 WIP Try to use change in range values for reset zoom trigger 2017-05-26 12:11:56 -07:00
Jared Scheib 4c16a976c5 Reset zoom on all graphs when timeRange value is changed 2017-05-25 18:15:39 -07:00
Alex P 65706bb073 Make Kapacitor node dropdowns much wider
Bandaid fix for the edit/delete icons overlapping item text
2017-05-25 14:51:46 -07:00
Jared Scheib bd3f17a692 Fix test to actually test the removeEvery state change 2017-05-25 14:39:42 -07:00
Alex P 758c68786f Make optional "Add" item in dropdown look distinct 2017-05-25 14:39:25 -07:00
Jared Scheib 470dec3049 Remove redundant proptypes 2017-05-25 11:33:55 -07:00
Alex P 45fb99a651 Use proper means of preventing cursor events 2017-05-24 19:58:13 -07:00
Alex P c2b69a5844 Prevent single stat text for appearing squished in small cells 2017-05-24 19:55:03 -07:00
Alex P 4de4b39f32 Refactor query templates dropdown 2017-05-24 19:32:12 -07:00
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