Commit Graph

2616 Commits (e703107644c798b453473b157572686ddf7cd5d7)

Author SHA1 Message Date
Andrew Watkins 12bb11528b Merge branch 'get-legend-rekt' of github.com:influxdata/chronograf into get-legend-rekt 2017-06-30 10:53:21 -07:00
Andrew Watkins d57beb7673 Handle undefined series 2017-06-30 10:53:12 -07:00
Alex P 76ce7af6b8 Make non-highlighted series labels more legible 2017-06-30 10:52:55 -07:00
Alex P 38837cc98a Add timestamp to legend 2017-06-30 10:48:58 -07:00
Alex P 93bce8392b Polish Legend
- Sort buttons reflect the direction of the sort and which is actively
sorting
- “Snip Measurement” shortened to “Snip”
- Can display about 7 rows before overflow
2017-06-30 09:53:46 -07:00
Andrew Watkins f295d763d6 Use component this 2017-06-29 16:09:18 -07:00
Andrew Watkins bbd48e4e25 Show and hide filtered series on graph 2017-06-29 16:08:54 -07:00
Andrew Watkins a76b44a3a3 Hide legend a little better 2017-06-29 13:54:25 -07:00
Andrew Watkins c90bfdb60b Handle removing measurement from legend label 2017-06-29 13:01:58 -07:00
Andrew Watkins b2387d3ab7 Refactor sort order 2017-06-29 11:34:25 -07:00
Andrew Watkins 5c786b4b80 Hide hide and show legend 2017-06-29 11:17:57 -07:00
Alex P 4610553982 Display custom time range on cell header when present 2017-06-28 17:42:41 -07:00
Hunter Trujillo 63bf355e8a Remove CustomTimeRange container class in split, but this damages styles due to selectors. 2017-06-28 17:53:43 -06:00
Hunter Trujillo 35d75b5d9d Split out CustomTimeRange date picker into its own component so it can be shared between separate Dropdown and Overlay components. 2017-06-28 17:50:35 -06:00
Andrew Watkins 7dff564cbc Refactor sorting and ordering 2017-06-28 15:30:14 -07:00
Andrew Watkins baea72eaef Add filtering to legend 2017-06-28 14:39:09 -07:00
Andrew Watkins 46d91e2859 Sorting persists on legend update 2017-06-28 14:09:02 -07:00
Alex P bf1b1edd8d Fix #1670 2017-06-28 13:24:01 -07:00
Andrew Watkins 829a600c6e WIP tweak styles 2017-06-28 12:15:31 -07:00
Andrew Watkins 1c31a98642 Add ability to sort numerically and alphabetically 2017-06-28 12:15:31 -07:00
Andrew Watkins d006c2fc06 Move legend into component 2017-06-28 12:15:31 -07:00
Andrew Watkins e9bd3901ab Move functions into separate dir 2017-06-28 12:15:31 -07:00
Andrew Watkins 598fef81bf Allow sorting legend by numeric values 2017-06-28 12:15:31 -07:00
Andrew Watkins cd02576e33 Persist legend in when hovered over 2017-06-28 12:15:31 -07:00
Alex Paxton 170b1f23ef Merge pull request #1664 from influxdata/find-better-home-for-version-number
Find better home for version number
2017-06-28 10:29:51 -07:00
Hunter Trujillo 2fec182927 Merge pull request #1647 from influxdata/feature/file-upload-de
Feature/file upload de
2017-06-28 10:42:22 -06:00
Hunter Trujillo 217695b962 Modernize TimeRangeDropdown component. 2017-06-28 00:02:40 -06:00
Alex P 357fa3655f Merge branch 'master' into find-better-home-for-version-number 2017-06-27 16:58:37 -07:00
Jared Scheib b61966b27d Sort custom links in User nav alphabetically 2017-06-27 13:58:10 -07:00
Jared Scheib 99c6636152 Use ES6 spread operator instead of .concat for nav items 2017-06-27 10:52:12 -07:00
Alex P caa9b94430 Fix for #1662 2017-06-27 10:44:55 -07:00
Jared Scheib 3622ed91c5 Remove unused redux key from ajax links response 2017-06-27 10:20:12 -07:00
Jared Scheib b513f8d388 Fix failing SideNav by removing sidebar--bottom div
Also remove sidebar-item--last for now
2017-06-26 19:03:32 -07:00
Jared Scheib f064342440 Merge remote-tracking branch 'origin/master' into feature/custom_user_links-1550 2017-06-26 18:05:22 -07:00
Jared Scheib 854f304d18 Remove unused custom links key 2017-06-26 18:16:46 -05:00
Jared Scheib c2b2c2c6f8 Fix redux state path for custom links 2017-06-26 11:48:55 -07:00
Alex P 482cbd8e2b Style user menu to stack within viewport 2017-06-23 11:41:01 -07:00
Alex P 74da46be4d Add glow effect to active sidebar items 2017-06-23 11:24:19 -07:00
Alex P 928bfde139 Add more colors to singleStatLineColors 2017-06-23 11:08:49 -07:00
Alex P 3989949e46 Rebase and fix conflicts 2017-06-23 11:05:23 -07:00
Alex P 8bc8a986ed Prevent angry error message 2017-06-23 11:04:13 -07:00
Alex P 5c6f256b83 Add missing closing bracket
Not sure what happened here
2017-06-23 10:26:25 -07:00
Alex P c27985b20b Attempt to block error when printing version number
This should work in theory
2017-06-23 10:26:06 -07:00
Timothy J. Raymond 04bed9a266 Merge pull request #1612 from influxdata/feature/tr-no-internal
Remove system databases from "Write Data" dropdown
2017-06-23 13:18:29 -04:00
Andrew Watkins 71ebd6644c Remove stale comment 2017-06-23 09:59:09 -07:00
Tim Raymond ec70c28723 Filter only _internal database from WriteData
It was decided that the only system-private database is the _internal
database and that users might have created databases prefixed with an
underscore that they would like to write data to from Chronograf.
2017-06-23 12:16:16 -04:00
Jared Scheib cbab4402b5 Merge branch 'master' into feature/custom_user_links-1550 2017-06-22 16:56:28 -07:00
Jared Scheib 9510562371 Generate user side nav menu with custom links 2017-06-22 16:54:06 -07:00
Alex P f743f38777 Merge branch 'master' into misc-ui-polish 2017-06-22 16:35:38 -07:00
Alex P 0f0805a2f0 Complete refactor of sidenav
- Reduced DOM complexity
- Less styles overall
- Added an icon in the navbar to show version number
- Still needs an eslint ignore
2017-06-22 16:30:28 -07:00
Alex P 5724aed904 WIP refactor sidenav 2017-06-22 16:16:19 -07:00
Andrew Watkins febdbfb3a0 Merge branch 'master' into sticky-alert-table 2017-06-22 15:53:38 -07:00
Andrew Watkins 7da7370a4b Remove comments 2017-06-22 15:50:45 -07:00
Andrew Watkins f9f114f838 Fix drag and drop style from toggling on and off 2017-06-22 15:50:31 -07:00
Andrew Watkins 734a54708c Move inputFile ref to WriteDataForm 2017-06-22 15:50:03 -07:00
Andrew Watkins 1b57e8141f Merge pull request #1581 from influxdata/feature/refresh-tvars
Refresh templates on dashboard load
2017-06-22 14:50:02 -07:00
Alex P bf0dbcf5c3 Make dashboards page contents into its own stateless component 2017-06-22 14:24:45 -07:00
Andrew Watkins 6bfdf361e5 Update comment 2017-06-22 14:12:33 -07:00
Andrew Watkins 64d91d3376 Remove uneccessary argument 2017-06-22 14:10:08 -07:00
Alex P d05bc9af0e Use correct proptypes for dashboards 2017-06-22 13:59:50 -07:00
Alex P a394949c1f Delete comment 2017-06-22 13:55:42 -07:00
Alex P 4157340b2e Make dashboards table into a component 2017-06-22 13:55:23 -07:00
Alex P b16088673d Make dashboards index header into component 2017-06-22 13:47:09 -07:00
Alex P e92ea1718c Remove rogue className 2017-06-22 13:39:58 -07:00
Alex P 916097e6b9 Remove ID column from dashboards table 2017-06-22 13:27:37 -07:00
Alex P c158c3a917 Fix for #1637 - Sort dashboard by name alphabetically 2017-06-22 13:27:22 -07:00
Alex P ac04713730 Reduce microcopy 2017-06-22 12:52:52 -07:00
Alex P f6e9001cba Polish dashboards index table 2017-06-22 12:52:25 -07:00
Alex P 00e3c7960d Move table column widths into a constants file for consistency
Other tables in the UI follow this pattern
2017-06-22 12:38:17 -07:00
Alex P 870deff124 Style drag & drop interaction 2017-06-22 10:52:41 -07:00
Tim Raymond c00e672ef1 Use startsWith over string index
This is considered more idiomatic than indexing a string for its first
character.
2017-06-22 11:41:13 -04:00
Tim Raymond 5648411db2 Remove system databases from "Write Data" dropdown
Users should not write to _internal, or generally any other database
preceeded with an '_', as we take that to mean a system-internal
database of some kind. This filters the list of databases to remove
those with names preceeded by a '_' character.

Also 'SHOW DATABASES' can return an error if users are not authorized to
do that, so it's important to throw that so it can be properly handled /
displayed to the user.
2017-06-22 11:41:13 -04:00
Hunter Trujillo f93a2e9c06 Add drag and drop. Add drag class. WIP Styles. 2017-06-22 00:30:26 -06:00
Jared Scheib 863f668d85 Revert axes colors; make single stat options nearly identical as regular 2017-06-21 18:53:56 -07:00
Jared Scheib 88c8f93716 Revert removal of x and y axes on single stat graphs 2017-06-21 18:31:40 -07:00
Nathan Haugo 3526272f49 Fix broken cpu reporting on hosts page and normalize InfluxQL 2017-06-21 16:56:52 -07:00
Andrew Watkins 8c6dd24d3d Refresh page after write completes 2017-06-21 16:17:25 -07:00
Andrew Watkins fee7094fe1 Default to currently selected database to write to 2017-06-21 16:10:06 -07:00
Andrew Watkins aea86fdba0 Send proper content to writeLineProtocol 2017-06-21 15:35:15 -07:00
Andrew Watkins 1f4f39e06c Display uploaded filename 2017-06-21 14:45:35 -07:00
Andrew Watkins bae88b6f71 Move footer into stateless functional component 2017-06-21 14:35:41 -07:00
Andrew Watkins 63ec64a6e2 Cleanup 2017-06-21 14:08:49 -07:00
Andrew Watkins 55b69785da Fix rebase error 2017-06-21 14:00:05 -07:00
Andrew Watkins 7865cce938 Remove stateful component wrapper 2017-06-21 13:58:36 -07:00
Andrew Watkins 03bb36d315 Fix race condition on dashboard load with template variable values by performing all relevant transactions within the same async function. 2017-06-21 13:57:14 -07:00
Andrew Watkins 1ee17544d6 Remove misplaced async 2017-06-21 13:57:14 -07:00
Andrew Watkins 6d4895b9b1 Refresh templates on dashboard load 2017-06-21 13:57:14 -07:00
Alex P 201678f56d Undoing undo 2017-06-21 13:24:25 -07:00
Alex P 576f6e6391 Fix thin white line fancy scroll issue
Appears sometimes and is very distracting
2017-06-21 13:23:14 -07:00
Alex P 4b450a2170 Remove strange white line that sometimes appears in fancy scrollbox 2017-06-21 13:03:32 -07:00
Alex P 0d4d5ec963 Make write button color match successful file upload color 2017-06-21 12:58:09 -07:00
Alex P e4662634ac Show corresponding documentation links on tab change 2017-06-21 12:57:00 -07:00
Alex P a1379b32e9 Add GZIP to accepted file formats
As mentioned in influxdb docs
2017-06-21 12:51:07 -07:00
Alex P 6877ba591d Limit accepted files to text files 2017-06-21 12:47:03 -07:00
Alex P 57406d5fbc Complete styling of upload file interaction 2017-06-21 12:38:39 -07:00
Alex P 0828074aa3 Pass uploadContent into body to enable proper ui logic 2017-06-21 12:38:10 -07:00
Jared Scheib f8a4445b8a WIP Display custom links in side nav 2017-06-21 11:16:29 -07:00
Alex P d6f4b50257 Fix for #1631 2017-06-21 11:02:05 -07:00
Andrew Watkins 20fe6b358a WIP style file input 2017-06-21 10:06:07 -07:00
Andrew Watkins 34dbcf9b82 Move header into separate component 2017-06-20 16:28:33 -07:00
Andrew Watkins 47635679f2 Move writing data inputs to separate component 2017-06-20 16:12:39 -07:00
Alex P e98460a068 Merge remote-tracking branch 'origin/master' into sticky-alert-table 2017-06-20 14:20:15 -07:00
Andrew Watkins 59637ac2cb Introduce file uploading 2017-06-20 14:16:25 -07:00
Alex P 2529526c2a Fix appearance of sortable table headers in alerts history table 2017-06-20 13:36:19 -07:00
Alex P 183fe9a4f2 Make alerts page contents stretch to fill height 2017-06-20 13:33:42 -07:00
Alex P 12884e753e Remove FancyScrollbar from container 2017-06-20 13:30:20 -07:00
Alex P ba05319b57 Update alerts filter text to be more accurate 2017-06-20 13:29:55 -07:00
Alex P 40c76c8242 WIP Make table headers sticky
Using CSS instead of HTML tables
2017-06-20 13:04:56 -07:00
Jared Scheib fe0890f134 Merge pull request #1642 from influxdata/fix/basepath_json_feed-1640
Do not prefix basepath to external link for news feed
2017-06-20 12:44:44 -07:00
Hunter Trujillo d592977515 Merge pull request #1639 from influxdata/feature/1597-hover-lines-performance
Feature/1597 hover lines performance
2017-06-20 13:40:04 -06:00
Jared Scheib 7037167a44 Do not prefix external news feed link with basepath 2017-06-20 11:59:31 -07:00
Alex P b4c4ad4774 Add ability to deselect a function
was previously impossible to do through the UI
2017-06-19 16:25:51 -07:00
Alex P 08fa7135ac Merge branch 'master' into rule-creator-function-selector 2017-06-19 16:17:53 -07:00
Alex P 927e252885 Consolidate map methods
Moved the ternary operator into the onClick
2017-06-19 16:17:05 -07:00
Hunter Trujillo 5838c72e08 Optimize first run of synchronizer initialization. 2017-06-19 16:58:00 -06:00
Hunter Trujillo 9a4d7bdc18 Prettier. 2017-06-19 16:32:01 -06:00
Hunter Trujillo 9381265dc7 Adjust synchronizer to omit zoom and range synchronization, for performance reasons. 2017-06-19 16:31:53 -06:00
Luke Morris d8bd6fd959 Update version number 2017-06-19 11:13:35 -07:00
Jared Scheib 27fc2eac9d Fix Status Page timerange to be 30d again 2017-06-16 18:54:23 -07:00
Jared Scheib 7df4a6ed1a Merge branch 'master' into feature/status_page-1556 2017-06-16 17:52:16 -07:00
Jared Scheib 5bc56c41b2 Dynamically resize StatusPage height on window height change
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-06-16 17:36:32 -07:00
Jared Scheib 6bd91333d4 Update LayoutRenderer to use ES6 class syntax 2017-06-16 17:23:09 -07:00
Jared Scheib 6d74216ee5 Calc Status Page height for grid layout based on window height
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-06-16 17:22:37 -07:00
Jared Scheib e2bf4197e8 Add isWidget prop to LayoutRenderer propTypes 2017-06-16 16:33:21 -07:00
Luke Morris 7f008c67c5 Change resolution on graph resize 2017-06-16 16:25:45 -07:00
Alex Paxton e7a101650e Update cell names in status page
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-16 16:25:40 -07:00
Jared Scheib 62bd9141d6 Add 'he' lib via yarn; use it to decode HTML entities in JSON Feed 2017-06-16 15:42:47 -07:00
Alex P 1220110e5b Merge branch 'master' into rule-creator-function-selector 2017-06-16 15:10:07 -07:00
Alex P a0bb5a29a2 Modify function selector to optionally work as a single select 2017-06-16 15:08:55 -07:00
Jared Scheib aa1df3527a Ensure UTF-8 decoding (didn't seem to be an issue) 2017-06-16 14:48:47 -07:00
Tim Raymond fad1d744b7 Merge branch 'master' into feature/tr-auto-group-by 2017-06-15 20:45:30 -04:00
Tim Raymond & Jared Scheib 71db0cf3d5 Use appropriate default group by for CEO and DE
For the Data Explorer, the appropriate default group by interval is 10s,
where in the CEO it should be :interval:, since template variables are
supported there.
2017-06-15 20:39:08 -04:00
Tim Raymond & Jared Scheib 2834df5ca3 Ensure group by time when toggling fields
This makes sure that a group by time is applied whenever a function is
applied to a field within the query builder.
2017-06-15 20:19:56 -04:00
Jared Scheib & Tim Raymond 28360c7c02 Fix Auto Group By time with Data Explorer
The Data Explorer doesn't work with the :interval: template variable, so
it makes no sense to have an 'auto' option in the group by time
dropdown.
2017-06-15 19:17:57 -04:00
Luke Morris e95e0d28e7 Revert "Merge pull request #1585 from influxdata/revert-auto-func"
This reverts commit 85376edc1f, reversing
changes made to cdde4ff4dc.
2017-06-15 17:43:35 -04:00
Tim Raymond & Jared Scheib f18609cfc3 Rename :autoGroupBy: to :interval:
This naming is more consistent with user's expectations from other
similar visualization tools.

Also, the usage of the variable now requires the words "GROUP BY" to be
present. e.g. `GROUP BY :interval:`
2017-06-15 17:43:27 -04:00
Tim Raymond & Jared Scheib 5cd742b6ab Update Group By Dropdown with Auto Option
This adds an "auto" option to the group by dropdown which interpolates
"GROUP BY :autoGroupBy:" to the query.
2017-06-15 17:41:55 -04:00
Jared Scheib ba12733846 Update URLs to use 'latest' for better future-proofing 2017-06-15 14:16:29 -07:00
Alex P e433a629da Make the entire white square a link 2017-06-15 10:14:03 -07:00
bamb0u 98beef2c2a Update link to the latest documentation version
Link is not pointing to the last version of the documentation of kapacitor v1.3
2017-06-15 18:09:14 +02:00
Jared Scheib b84d23e7e0 Merge remote-tracking branch 'origin/master' into feature/status_page-1556 2017-06-14 19:27:24 -07:00
Jared Scheib 81466702d2 Remove unnecessary className braces 2017-06-14 19:17:27 -07:00
Luke Morris de6b43c087 Cube should link to /status 2017-06-14 17:37:06 -07:00
Alex P c98a55062f Style "no associated kapacitor" error 2017-06-14 17:35:33 -07:00
Alex P 8b7cbcc1ed Jared wrote this 2017-06-14 17:08:57 -07:00
Alex P 7d5dd7f1a8 Protect against potentially data not having items 2017-06-14 17:08:28 -07:00
Alex P c801a1d63e Style 'failed to load' and 'failed to refresh' states of newsfeed 2017-06-14 17:06:38 -07:00
Alex P db43bb5e9b Style 'load more alerts' button and accompanying empty state 2017-06-14 16:48:00 -07:00
Jared Scheib ba4332d431 Only show Get More button if there are alerts 2017-06-14 14:15:15 -07:00
Jared Scheib 8a7c2afc7d Remove /status 'eye' icon from side nav 2017-06-14 14:03:19 -07:00