Commit Graph

2942 Commits (4566c5dd842acb0029a46476dbee7c2cd2d97b6e)

Author SHA1 Message Date
Andrew Watkins c5cc63093e Make loading on the rules page actually work 2017-07-12 12:38:23 -07:00
Andrew Watkins 6540624779 Update silly linter rule 2017-07-12 12:38:23 -07:00
Alex P 5a27dfebb4 Sort alert rules table by rules name a-z 2017-07-12 11:49:09 -07:00
Alex P 4a37565e59 Style view tick script overlay 2017-07-12 11:41:33 -07:00
Alex P 15feae2184 Polish alert rules table 2017-07-12 11:20:31 -07:00
Andrew Watkins 94f24c1fcb Tweak styles a bit 2017-07-11 14:48:29 -07:00
Andrew Watkins a8ac8bb9c6 Display TICKscript on rules index 2017-07-11 14:38:24 -07:00
Hunter Trujillo 2a3ad3ac9a Merge pull request #1681 from influxdata/feature/1482-custom-time-range
Custom Time Ranges
2017-07-11 14:05:27 -06:00
Hunter Trujillo 812d7c0147 Initial IE 11 support. Add babel polyfill. Fix a small event error. 2017-07-10 17:10:45 -06:00
Hunter Trujillo 025af5c1ca Merge branch 'master' into feature/1482-custom-time-range
# Conflicts:
#	ui/src/style/pages/dashboards.scss
2017-07-10 16:09:14 -06:00
Hunter Trujillo a82936a2e7 womp womp 2017-07-10 15:54:54 -06:00
Hunter Trujillo 7846beff3f Fix quoting around timeStamps. Affects server code. 2017-07-10 15:33:48 -06:00
Alex P 4bbdf0a3c3 Merge branch 'master' into alerts-table-tweaks 2017-07-10 13:20:20 -07:00
Jared Scheib dcaabe10bb Merge pull request #1709 from influxdata/fix/he_dep_package_json/1693
Move dependency to correct package.json and yarn.lock
2017-07-10 13:15:08 -07:00
Alex P ff0db2779e Change level column to dot instead of text, truncate long hostnames with ellipsis
Browser displays full hostname when mouse hovers over link
2017-07-10 13:14:30 -07:00
Alex Paxton 45f88c7db8 Merge branch 'master' into zindex 2017-07-10 12:52:08 -07:00
Jared Scheib 50bfe97ac4 Move he dep to correct package.json and yarn.lock 2017-07-10 12:38:36 -07:00
Alex P 95b1fedf23 Prioritize alert name over host 2017-07-10 12:22:40 -07:00
Luke Morris 2533c76d6e Bump version, update changelog 2017-07-10 11:52:12 -07:00
Andrew Maney d54425347c Z-index for options menu fixed 2017-07-10 13:14:50 -04:00
Alex P b6fa438fef Make NAME and HOST columns less likely to wrap
- LEVEL, TIME and and VALUE have fixed pixels widths as the maximum
content size is predictable
2017-07-07 17:20:33 -07:00
Andrew Watkins 0a80cac953 Merge pull request #1679 from influxdata/get-legend-rekt
Update legend functionality
2017-07-07 16:53:25 -07:00
Andrew Watkins f9be34655f Merge pull request #1697 from influxdata/hotfix/custom-time-range
Custom Time Range Indicator Hotfix
2017-07-07 16:52:29 -07:00
Jared Scheib 8bf6c71119 Fix isEditable prop name 2017-07-07 16:00:17 -07:00
Jared Scheib 342941cef8 Make minor syntax consistency updates 2017-07-07 15:42:17 -07:00
Andrew Watkins 79ba169f6f Put parent in charge of when to render custom time 2017-07-07 13:28:49 -07:00
Andrew Watkins 7bd7734c74 Fix bool 2017-07-07 13:25:02 -07:00
Andrew Watkins 00c0f44b97 Refactor NameableGraph component 2017-07-07 13:22:38 -07:00
Andrew Watkins 657da10701 Refactor to use js class syntax 2017-07-07 11:45:06 -07:00
Andrew Watkins 2b2abacaf7 Pull out custom time range into separate component 2017-07-07 11:37:53 -07:00
Hunter Trujillo 579c2fac81 Fix tempvar on status page. 2017-07-07 08:37:34 -06:00
Hunter Trujillo ce3305fabd Fix broken upper time range tempvar. 2017-07-07 08:34:03 -06:00
Hunter Trujillo 05cbed726b Fix node-sass version for Node 8 support. 2017-07-06 17:29:59 -06:00
Hunter Trujillo ecad98beba Fix quoting of template variable value quoting. 2017-07-06 15:16:06 -06:00
Hunter Trujillo e71fca2bf8 Fix issue on both homepage and status page where custom time range indicator data is not present on the cell's query. 2017-07-06 14:31:28 -06:00
Alex P c1045841d7 Fix merge conflicts 2017-07-06 12:49:05 -07:00
Alex P 13b81cb935 Make filter toggleable 2017-07-06 12:16:03 -07:00
Alex P eebef62cc5 Make time list in time range selector appear above the apply button
Woooooo z-index issues
2017-07-06 10:10:47 -07:00
Alex P 7469c6dd23 Prevent z-index mixup in which graph options appears above custom time selector 2017-07-06 10:03:08 -07:00
Alex Paxton 4711807dee Merge pull request #1677 from influxdata/custom-range-on-cells
Display Custom Time Range on Cell
2017-07-06 09:58:02 -07:00
Hunter Trujillo 187d593007 Improved unitOfTime regex. 2017-07-06 09:26:25 -06:00
Alex P 2f34756767 Use monospace font inside dropdown for consistency
Also matching font size to not cause a discrepancy in calculated width
2017-07-05 14:44:57 -07:00
Alex P dece136b54 Use calculate-size and enforce maximum width
Items in dropdown menu that exceed the max width wrap text
2017-07-05 14:04:46 -07:00
Alex P d0047e48cb Install text size calculator package
As per recommendation of @cryptoquick this thing is a much more sound
means of doing the calculation than my initial approach
2017-07-05 14:04:46 -07:00
Alex Paxton d2fadbf51b Merge branch 'master' into bugfix-tempvar-dropdown-jitter 2017-07-05 12:35:02 -07:00
Alex P 3a1291a0da Prevent TempVar Dropdown size jitter
Determines the required length in pixels based on the length of the
longest item in the menu and only sets it if it is greater than the
minimum dropdown width
2017-07-05 12:27:03 -07:00
Tim Raymond 40a5609e78 Fix RP duration editing on admin page
Validation logic in the "DatabaseRow" component made some optimistic
assumptions about the presence of the "replication" in state.
Replication won't be present in OSS or Influx Relay sources, so when
users tried to update other properties of a retention policy, it failed
with an error that indicated "replication" was undefined.

Since this is expected and desired behavior, this patch uses the
existing "isRFVisible" property to determine whether or not we should
process the "replication" part of the component's state, or simply
replace it with a "1", which is the only allowed value for
non-Enterprise sources.
2017-07-05 11:41:16 -04:00
Hunter Trujillo 0ca0be2481 Fix for tests. Phew! Thanks unit tests! 2017-06-30 17:52:50 -06:00
Hunter Trujillo b99ad9122e Merge branch 'feature/1482-custom-time-range' of github.com:influxdata/chronograf into feature/1482-custom-time-range 2017-06-30 17:34:15 -06:00
Hunter Trujillo 51b9b48aab Fix for Hostpage. 2017-06-30 17:34:07 -06:00
Hunter Trujillo b19ab93d47 Fix Dashboard customTimeRange persistence. Fix propTypes. 2017-06-30 17:21:23 -06:00
Andrew Watkins 7379b32dc3 Fix bug where legend could not return if no series were visible 2017-06-30 15:40:01 -07:00
Andrew Watkins c5b419880e Handle undefined series 2017-06-30 15:36:25 -07:00
Alex P d3f400860a Make non-highlighted series labels more legible 2017-06-30 15:36:24 -07:00
Alex P e77e28c8a4 Add timestamp to legend 2017-06-30 15:36:24 -07:00
Alex P 4855204f94 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 15:36:24 -07:00
Andrew Watkins 5214f80bc4 Use component this 2017-06-30 15:36:24 -07:00
Andrew Watkins 5bd50fd587 Show and hide filtered series on graph 2017-06-30 15:36:24 -07:00
Andrew Watkins d381312b9c Hide legend a little better 2017-06-30 15:36:24 -07:00
Andrew Watkins 8ad72e554c Handle removing measurement from legend label 2017-06-30 15:36:24 -07:00
Andrew Watkins 6b36881ebe Refactor sort order 2017-06-30 15:36:24 -07:00
Andrew Watkins 118c4d095c Hide hide and show legend 2017-06-30 15:36:24 -07:00
Andrew Watkins 617f62da52 Refactor sorting and ordering 2017-06-30 15:36:24 -07:00
Andrew Watkins f0728264db Add filtering to legend 2017-06-30 15:36:23 -07:00
Andrew Watkins 9b9a709893 Sorting persists on legend update 2017-06-30 15:36:23 -07:00
Andrew Watkins 7d3d16a88b WIP tweak styles 2017-06-30 15:36:23 -07:00
Andrew Watkins 32ecf1b796 Add ability to sort numerically and alphabetically 2017-06-30 15:36:23 -07:00
Andrew Watkins 45ee3f7253 Move legend into component 2017-06-30 15:36:23 -07:00
Andrew Watkins 1cd661da82 Move functions into separate dir 2017-06-30 15:36:23 -07:00
Andrew Watkins 1d8e42fe6e Allow sorting legend by numeric values 2017-06-30 15:36:23 -07:00
Andrew Watkins 8b92ca7ff8 Persist legend in when hovered over 2017-06-30 15:36:23 -07:00
Alex P efebeaac18 Adjust custom time picker so it plays nice when inside regular time range dropdown 2017-06-30 15:34:43 -07:00
Hunter Trujillo 17af88374c Add upperDashboardTime TV. 2017-06-30 16:22:46 -06:00
Hunter Trujillo 5158e49ee3 Fix for dashboardTime on Dashboards. 2017-06-30 16:22:18 -06:00
Hunter Trujillo 089649326a Refactor CustomTimeRangeDropdown to contain its own display state. Add CustomTimeRangeDropdown to DE. Add quotes to date strings in a naive manner. 2017-06-30 15:15:02 -06:00
Alex P 843c395fa1 Polish legend further
- Subtle shadow to help visually distinguish the legend container
- Align timestamp to adjacent items
- Only show scrollbar when it needs to exist
- Use a custom scrollbar in chrome (no support in other browsers)
2017-06-30 13:48:58 -07:00
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
Jared Scheib f4fc3b8777 Make /status the default home page 2017-06-14 14:01:38 -07:00
Alex P ee112419c9 Clean up detection of duplicate names 2017-06-14 10:25:08 -07:00
Tim Raymond aa1e3cd4d2 Move hardcoded reporting interval to client side
There's some follow-on work to be done here to determine an appropriate
value for the reporting interval, but for now this lets the client
supply it.
2017-06-14 10:54:02 -04:00
Tim Raymond 66be46bf23 Fix :dashboardTime: by introducing tvar precedence
In order for :autoGroupBy: and :dashboardTime: to co-exist in a query,
it's necessary to introduce template variable precedence to the backend.
This is done by adding a `Precedence()` method to the TemplateVariable
interface that returns an ordinal indicating the precedence level of the
template variable. Precedence starts from 0 (highest) proceeding to the
maximum that a `uint` can represent.

A template variable at a given precedence level can expect that all
template variables with higher precedence will have already been
replaced in the query that is passed to its `Exec` call.

For example, :autoGroupBy: has lower precedence than :dashboardTime:
because it needs to know the selected time range for the query. When the
`Exec` method of `GroupByVar` is invoked, it will see the query after
:dashboardTime: has already been replaced, allowing it to extract the
duration successfully.
2017-06-14 10:54:02 -04:00
Tim Raymond a7cc6040d3 Add hacks to make AGB work with the frontend 2017-06-14 10:54:02 -04:00
Tim Raymond 4912f4d375 Fetch resolution from dygraphs for autoGroupBy 2017-06-14 10:52:29 -04:00
Jared Scheib c4f813319b Add 'Get More' button to Alerts widget via proxy query limit 2017-06-13 20:33:16 -07:00
Jared Scheib f8754fb3d2 Update error notification on 404 when fetching JSON feed 2017-06-13 19:24:06 -07:00
Jared Scheib 0973b05416 Modify status fixture graph type to 'bar'
Update bar graph fixture title to spec
2017-06-13 18:46:26 -07:00
Jared Scheib 25813406ab Rename status reducer to statusUI; fix date prop validation 2017-06-13 18:38:29 -07:00
Jared Scheib edb14f4ff5 Update JSONFeedReader to use latest live schema 2017-06-13 18:19:28 -07:00
Jared Scheib 3a37bfc409 Retrieve live JSON feed; delete fixture data 2017-06-13 17:57:25 -07:00
Alex P 9eb046ec3c Prevent users from giving a Kapacitor a duplicate name 2017-06-13 17:13:25 -07:00
Alex P 32cfd7675a Prevent users from giving a Kapacitor an excessively long name 2017-06-13 17:13:07 -07:00
Jared Scheib c2f0af7e37 Update NewsFeed to use statusFeed url 2017-06-13 16:42:05 -07:00
Jared Scheib b031dd5a78 Add statusFeed url to initial links reducer state 2017-06-13 16:41:37 -07:00
Jared Scheib a455f87487 Test linksReceived in new links reducer 2017-06-13 16:40:13 -07:00
Jared Scheib 4369be7b17 Load external links from /chronograf/v1 into Redux 2017-06-13 16:25:12 -07:00
Alex P d9b9ac59af Increase breathing room of Y axes 2017-06-13 15:34:52 -07:00
Alex P 486c175b01 Polish dygraphs crosshair 2017-06-13 15:02:37 -07:00
Alex P eb2becfa12 Polish singleStat+lineGraph shadow even further
Preventing the shadow from being way larger than the text above it
2017-06-13 14:59:47 -07:00
Alex P 407322de67 Use blur instead of box to increase legibility of singleStat on top of lineGraph 2017-06-13 14:43:21 -07:00
Alex P c0ddea194a Polish lineGraph + singleStat
- line color is always a darker purple
- small overlay behind text for visibility (more legible than text
border)
2017-06-13 12:49:12 -07:00
Alex P e2d56462f9 WIP polish for singleStat + lineGraph 2017-06-13 12:32:52 -07:00
Alex P a6000a162f Make singleStat+LineGraph respond to cell height like single stat 2017-06-13 12:32:36 -07:00
Alex P 7da9643b36 Make dashboards table consistent with other tables
Restricting use of monotype to numbers and code samples for legibility
2017-06-13 12:32:04 -07:00
Alex P a4a1ff7088 Merge branch 'master' into minor-theme-improvements 2017-06-13 12:31:03 -07:00
Jared Scheib b2b012e8ca Update RefreshingGraph to conform to merged Bar Graph implementation 2017-06-13 10:56:55 -07:00
Jared Scheib 0f847e0065 Merge remote-tracking branch 'origin/master' into feature/status_page-1556 2017-06-13 10:55:16 -07:00
Jared Scheib 0fbd216d1a Add code reference citation for future debugging 2017-06-13 10:28:41 -07:00
Jared Scheib ec16addb4e Update 'chart' to 'graph' for consistency 2017-06-13 10:26:04 -07:00
Alex P 75a2af263e Polish Source table more
- Highlight active source with green text
- “Add Config” buttons are less bright
- Kapacitor dropdowns are more bright
- Add QuestionMark Tooltip to clarify things a bit
2017-06-13 10:08:18 -07:00
Alex P 43d98456a7 Visually separate the kapacitor column 2017-06-12 16:52:15 -07:00
Hunter Trujillo 67c615bb15 Solve for sets.length of 1. 2017-06-12 16:26:14 -06:00
Jared Scheib 6eaead45e2 Modify hard-coded links to use /latest path so they remain up-to-date 2017-06-12 13:51:29 -07:00
Alex P b3d9dcc856 Rework source table design
- Trash icon becomes more explicit “Delete Source”
- Moved “Connect” to the left side
- Changed table header to “Active Kapacitor”
2017-06-12 12:59:53 -07:00
Alex P 6f9dbf5fbf Create style for permanently highlighted table rows 2017-06-12 12:58:56 -07:00
Jared Scheib 110bf46925 Update fixture query Bar Graph on Status Page 2017-06-12 12:18:11 -07:00
Hunter Trujillo a4e6195b6e Et voíla. Bar charts. 2017-06-12 12:59:51 -06:00
Jared Scheib 29553a4f4b Fix GettingStarted link targets to open new page 2017-06-12 11:23:16 -07:00
Alex P 2480e8cabb Add static content to getting started cell 2017-06-09 16:55:55 -07:00
Alex P f90fb1d9b5 Always show scrollbar on recent alerts cell 2017-06-09 14:16:27 -07:00
Alex P 20d8f89b34 Polish recent alerts table 2017-06-09 14:14:30 -07:00
Alex P d0f584aefe Refactor sortable table headers, add indicators to Alerts table 2017-06-09 14:10:11 -07:00
Alex P 1afba6db7f Restore time range to before debug state 2017-06-09 12:34:15 -07:00
Alex P 61f49cf689 Change cell sizes to better suit content 2017-06-09 12:33:09 -07:00
Alex P f87986bbd2 Style newsfeed 2017-06-09 12:32:52 -07:00
Alex P 6ae77b5f77 Resolve conflicts 2017-06-09 12:32:29 -07:00
Jared Scheib 57cf7c2cdb Fix display of text in News Feed; style JSONFeedReader 2017-06-09 01:48:34 -05:00
Jared Scheib e328c30014 Simplify isFailed render logic 2017-06-09 01:13:20 -05:00
Jared Scheib 1053b4cbee Render JSON feed data (text not showing)
Wrap JSONFeedReader in FancyScrollbar
2017-06-09 01:12:58 -05:00
Jared Scheib 35fa6da292 Comment out linter errors temporarily 2017-06-09 01:03:46 -05:00
Jared Scheib 7942cc9411 Make error notification consistent with others; console log error 2017-06-09 01:02:03 -05:00
Jared Scheib 12aa43af07 Fix linter negative bool error 2017-06-09 01:00:52 -05:00
Jared Scheib 3cda6933e2 Actually fix fetch conditional render logic in NewsFeed 2017-06-09 00:30:52 -05:00
Jared Scheib 12c1adcba5 Add functional skeleton for JSONFeedReader 2017-06-09 00:23:22 -05:00
Jared Scheib cf9f6b654f Add TODO comments for finishing NewsFeed 2017-06-09 00:22:44 -05:00
Jared Scheib ddf328377d Fix spinner logic by clarifying firstFetch bool
Support this change by replacing 'get' with 'fetch' throughout Status app
2017-06-09 00:19:59 -05:00
Jared Scheib 4af68e90ca Fix fixture query for to have field func and groupby 2017-06-08 23:40:21 -05:00
Jared Scheib 338b0945b1 Remove obsolete & non-functional HOC sketch 2017-06-08 23:29:26 -05:00
Jared Scheib 22a97d7a3d Update fixtures 2017-06-08 23:28:02 -05:00
Jared Scheib e8bebebe19 Return fixture data until json feed proxy implemented 2017-06-08 23:27:31 -05:00
Jared Scheib 062261a4cc Remove console 2017-06-08 23:26:49 -05:00
Jared Scheib de7897f0c6 Add isFirstFetch and 3 refreshing or failure states to NewsFeed 2017-06-08 23:16:17 -05:00
Jared Scheib 937afc4656 Fix & update JSONFeed endpoint to hypothetical proxy one 2017-06-08 23:01:33 -05:00
Jared Scheib 006b3af4e9 Update AJAX fn to ES6 2017-06-08 22:58:43 -05:00
Jared Scheib 89d3d74e78 Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556 2017-06-08 19:35:12 -05:00
Jared Scheib 3434d75a00 Change name of statusReducer; add JSONFeed reducer 2017-06-08 19:34:56 -05:00
Jared Scheib 7118e8cce5 Delete this file for simplicity 2017-06-08 19:33:37 -05:00
Jared Scheib c587c894b1 Make autoRefresh and timeRange actionType constants 2017-06-08 19:33:11 -05:00
Jared Scheib 28095a0984 Implement initial NewsFeed component 2017-06-08 19:32:44 -05:00
Jared Scheib a96297a6f2 Fix getJSONFeed AJAX func 2017-06-08 19:31:52 -05:00
Jared Scheib 5cde9361d6 Remove url as param to actions & change actionTypes import 2017-06-08 19:31:19 -05:00
Jared Scheib 0ec450cb33 Add NewsFeed to LayoutRenderer 2017-06-08 19:30:56 -05:00
Jared Scheib a36c7b1a0e Fix logoutLink key in AJAX catch for Redux 2017-06-08 19:21:05 -05:00
Alex P 85889c27cb Make dashboard cell menu hover state more obvious 2017-06-08 17:09:10 -07:00
Alex P c10fd915d6 Remove excess styles
Previously was using these to override the “width: 100%” style from the
theme, which I have no removed
2017-06-08 17:07:51 -07:00
Alex P 9e333d8033 Make "Write Data" button match other neutral buttons 2017-06-08 17:07:05 -07:00
Alex P 442fe3e779 Clean up hosts table sizing & font styles
Remove jitter when loading, make font consistent with Sources table
2017-06-08 17:01:43 -07:00
Alex P 8e65054c33 Merge branch 'master' into minor-theme-improvements 2017-06-08 16:51:10 -07:00
Alex P 19398bbfcd Refactor styles
Works better in more contexts, no longer assumes it is a direct child
of .chronograf-root
2017-06-08 16:36:22 -07:00
Jared Scheib d658390add Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556 2017-06-08 17:47:01 -05:00
Jared Scheib 478c9849fb Merge branch 'feature/status_page-1556' of https://github.com/influxdata/chronograf into feature/status_page-1556 2017-06-08 17:46:53 -05:00
Alex P 457e87a503 Improve UX of alert table empty state 2017-06-08 15:03:24 -07:00
Alex P c6ad7751f5 Separate table and empty state into their own render functions to play nicer with widget mode 2017-06-08 14:50:48 -07:00
Alex P ca2104c9f7 Remove unnecessary wrapping DIV 2017-06-08 14:49:41 -07:00
Jared Scheib e71b9a1bda WIP 2017-06-08 16:04:34 -05:00
Alex P e99fade37c Refactor dygraphs styles to be more flexible
Previous approach relied on the DOM tree rendering a certain way, this
approach does not. Made the change to polish appearance of the Status
Page, but will also prevent styling headaches in the future
2017-06-08 13:14:07 -07:00
Alex P a3351a8303 Prevent full page styles when is a widget 2017-06-08 12:02:37 -07:00
Jared Scheib 3c69a4e4ad WIP Add Redux-based JSONFeedPoller component and actions skeleton 2017-06-08 13:53:33 -05:00
Alex P 2699f5fadb Make status page header full width for consistency 2017-06-08 11:42:50 -07:00
Jared Scheib f7a7510c25 Move StatusPage fixture to fixtures file 2017-06-08 12:13:06 -05:00
Jared Scheib b7eda1a48e Add NewsFeed fixture data 2017-06-08 12:10:13 -05:00
Jared Scheib f076eeb394 Widgetize AlertsApp & add preliminary Alerts widget to StatusPage
Use optional timeRange prop in AlertsApp to set lower timeRange in seconds
Fix source pass-in to LayoutRenderer from StatusPage & make source use with LayoutRenderer consistent across app
Change nonGraph terminology to Widget
Change dimensions of StatusPage fixture cells
2017-06-08 02:41:04 -05:00
Jared Scheib b1499cc0e1 Clarify timeRange lookup by matching on explicit Lower string
Update initial timeRange for status reducer
2017-06-08 02:32:31 -05:00
Jared Scheib e24d5bcc92 Make filter bar hideable via props 2017-06-08 02:23:50 -05:00
Jared Scheib 8ff5c83f2c Refactor AlertsTable to ES6 class 2017-06-08 00:34:34 -05:00
Jared Scheib 58d8ebec57 Update getAlerts syntax to ES6 2017-06-08 00:25:01 -05:00
Jared Scheib 0619336137 Use LayoutRenderer instead of building GridLayout in StatusPage
Add isNotGraph and real influxQL query to fixtures
Add autoRefresh, timeRange, and templates to StatusPage
2017-06-08 00:03:54 -05:00
Jared Scheib ae5b66a55f Simplify LayoutRenderer logic to determine if cell is a graph
Use switch instead of if/else for non graph rendering
Rename conformQueries to standardizeQueries
2017-06-08 00:02:25 -05:00
Jared Scheib e41a280315 Add Status reducer with autoRefresh and timeRange 2017-06-07 23:57:51 -05:00
Jared Scheib 91f305495f Update hson paths to absolute 2017-06-07 23:55:35 -05:00
Jared Scheib 2499f5fa7e Refactor skeleton to accommodate graph vs non-graph cells
Connect StatusPage to router props, ex. source
2017-06-07 18:40:26 -05:00
Jared Scheib af070832bb Refactor RefreshingGraph into dedicated component 2017-06-07 18:31:22 -05:00
Jared Scheib 94de790fbd Remove 'component' prop from non-graph cells in LayoutRenderer 2017-06-07 17:33:25 -05:00
Jared Scheib 7e54784795 Revert to non-Dashboard StatusPage 2017-06-07 17:32:57 -05:00
Jared Scheib f7bc85f708 Merge branch 'master' into feature/status_page-1556 2017-06-07 12:07:27 -05:00
Hunter Trujillo bc7f75d25a Prettier tests. 2017-06-07 10:23:53 -06:00
Hunter Trujillo e79c76f5a6 Update prettier formatting and update ESLint rules to match. 2017-06-07 10:12:40 -06:00
Jared Scheib 2172b0a4db WIP Refactor parts of LayoutRenderer to accommodate non-graph visualizations; refactor StatusPage to use a Dashboard 2017-06-06 19:32:15 -05:00
Jared Scheib e5ff925033 Use getActiveDashboard consistently in DashboardPage 2017-06-06 19:30:39 -05:00
Jared Scheib c7a51c817b Merge remote-tracking branch 'origin/master' into feature/status_page-1556 2017-06-06 17:22:46 -05:00
lukevmorris 6e3acf0386 Restore Line + Single Stat styling (#1594)
* Restore Line + Single Stat styling

* Update CHANGELOG
2017-06-06 15:07:11 -07:00
Jared Scheib 0dc7d8586c Merge pull request #1512 from influxdata/feature/upgrade_and_synchronize_dygraphs
Upgrade and synchronize dygraphs, fix legend fall-off
2017-06-06 16:59:13 -05:00
Jared Scheib 79cfe02922 Prevent legend from swooping on-screen when graph is repositioned
Remove legend animation to support prevent of swooping
2017-06-06 16:44:58 -05:00
Jared Scheib c93c8ac6de Add comments to workaround for legend disappear on redraw 2017-06-06 16:40:18 -05:00
Jared Scheib 791a694c79 Move and comment graph synchronizer opt-out logic 2017-06-06 13:37:41 -05:00
Jared Scheib 9815d302a9 Update bool vars to use 'is' convention 2017-06-06 13:37:07 -05:00
Jared Scheib 93ea172b3a Add Status Page skeleton to UI 2017-06-05 19:10:30 -05:00
Jared Scheib 8839fbac50 Change import path to absolute 2017-06-05 19:09:02 -05:00
Jared Scheib 6b81aa5bb2 Reorder component import to match routes order 2017-06-05 14:02:07 -05:00
Jared Scheib 533a8d62ec Reorder client router routes to match nav order 2017-06-05 13:58:55 -05:00
Regan Kuchan 5a0abe2de7 Update version and changelog for v1.3.2.0 2017-06-02 13:34:23 -06:00
Jared Scheib 33cf8a8c53 Merge remote-tracking branch 'origin/master' into feature/upgrade_and_synchronize_dygraphs
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-06-01 17:58:10 -07:00
Jared Scheib 8e688e812f Recombobulate synchronizer to accommodate graphs with different time ranges
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-06-01 17:27:37 -07:00
Alex P 4f30ed8a49 Shrink bootstrap theme 2017-06-01 16:19:01 -07:00
Jared Scheib 012b7ce30d Merge pull request #1584 from influxdata/1583-fix/submenu_display
Fix hidden submenus when alert notification on screen
2017-06-01 16:07:59 -07:00
Andrew Watkins e9d13e92c6 Comment out test 2017-06-01 16:00:05 -07:00
Andrew Watkins fb7ae38649 Revert auto-funcs 2017-06-01 15:50:04 -07:00
Jared Scheib d87f61df74 Merge branch 'master' into 1583-fix/submenu_display 2017-06-01 15:44:59 -07:00
Alex Paxton 032d4efde8 Fix z-index failure caused by Notifications being below SideNav in DOM
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-01 15:28:02 -07:00
Jared Scheib 6c7e1d0de4 Fix load localStorage and warning UX on fresh Chronograf install
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-06-01 15:08:52 -07:00
Alex Paxton c95dfda832 Merge pull request #1575 from influxdata/improve-function-selector-ux
Improve Function Selector UX
2017-06-01 13:41:34 -07:00
Jared Scheib 085106849d Toggle correct field funcs in open func selectors when funcs are changed
This applies for when you have one or more open function selectors and
change a field with no funcs selected to have one, or vice versa, such
that the other field funcs are changed to match. Now, the UI will
update accordingly as expected to reflect the selected funcs for all fields.

Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-06-01 13:15:05 -07:00
Alex Paxton dfd6d4349e Hide function selector when fieldListItem is toggled
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-06-01 13:13:28 -07:00
Alex P 9ec7acbb7f Change toggle text to "0 Functions" when no functions are applied
Slightly more clear what is going on
2017-06-01 12:40:56 -07:00
Alex P 2d3c675bd9 Merge branch 'master' into improve-function-selector-ux 2017-06-01 12:30:37 -07:00
Alex Paxton e532c90664 Merge branch 'master' into new-sidenav-user-icon 2017-06-01 12:29:13 -07:00
Jared Scheib 91fcfbe365 Merge pull request #1564 from influxdata/fix/sourceless_logout
Fix logout menu item functionality & provide logoutLink only when using auth
2017-06-01 12:13:55 -07:00
Andrew Watkins e2946fa39d Merge branch 'master' into feature/auto-func 2017-06-01 10:46:07 -07:00
Chris Goller a92923b46b Merge branch 'master' into fix/sourceless_logout 2017-05-31 22:09:32 -05:00
Alex Paxton 4b09bf5c7f Merge branch 'master' into new-sidenav-user-icon 2017-05-31 17:57:57 -07:00
Alex P 29fdb792b6 Make apply button green as to not blend in with adjacent blue buttons 2017-05-31 17:48:57 -07:00
Alex P 6c20528153 Change toggle color to indicate whether functions have been applied 2017-05-31 17:48:33 -07:00
Alex P ce2aa65789 Make functions toggle display count of applied functions
Doing that grammar thing so it doesn’t read “1 Functions”
2017-05-31 17:47:51 -07:00
Alex P 7ad47a581d Use .active instead of custom class
Forgot I could do this
2017-05-31 17:46:06 -07:00
Andrew Watkins 080d316d01 Merge pull request #1561 from influxdata/feature/save-ceo
Save CEO only with fully qualified queries
2017-05-31 14:23:05 -07:00
Andrew Watkins bed72b1396 Update confirm button props 2017-05-31 14:09:43 -07:00
Andrew Watkins 0cc7f0ada9 Update to better test name 2017-05-31 13:49:27 -07:00
Andrew Watkins f0e0426714 Apply mean automatically to any field 2017-05-31 10:05:14 -07:00
Andrew Watkins e300a27727 Update code to modern patterns 2017-05-31 09:42:58 -07:00
Andrew Watkins f93b735c92 Remove isRequired from template prop 2017-05-31 09:33:22 -07:00
Andrew Watkins 0745576a63 Flip disable logic 2017-05-31 09:25:16 -07:00
Jared Scheib cb394dd716 Refactor /chronograf/v1 to not return logoutLink if not using auth
Use logoutLink to determine if logout menu item is shown

Signed-off-by: Chris Goller <güllère@gmail.com>
2017-05-30 17:34:55 -07:00
Alex P 65a5370cd9 Undo debug mode 2017-05-30 17:01:48 -07:00
Alex P 1865ff6aa7 Use solid user icon instead of outline 2017-05-30 16:55:15 -07:00
Alex P 5d66814516 User pointer cursor on hover for all sidenav items 2017-05-30 16:55:02 -07:00
Alex P 3592f696f1 Add new icons to theme 2017-05-30 16:54:28 -07:00
Jared Scheib 293d7ccfd3 Add comment to explain useAnchor bool 2017-05-30 15:43:37 -07:00
Jared Scheib f6b8f5ee01 Fix logout button by allowing NavHeaders to be anchor tags, partially regressed in edce111f6 2017-05-30 15:23:11 -07:00
Jade McGough 97191fb69f remove unused imports from spec 2017-05-30 14:48:42 -07:00
Jade McGough 80113f948d add missing write file 2017-05-30 14:45:40 -07:00
Jade McGough 0b3bf385b4 cleanup classname constant 2017-05-30 14:45:40 -07:00
Jade McGough 2de105bc34 additional cleanup from code review 2017-05-30 14:45:40 -07:00
Jade McGough 953add51b6 extract overlay class name into constant 2017-05-30 14:45:40 -07:00
Jade McGough cfad36bf32 optimistic update when writing line protocol 2017-05-30 14:45:40 -07:00
Jade McGough 5e1ffe534c better naming 2017-05-30 14:45:40 -07:00
Jade McGough 30f3ab3fd3 stop propogation for escape listener in write data form 2017-05-30 14:45:40 -07:00
Jade McGough 6ca15b62dc fix prop destructuring 2017-05-30 14:45:40 -07:00
Jade McGough 528c7b3f9b writeData -> onWriteData 2017-05-30 14:45:40 -07:00
Jared Scheib b109bfa0d9 Make capitalization consistent 2017-05-30 14:45:40 -07:00
Jade McGough aa64ebefdb hack to prevent closing write data form when clicking alert 2017-05-30 14:45:40 -07:00
Jade McGough 3827003ec4 prepend write failed message 2017-05-30 14:45:40 -07:00
Jade McGough 889c874d01 disable when no input is in write data form 2017-05-30 14:45:40 -07:00