Commit Graph

2942 Commits (4566c5dd842acb0029a46476dbee7c2cd2d97b6e)

Author SHA1 Message Date
Jared Scheib 6f21403ab5 Rename OneOrAny classes and element
Signed-off-by: Alex Paxton <thealexpaxton@gmail.com>
2017-08-04 17:53:09 -07:00
Alex P 85eb4a2555 WIP "one or any" component
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-04 17:53:09 -07:00
Andrew Watkins c307715840 Merge pull request #1821 from influxdata/fix/alerts_table_keys-1813
Use UUID for AlertsTable element keys to prevent overlap
2017-08-03 19:12:05 -07:00
Andrew Watkins e6ffc0e256 Update function names for fun and profit 2017-08-03 17:22:35 -07:00
Jared Scheib f8b13dcfa3 Clarify and specify var and func names 2017-08-03 15:14:22 -07:00
Jared Scheib 5cd915c19c Use UUID for AlertsTable element keys to prevent overlap 2017-08-03 15:03:13 -07:00
Andrew Watkins e11d2d38aa Pass queryConfig down to Dygraphs so it can make label decisions 2017-08-03 14:50:44 -07:00
Andrew Watkins 47b5f6cf4d Add logic to handle ranges that are submitted as equal 2017-08-03 14:28:58 -07:00
Andrew Watkins 6a0a4fc4fa Rename ranger to AxesOptions 2017-08-03 13:43:46 -07:00
Andrew Watkins fba53666b9 Add user instructions for how to use display options 2017-08-03 12:18:07 -07:00
Andrew Watkins 8e42facc26 Merge branch 'feature/1602-graph-bounds-setting' of github.com:influxdata/chronograf into feature/1602-graph-bounds-setting 2017-08-03 09:40:45 -07:00
Andrew Watkins bfd4ca8a5b Test all things 2017-08-03 09:40:24 -07:00
Jared Scheib bbceece7f5 Add line spacing, reorder import 2017-08-02 18:12:18 -07:00
Andrew Watkins 9ffdec7f44 Add placeholder to label 2017-08-02 16:13:48 -07:00
Andrew Watkins c5ce2e4707 Prevent clobbering of label when bounds are set 2017-08-02 16:11:25 -07:00
Andrew Watkins 442a7fdc21 Default to having a Ylabel class 2017-08-02 16:08:58 -07:00
Andrew Watkins 244d8fecd8 Fix clobbering of other axes fields 2017-08-02 15:50:29 -07:00
Andrew Watkins 3c57d0ce36 Determine if label present via the DOM 2017-08-02 15:42:25 -07:00
Andrew Watkins c5ab1112bb Move building of label to dygraph component 2017-08-02 15:07:54 -07:00
Andrew Watkins e863165019 Cleanup classname 2017-08-02 14:26:05 -07:00
Andrew Watkins 9162293071 Update style logic to use axes labels 2017-08-02 14:16:14 -07:00
Andrew Watkins a9249e04e0 Remove TODO 2017-08-02 14:15:00 -07:00
Andrew Watkins cc34b9c978 Stop adding labels to queries 2017-08-02 14:09:08 -07:00
Andrew Watkins 1fa004664b Add ability for users to specify labels 2017-08-02 14:08:07 -07:00
Andrew Watkins 4062a086ae Fix props error 2017-08-02 12:47:57 -07:00
Jared Scheib 640afb3f55 Revert GrooveKnob addition 2017-08-02 09:41:35 -07:00
Jared Scheib 27bc87eac5 Revert "WIP "one or any" component"
This reverts commit 3897228e30.
2017-08-02 09:40:31 -07:00
Jared Scheib a7c035fdce Revert "Rename classes and element"
This reverts commit b7bb9cb339.
2017-08-02 09:40:22 -07:00
Jared Scheib 31756ec361 Revert "Wire up GrooveKnob to be fully functional"
This reverts commit 69dbd0e988.
2017-08-02 09:39:55 -07:00
Jared Scheib 86d083823c Revert "WIP Pass values from GrooveKnob to parent"
This reverts commit c0cc730857.
2017-08-02 09:38:15 -07:00
Andrew Watkins e1ab849b63 Prettier 2017-08-02 08:45:09 -07:00
Tim Raymond 532a6a8c48 Merge branch 'master' into feature/1602-graph-bounds-setting
Also removed LegacyBounds marshaling since it was no longer necessary

Conflicts resolved:
	bolt/internal/internal.go
	bolt/internal/internal.pb.go
	bolt/internal/internal.proto
	bolt/internal/internal_test.go
	chronograf.go
	server/cells_test.go
	server/dashboards_test.go
	server/swagger.json
2017-08-02 11:29:29 -04:00
Alex Paxton c0cc730857 WIP Pass values from GrooveKnob to parent
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-01 20:43:45 -07:00
Alex Paxton 69dbd0e988 Wire up GrooveKnob to be fully functional
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-08-01 20:42:29 -07:00
Alex P b7bb9cb339 Rename classes and element 2017-08-01 19:51:20 -07:00
Alex P 3897228e30 WIP "one or any" component 2017-08-01 19:46:11 -07:00
Andrew Watkins ce02479704 Make linter happy 2017-08-01 16:16:24 -07:00
Jared Scheib 6f4c386e69 Improve error message on JSON Feed GET fail 2017-08-01 16:10:14 -07:00
Alex P c177ee706c Merge remote-tracking branch 'origin/feature/1602-graph-bounds-setting' into feature/1602-graph-bounds-setting 2017-08-01 14:41:02 -07:00
Alex P eb6f437c43 Fine tune UI for axis controls 2017-08-01 14:38:12 -07:00
Andrew Watkins 2270604c68 Comment out undone features 2017-08-01 13:24:52 -07:00
Andrew Watkins 101e5da0e7 Merge branch 'feature/1602-graph-bounds-setting' of github.com:influxdata/chronograf into feature/1602-graph-bounds-setting 2017-08-01 13:14:47 -07:00
Andrew Watkins b9bac12d88 Fix test and user submitted values check 2017-08-01 13:14:31 -07:00
Alex P d83fb97a00 Add UI scaffolding for more axis controls 2017-08-01 11:31:56 -07:00
Andrew Watkins cd9c341663 Tweak styles 2017-08-01 11:02:59 -07:00
Andrew Watkins 21edafce95 Shorten text 2017-08-01 09:42:37 -07:00
Andrew Watkins d0e322ef55 Save y range for user 2017-08-01 09:10:08 -07:00
Andrew Watkins 1a1b077a90 Remove axes normalizer
With the `bounds` returning from the backend and the values saved as
strings there's no longer a need to normalize cell state.
2017-07-31 14:00:54 -07:00
Hunter Trujillo 81c967f0b9 Refactor hashing function to be simpler and remove hash de-duplication. Remove highlight circle on bar graphs. 2017-07-31 11:57:51 -06:00
Hunter Trujillo 1292757b09 Add universal hashed colors algorithm. Fix bar graph column overlap. Remove crosshairs on bar graphs. 2017-07-28 18:20:22 -06:00
Andrew Watkins 4fa7883882 Merge branch 'master' into bugfix/domain 2017-07-28 07:49:33 -07:00
Andrew Watkins b8435cd4b8 Merge pull request #1799 from influxdata/bugfix/syncronize
Dont sync graphs if there is only one graph
2017-07-28 07:48:27 -07:00
Alex P 06de962b66 Prevent overlay from extending beyond the viewport
Factored in the heights of all the neighboring elements
2017-07-27 16:57:09 -07:00
Hunter Trujillo badc0a7374 Remember, kids... Always leave a note. 2017-07-27 17:43:45 -06:00
Hunter Trujillo 352f364032 We simply mustn't forget units on our flex-basis shorthand for IE11. 2017-07-27 17:28:55 -06:00
Hunter Trujillo 5777552296 Merge remote-tracking branch 'origin/master' into fix/ie11-support 2017-07-27 17:08:38 -06:00
Hunter Trujillo 310efe3fd2 Merge remote-tracking branch 'origin/master' into feature/1685-moving-time-ranges 2017-07-27 16:47:05 -06:00
Andrew Watkins 99eff45056 Embiggen the write data form 2017-07-27 15:23:59 -07:00
Andrew Watkins 753726d0f2 Dont sync graphs if there is only one graph 2017-07-27 14:38:57 -07:00
Andrew Watkins c2715b3263 Give preference to queryConfig range 2017-07-27 13:29:46 -07:00
Hunter Trujillo c9cbe94de9 Fix incorrect windows uptime query. Fix how the Windows value is used in the UI. 2017-07-27 13:34:10 -06:00
Andrew Watkins b442ec44ff Add button spinner css 2017-07-27 12:06:08 -07:00
Andrew Watkins 3774f43a0b Add uploading state to WriteForm 2017-07-27 12:05:57 -07:00
Jared Scheib 6ab9eefea1 Prevent Custom Time Range as option in Kapacitor Rule Alerts 2017-07-25 17:12:56 -07:00
Alex Paxton 866e6ae0a4 Fix CustomTimeRange z-index to show above DE query
Signed-off-by: Jared Scheib <jared.scheib@gmail.com>
2017-07-25 16:53:14 -07:00
Jared Scheib 55aa08201f Use combo TimeRangeDropdown with CustomTimeRange
Preserve custom timeRange when valid dates
2017-07-25 16:43:46 -07:00
Andrew Watkins 6a9bc36395 WIP add range to dashboard cell 2017-07-25 13:13:28 -07:00
Chris Goller 2d8b1ef340 Release 1.3.5.0 2017-07-25 15:08:02 -05:00
Alex Paxton 77e259bb7c Merge pull request #1779 from influxdata/misc-ui-fixes
Misc UI Fixes
2017-07-25 12:20:10 -07:00
Alex P fe157520aa Highlight snip button when active 2017-07-25 11:00:08 -07:00
Alex P 0da89e1707 Fix alignment of custom time indicator in presentation mode 2017-07-25 10:59:55 -07:00
Jared Scheib 7c8713cd72 Merge branch 'master' into fix/disentagle_de_and_kap_qcs-1772 2017-07-24 22:06:43 -07:00
Jared Scheib 3193249807 Fix Kapacitor queryConfigs tests 2017-07-24 21:56:35 -07:00
Jared Scheib 59701ef03b Fix Data Explorer tests; remove Kapa test from it 2017-07-24 21:36:14 -07:00
Jared Scheib cae6d14e37 Separate Kapacitor & Data Explorer queryConfig actions & reducers
Refactor actions to ES6
Rename Kapa & DE action creator groups & redux state top-level keys for clarity
Remove auto-add func to field in kapa
Remove unused actions and reducers from kapa queryconfigs
Replace react-addons-update with lodash _.filter and _.omit; yarn package
2017-07-24 21:31:54 -07:00
Alex P 3f5a25e77f Remove fancy-scrollbars dependent style 2017-07-24 17:53:30 -07:00
Andrew Watkins 99501b3897 WIP encorporate new shape for yRanges => axes 2017-07-24 15:01:23 -07:00
Jared Scheib ffb26bcde4 Merge pull request #1770 from influxdata/update/chronograf_version_text-1671
Specify that version is for Chronograf on Sources page
2017-07-24 13:11:05 -07:00
Jared Scheib f130072309 Merge pull request #1763 from influxdata/test/add_detailed_reporting
Add option for verbose reporting in client unit tests
2017-07-24 13:04:03 -07:00
Jared Scheib 23ca2c6868 Specify that version is for Chronograf on Sources page 2017-07-24 12:57:52 -07:00
Jared Scheib 3b39b6e19f Make test command consistent 2017-07-24 12:55:09 -07:00
Jared Scheib 0b4f3e0625 Add Testing section to ui/README.md 2017-07-24 12:49:41 -07:00
Jared Scheib a7d00b3069 Update comment with command line option 2017-07-24 12:49:29 -07:00
Hunter Trujillo b81e1113ba Use older data attribute accessor technique for pre IE 11 compat. 2017-07-24 12:59:01 -06:00
Andrew Watkins 15e41284e3 Handle user submitted zero 2017-07-24 11:31:32 -07:00
Alex P 41d175e980 Uncross the wires 2017-07-24 10:52:59 -07:00
Alex P 131ddd2c91 Style CEO Display Options
Using inline SVGs for visualization type selection, moved the whole
graphTypes object into a different location and file structure
2017-07-24 10:52:59 -07:00
Andrew Watkins 6490a6efbd Prettier 2017-07-24 10:52:59 -07:00
Andrew Watkins a15366febb Wire up ranges to the rest of dashboard 2017-07-24 10:52:58 -07:00
Andrew Watkins 549ad92d9c Mock persistence of ranges 2017-07-24 10:52:58 -07:00
Andrew Watkins edebfa2cbf Save range with entire cell 2017-07-24 10:52:58 -07:00
Andrew Watkins dba8359cd1 Prettier 2017-07-24 10:52:58 -07:00
Andrew Watkins ee7ae66a23 Hook up ranges to CEO 2017-07-24 10:52:58 -07:00
Andrew Watkins 30ee24fe09 Add temporary styles 2017-07-24 10:52:58 -07:00
Andrew Watkins b575e9af85 Add reducer for cell range 2017-07-24 10:52:58 -07:00
Hunter Trujillo 0ba94497e0 Ranger improvements. 2017-07-24 10:52:58 -07:00
Hunter Trujillo 3ffe599400 Add Ranger component. Add yRange prop. Add min / max inputs. 2017-07-24 10:52:57 -07:00
Hunter Trujillo 64ba00804f Fix visualization selection functionality. 2017-07-24 10:52:57 -07:00
Hunter Trujillo f3c1eb1649 Refactor Overlay Controls into a separate component for later. Add Display Options component. Replace Overlay Controls with Display Options. 2017-07-24 10:52:57 -07:00
Jared Scheib 24884ae735 Add Karma verbose reporting; comment options in config 2017-07-22 11:32:03 -07:00
Jared Scheib f1d95ae1d5 Fix alertNode redux schema bug by updating prop on rule correctly 2017-07-21 20:08:04 -07:00
Jared Scheib 96d69e2501 Add optional properties to Kapacitor rule alerts for all services
Refactor Slack rule alert to use properties.
Do not add non-string values or those that are not understood or
currently known.
2017-07-21 20:05:39 -07:00
Jared Scheib aa58847e93 Streamline service lookup for filtering 2017-07-21 18:10:14 -07:00
Jared Scheib 335bb6f821 Reorder alert constants for legibility 2017-07-21 17:54:55 -07:00
Jared Scheib 5676fb20cd Merge pull request #1756 from influxdata/fix/remove_auto_group_by_kapa_alerts-1730
Prevent 'auto' GROUP BY option in Kapacitor rule builder
2017-07-21 16:07:37 -07:00
Andrew Watkins 32fc74bf8a Prettier test 2017-07-21 15:34:31 -07:00
Jared Scheib 0bdc881f53 Prevent 'auto' GROUP BY option in Kapacitor rule builder 2017-07-21 15:19:04 -07:00
Andrew Watkins cbf8519c68 Merge pull request #1743 from influxdata/feature/prettier-for-circle
Add prettier to an eslint rule.
2017-07-21 14:21:35 -07:00
Jared Scheib d6db7ee084 Merge pull request #1724 from influxdata/feature/pushover_support-1680
Add Pushover alert support
2017-07-21 14:04:22 -07:00
Andrew Watkins 1965ff0666 Merge branch 'master' into bugfix/cell-name 2017-07-21 13:30:25 -07:00
Alex P 342f088378 Polish moving dates UI 2017-07-21 12:21:18 -07:00
Jared Scheib 498ede7bd2 Add basic styles to rule alert optional properties
Signed-off-by: Luke Morris <lukevmorris@gmail.com>
2017-07-20 18:52:06 -07:00
Jared Scheib be8b72e273 Add test for updateAlertProperty 2017-07-20 18:21:02 -07:00
Jared Scheib fcd88a297d Change var alertType to alertNodeName for accuracy 2017-07-20 17:32:27 -07:00
Jared Scheib 200b24788b Merge branch 'master' into feature/pushover_support-1680 2017-07-20 16:23:54 -07:00
Jared Scheib 8c3a9db919 Make CodeData a presentational component 2017-07-20 16:11:17 -07:00
Jared Scheib 7a78a5c39b Change copy for optional alert parameters 2017-07-20 15:46:42 -07:00
Jared Scheib 76a95314bf Add ability to update a Kapacitor alert node's properties
Add TODO comment about Kapacitor alert node reducer work
Fix JSON schema & default values for Pushover alert node
Clarify alertType var name
Fix comment typo
Add missing propType
Perform Prettier updates
2017-07-20 15:39:38 -07:00
Hunter Trujillo 37f29060a4 Add prettier to an eslint rule. 2017-07-20 11:12:48 -06:00
Hunter Trujillo 7c4a56932c Add prettier and eslint commands to package scripts. 2017-07-20 10:41:40 -06:00
Hunter Trujillo 9031493abb Formatted with Prettier 1.5.3 CLI and Prettier 1.5.2 Atom 2017-07-20 10:34:27 -06:00
Jared Scheib 0950833ec0 WIP Refactor RuleMessage to support arbitrary properties 2017-07-18 17:20:05 -07:00
Jared Scheib 5d7e9ded17 Rename RuleMessageConfig to RuleMessageOptions for clarity 2017-07-18 16:58:39 -07:00
Andrew Watkins e950dac06d Cleanup 2017-07-18 13:41:23 -07:00
Andrew Watkins 2d6e8268a7 Prettier 2017-07-18 13:33:19 -07:00
Andrew Watkins 3a74f18d2e Move input state out of store and into component
The main issue here is that a cell's name was being
updated in the store on input change.  With no reference
to the old cell name this made it impossible to revert back or
'cancel' editing.
2017-07-18 13:31:34 -07:00
Jared Scheib ac93de5945 Refactor RuleMessageConfig into named components; clean up 2017-07-18 13:13:58 -07:00
Jared Scheib 196510159a Refactor RuleMessage to ES6 2017-07-18 12:47:53 -07:00
Jared Scheib c582cc6374 Rename RuleMessageAlertConfig to RuleMessageConfig for clarity and consistency 2017-07-18 12:46:56 -07:00
Andrew Watkins e90614e33d Add cancel edit cell spec 2017-07-18 12:22:20 -07:00
Jared Scheib af3bb567c0 Reorder props on RuleMessageTemplates 2017-07-18 12:16:09 -07:00
Jared Scheib 113c4cfae4 Factor out RuleMessageText into dedicated ES6 component 2017-07-18 12:15:59 -07:00
Jared Scheib 2170b455a1 Refactor RuleMessage templates into separate components, update to ES6 2017-07-18 12:02:07 -07:00
Andrew Watkins a746de32ae Prettier 2017-07-18 11:52:34 -07:00
Andrew Watkins efa7c708b4 Remove unused prop 2017-07-18 11:52:24 -07:00
Andrew Watkins 9aad0cc8ed Fix proptypes error spam 2017-07-18 11:25:20 -07:00
Hunter Trujillo 0295b9e17e Add moving time range to Custom Time Range component. 2017-07-18 12:11:55 -06:00
Jared Scheib 8bea47e072 Change order of alert endpoint options to make defaults be first 2017-07-17 17:01:30 -07:00
Jared Scheib 7d93b93040 Update changelog 2017-07-14 17:34:02 -07:00
Jared Scheib 80573d8348 Add Pushover config 2017-07-14 16:55:59 -07:00
Jared Scheib 7f8d5f7c00 Only render configs given by Kapacitor proxy 2017-07-14 16:55:59 -07:00
Jared Scheib a04c0428b1 Alphabetize alert endpoint configs 2017-07-14 16:55:47 -07:00
Andrew Watkins 47d5272489 Merge branch 'master' into feature/read-only-tickscript 2017-07-13 12:51:54 -07:00
Hunter Trujillo f729a77e78 rockin es6 2017-07-12 19:02:34 -06:00
Andrew Watkins d38bf4de70 Be the async await change 2017-07-12 16:14:06 -07:00
Andrew Watkins 39b455aba5 Use arrow functions 2017-07-12 15:05:32 -07:00
Andrew Watkins bd0fd0b6a7 Deconstruct PropTypes 2017-07-12 15:04:19 -07:00
Andrew Watkins 71167d9b6a Convert Rule Page to class syntax 2017-07-12 15:02:13 -07:00
Andrew Watkins ad0e410e82 Prettier 2017-07-12 12:50:51 -07:00
Andrew Watkins cece93ca01 Improve Loading styles 2017-07-12 12:50:38 -07:00
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