Commit Graph

2956 Commits (2d473cd2612baed8b085b88bb971554a944c6b13)

Author SHA1 Message Date
Alex P 44ed8b58de 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 240de08849 Fine tune UI for axis controls 2017-08-01 14:38:12 -07:00
Andrew Watkins 6865b90e33 Comment out undone features 2017-08-01 13:24:52 -07:00
Andrew Watkins 79ec80b5ff 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 737e4a8e02 Fix test and user submitted values check 2017-08-01 13:14:31 -07:00
Alex P e19817e330 Add UI scaffolding for more axis controls 2017-08-01 11:31:56 -07:00
Andrew Watkins e36108bfd3 Tweak styles 2017-08-01 11:02:59 -07:00
Andrew Watkins 6460e416d7 Shorten text 2017-08-01 09:42:37 -07:00
Andrew Watkins a51f0a175f Save y range for user 2017-08-01 09:10:08 -07:00
Andrew Watkins 2df2680214 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 4ab18d586b 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 f8b8cc7364 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 0de50089a2 Merge branch 'master' into bugfix/domain 2017-07-28 07:49:33 -07:00
Andrew Watkins 7f7b30be6f 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 dc0aaaaf5d 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 fef81f7499 Remember, kids... Always leave a note. 2017-07-27 17:43:45 -06:00
Hunter Trujillo 2fd48bdeec We simply mustn't forget units on our flex-basis shorthand for IE11. 2017-07-27 17:28:55 -06:00
Hunter Trujillo 283ecfe736 Merge remote-tracking branch 'origin/master' into fix/ie11-support 2017-07-27 17:08:38 -06:00
Hunter Trujillo fcea9c0f4d Merge remote-tracking branch 'origin/master' into feature/1685-moving-time-ranges 2017-07-27 16:47:05 -06:00
Andrew Watkins e9355d8a61 Embiggen the write data form 2017-07-27 15:23:59 -07:00
Andrew Watkins e3b5ef646e Dont sync graphs if there is only one graph 2017-07-27 14:38:57 -07:00
Andrew Watkins 2662e1957c Give preference to queryConfig range 2017-07-27 13:29:46 -07:00
Hunter Trujillo 2892435be3 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 a262be9d9b Add button spinner css 2017-07-27 12:06:08 -07:00
Andrew Watkins 0ddac93138 Add uploading state to WriteForm 2017-07-27 12:05:57 -07:00
Jared Scheib d1e4fbef7c Prevent Custom Time Range as option in Kapacitor Rule Alerts 2017-07-25 17:12:56 -07:00
Alex Paxton 818a2867b5 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 adbcb7bfd4 Use combo TimeRangeDropdown with CustomTimeRange
Preserve custom timeRange when valid dates
2017-07-25 16:43:46 -07:00
Andrew Watkins 833911e516 WIP add range to dashboard cell 2017-07-25 13:13:28 -07:00
Chris Goller 6bc4cf36d1 Release 1.3.5.0 2017-07-25 15:08:02 -05:00
Alex Paxton 026c5f6156 Merge pull request #1779 from influxdata/misc-ui-fixes
Misc UI Fixes
2017-07-25 12:20:10 -07:00
Alex P a56cc4da38 Highlight snip button when active 2017-07-25 11:00:08 -07:00
Alex P 5d38417a38 Fix alignment of custom time indicator in presentation mode 2017-07-25 10:59:55 -07:00
Jared Scheib 32b71db279 Merge branch 'master' into fix/disentagle_de_and_kap_qcs-1772 2017-07-24 22:06:43 -07:00
Jared Scheib 00a4ffb050 Fix Kapacitor queryConfigs tests 2017-07-24 21:56:35 -07:00
Jared Scheib 49be8153db Fix Data Explorer tests; remove Kapa test from it 2017-07-24 21:36:14 -07:00
Jared Scheib 8aa1554c3e 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 24d52a0e31 Remove fancy-scrollbars dependent style 2017-07-24 17:53:30 -07:00
Andrew Watkins 11d0ecac8b WIP encorporate new shape for yRanges => axes 2017-07-24 15:01:23 -07:00
Jared Scheib 20ae857825 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 6809f5f1d4 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 1fe3e9e139 Specify that version is for Chronograf on Sources page 2017-07-24 12:57:52 -07:00
Jared Scheib ba809f9d23 Make test command consistent 2017-07-24 12:55:09 -07:00
Jared Scheib c6622a1765 Add Testing section to ui/README.md 2017-07-24 12:49:41 -07:00
Jared Scheib 71f5cdbb1f Update comment with command line option 2017-07-24 12:49:29 -07:00
Hunter Trujillo 553e7e7897 Use older data attribute accessor technique for pre IE 11 compat. 2017-07-24 12:59:01 -06:00
Andrew Watkins 38b7d17df3 Handle user submitted zero 2017-07-24 11:31:32 -07:00
Alex P bae6cbf4f2 Uncross the wires 2017-07-24 10:52:59 -07:00
Alex P cda5595d16 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 cc3fb249b1 Prettier 2017-07-24 10:52:59 -07:00
Andrew Watkins 263c6c9fe7 Wire up ranges to the rest of dashboard 2017-07-24 10:52:58 -07:00
Andrew Watkins 7a091917e0 Mock persistence of ranges 2017-07-24 10:52:58 -07:00
Andrew Watkins 421ade1627 Save range with entire cell 2017-07-24 10:52:58 -07:00
Andrew Watkins ec3721fbb7 Prettier 2017-07-24 10:52:58 -07:00
Andrew Watkins 059f858b9c Hook up ranges to CEO 2017-07-24 10:52:58 -07:00
Andrew Watkins dda829a7c1 Add temporary styles 2017-07-24 10:52:58 -07:00
Andrew Watkins a2159edba5 Add reducer for cell range 2017-07-24 10:52:58 -07:00
Hunter Trujillo 5082b5d493 Ranger improvements. 2017-07-24 10:52:58 -07:00
Hunter Trujillo f2c434dd08 Add Ranger component. Add yRange prop. Add min / max inputs. 2017-07-24 10:52:57 -07:00
Hunter Trujillo 562729b6b5 Fix visualization selection functionality. 2017-07-24 10:52:57 -07:00
Hunter Trujillo c336805943 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 fa96d88fe2 Add Karma verbose reporting; comment options in config 2017-07-22 11:32:03 -07:00
Jared Scheib f55a8a6f2a Fix alertNode redux schema bug by updating prop on rule correctly 2017-07-21 20:08:04 -07:00
Jared Scheib 139e3cb359 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 55aeb113c9 Streamline service lookup for filtering 2017-07-21 18:10:14 -07:00
Jared Scheib c5416ec79b Reorder alert constants for legibility 2017-07-21 17:54:55 -07:00
Jared Scheib 30eb59ca7d 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 dcbda6c63f Prettier test 2017-07-21 15:34:31 -07:00
Jared Scheib 852fc7d903 Prevent 'auto' GROUP BY option in Kapacitor rule builder 2017-07-21 15:19:04 -07:00
Andrew Watkins 03295821d5 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 918dff33b7 Merge pull request #1724 from influxdata/feature/pushover_support-1680
Add Pushover alert support
2017-07-21 14:04:22 -07:00
Andrew Watkins 937b3f04d4 Merge branch 'master' into bugfix/cell-name 2017-07-21 13:30:25 -07:00
Alex P a767162fa2 Polish moving dates UI 2017-07-21 12:21:18 -07:00
Jared Scheib 973d12e743 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 231505ce8c Add test for updateAlertProperty 2017-07-20 18:21:02 -07:00
Jared Scheib 76ba04a074 Change var alertType to alertNodeName for accuracy 2017-07-20 17:32:27 -07:00
Jared Scheib 1012dac41a Merge branch 'master' into feature/pushover_support-1680 2017-07-20 16:23:54 -07:00
Jared Scheib 8e35f3b795 Make CodeData a presentational component 2017-07-20 16:11:17 -07:00
Jared Scheib 92025ad8e0 Change copy for optional alert parameters 2017-07-20 15:46:42 -07:00
Jared Scheib 9ee686ec2b 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 6a20e301f0 Add prettier to an eslint rule. 2017-07-20 11:12:48 -06:00
Hunter Trujillo 91e0dc5b30 Add prettier and eslint commands to package scripts. 2017-07-20 10:41:40 -06:00
Hunter Trujillo 3ac548e8d6 Formatted with Prettier 1.5.3 CLI and Prettier 1.5.2 Atom 2017-07-20 10:34:27 -06:00
Jared Scheib f66d8fe216 WIP Refactor RuleMessage to support arbitrary properties 2017-07-18 17:20:05 -07:00
Jared Scheib 36e948d998 Rename RuleMessageConfig to RuleMessageOptions for clarity 2017-07-18 16:58:39 -07:00
Andrew Watkins ee3ace4a6d Cleanup 2017-07-18 13:41:23 -07:00
Andrew Watkins 2c286f77ca Prettier 2017-07-18 13:33:19 -07:00
Andrew Watkins 44aec2ad40 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 09e15d7a10 Refactor RuleMessageConfig into named components; clean up 2017-07-18 13:13:58 -07:00
Jared Scheib bce65bdaf9 Refactor RuleMessage to ES6 2017-07-18 12:47:53 -07:00
Jared Scheib 4e69a762f1 Rename RuleMessageAlertConfig to RuleMessageConfig for clarity and consistency 2017-07-18 12:46:56 -07:00
Andrew Watkins 5c1e26adb0 Add cancel edit cell spec 2017-07-18 12:22:20 -07:00
Jared Scheib ec4ca5965a Reorder props on RuleMessageTemplates 2017-07-18 12:16:09 -07:00
Jared Scheib 29ce40bdc0 Factor out RuleMessageText into dedicated ES6 component 2017-07-18 12:15:59 -07:00
Jared Scheib 3766065d1c Refactor RuleMessage templates into separate components, update to ES6 2017-07-18 12:02:07 -07:00
Andrew Watkins 0b345d9ed0 Prettier 2017-07-18 11:52:34 -07:00
Andrew Watkins d7be866654 Remove unused prop 2017-07-18 11:52:24 -07:00
Andrew Watkins 74268c6557 Fix proptypes error spam 2017-07-18 11:25:20 -07:00
Hunter Trujillo e52f4c397f Add moving time range to Custom Time Range component. 2017-07-18 12:11:55 -06:00
Jared Scheib bc41ef4094 Change order of alert endpoint options to make defaults be first 2017-07-17 17:01:30 -07:00
Jared Scheib 7e3939162b Update changelog 2017-07-14 17:34:02 -07:00
Jared Scheib bc33c02461 Add Pushover config 2017-07-14 16:55:59 -07:00
Jared Scheib aa663975ce Only render configs given by Kapacitor proxy 2017-07-14 16:55:59 -07:00
Jared Scheib 6785f0bd70 Alphabetize alert endpoint configs 2017-07-14 16:55:47 -07:00
Andrew Watkins 373d66c2f4 Merge branch 'master' into feature/read-only-tickscript 2017-07-13 12:51:54 -07:00
Hunter Trujillo 73b465bef3 rockin es6 2017-07-12 19:02:34 -06:00
Andrew Watkins beb04bd3f6 Be the async await change 2017-07-12 16:14:06 -07:00
Andrew Watkins 3f0e78e256 Use arrow functions 2017-07-12 15:05:32 -07:00
Andrew Watkins 634adede41 Deconstruct PropTypes 2017-07-12 15:04:19 -07:00
Andrew Watkins 5bbab5012c Convert Rule Page to class syntax 2017-07-12 15:02:13 -07:00
Andrew Watkins cabbc2d635 Prettier 2017-07-12 12:50:51 -07:00
Andrew Watkins 6e33fe2e0d Improve Loading styles 2017-07-12 12:50:38 -07:00
Andrew Watkins 858a9a7441 Make loading on the rules page actually work 2017-07-12 12:38:23 -07:00
Andrew Watkins 043d3dbd71 Update silly linter rule 2017-07-12 12:38:23 -07:00
Alex P 38b278a18c Sort alert rules table by rules name a-z 2017-07-12 11:49:09 -07:00
Alex P 2f2021e9ae Style view tick script overlay 2017-07-12 11:41:33 -07:00
Alex P 3ca528bbb1 Polish alert rules table 2017-07-12 11:20:31 -07:00
Andrew Watkins b7450324ff Tweak styles a bit 2017-07-11 14:48:29 -07:00
Andrew Watkins 40634528fc Display TICKscript on rules index 2017-07-11 14:38:24 -07:00
Hunter Trujillo 33eece406c Merge pull request #1681 from influxdata/feature/1482-custom-time-range
Custom Time Ranges
2017-07-11 14:05:27 -06:00
Hunter Trujillo 2e1ffa1201 Initial IE 11 support. Add babel polyfill. Fix a small event error. 2017-07-10 17:10:45 -06:00
Hunter Trujillo 479bc5c80a 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 9e967ae882 womp womp 2017-07-10 15:54:54 -06:00
Hunter Trujillo 6f572c7504 Fix quoting around timeStamps. Affects server code. 2017-07-10 15:33:48 -06:00
Alex P 7edd10b541 Merge branch 'master' into alerts-table-tweaks 2017-07-10 13:20:20 -07:00
Jared Scheib 8a67996465 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 4bce195a1f 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 fef6d7c545 Merge branch 'master' into zindex 2017-07-10 12:52:08 -07:00
Jared Scheib 54a6bfe529 Move he dep to correct package.json and yarn.lock 2017-07-10 12:38:36 -07:00
Alex P 4bbe59da00 Prioritize alert name over host 2017-07-10 12:22:40 -07:00
Luke Morris 2f98f97c31 Bump version, update changelog 2017-07-10 11:52:12 -07:00
Andrew Maney f1bc44dfee Z-index for options menu fixed 2017-07-10 13:14:50 -04:00
Alex P d5d72f09fb 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 6e65688d73 Merge pull request #1679 from influxdata/get-legend-rekt
Update legend functionality
2017-07-07 16:53:25 -07:00
Andrew Watkins d789986807 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 42cd5ae9d5 Fix isEditable prop name 2017-07-07 16:00:17 -07:00
Jared Scheib 256391d9db Make minor syntax consistency updates 2017-07-07 15:42:17 -07:00
Andrew Watkins cd9324a63a Put parent in charge of when to render custom time 2017-07-07 13:28:49 -07:00
Andrew Watkins cc4cd89157 Fix bool 2017-07-07 13:25:02 -07:00
Andrew Watkins d7e3144a6b Refactor NameableGraph component 2017-07-07 13:22:38 -07:00
Andrew Watkins 2683f00027 Refactor to use js class syntax 2017-07-07 11:45:06 -07:00
Andrew Watkins dd214e6bec Pull out custom time range into separate component 2017-07-07 11:37:53 -07:00
Hunter Trujillo eac7452be1 Fix tempvar on status page. 2017-07-07 08:37:34 -06:00
Hunter Trujillo 14ee2c81bb Fix broken upper time range tempvar. 2017-07-07 08:34:03 -06:00
Hunter Trujillo 468f4fd8ef Fix node-sass version for Node 8 support. 2017-07-06 17:29:59 -06:00
Hunter Trujillo ad69d48690 Fix quoting of template variable value quoting. 2017-07-06 15:16:06 -06:00
Hunter Trujillo 4084074b1a 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 cba4dfae14 Fix merge conflicts 2017-07-06 12:49:05 -07:00
Alex P 078d09aa04 Make filter toggleable 2017-07-06 12:16:03 -07:00
Alex P e1568a1045 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 3c94a4d022 Prevent z-index mixup in which graph options appears above custom time selector 2017-07-06 10:03:08 -07:00
Alex Paxton da05affd91 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 45c4fd277b Improved unitOfTime regex. 2017-07-06 09:26:25 -06:00
Alex P b368de67ef 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 9e953f4c30 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 5372ee2b35 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 8c2e5c4585 Merge branch 'master' into bugfix-tempvar-dropdown-jitter 2017-07-05 12:35:02 -07:00
Alex P 24ab9332df 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 54e6864b14 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 c6c3b59ec4 Fix for tests. Phew! Thanks unit tests! 2017-06-30 17:52:50 -06:00
Hunter Trujillo 29b2515fcd 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 ec956cf5a5 Fix for Hostpage. 2017-06-30 17:34:07 -06:00
Hunter Trujillo 09c30a3834 Fix Dashboard customTimeRange persistence. Fix propTypes. 2017-06-30 17:21:23 -06:00
Andrew Watkins 6a7c3f3bf0 Fix bug where legend could not return if no series were visible 2017-06-30 15:40:01 -07:00
Andrew Watkins 334331d0d2 Handle undefined series 2017-06-30 15:36:25 -07:00
Alex P c1ded2400f Make non-highlighted series labels more legible 2017-06-30 15:36:24 -07:00
Alex P 6223abe56b Add timestamp to legend 2017-06-30 15:36:24 -07:00
Alex P 2df58fe22e 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 6118880ab6 Use component this 2017-06-30 15:36:24 -07:00
Andrew Watkins ff752db4dd Show and hide filtered series on graph 2017-06-30 15:36:24 -07:00
Andrew Watkins bc34b3cc48 Hide legend a little better 2017-06-30 15:36:24 -07:00
Andrew Watkins 1951e78866 Handle removing measurement from legend label 2017-06-30 15:36:24 -07:00
Andrew Watkins 99d9b43eea Refactor sort order 2017-06-30 15:36:24 -07:00
Andrew Watkins dbf61fefb6 Hide hide and show legend 2017-06-30 15:36:24 -07:00
Andrew Watkins 3ddbff2e4f Refactor sorting and ordering 2017-06-30 15:36:24 -07:00
Andrew Watkins df872bde98 Add filtering to legend 2017-06-30 15:36:23 -07:00
Andrew Watkins cbbffa5dcc Sorting persists on legend update 2017-06-30 15:36:23 -07:00
Andrew Watkins 44ed21af63 WIP tweak styles 2017-06-30 15:36:23 -07:00
Andrew Watkins a8dfd571d9 Add ability to sort numerically and alphabetically 2017-06-30 15:36:23 -07:00
Andrew Watkins 653a70e9c5 Move legend into component 2017-06-30 15:36:23 -07:00
Andrew Watkins fbc1b2a087 Move functions into separate dir 2017-06-30 15:36:23 -07:00
Andrew Watkins ed9b0632e4 Allow sorting legend by numeric values 2017-06-30 15:36:23 -07:00
Andrew Watkins 4e542d5bcf Persist legend in when hovered over 2017-06-30 15:36:23 -07:00
Alex P b1468b672f Adjust custom time picker so it plays nice when inside regular time range dropdown 2017-06-30 15:34:43 -07:00
Hunter Trujillo a8dfb740a4 Add upperDashboardTime TV. 2017-06-30 16:22:46 -06:00
Hunter Trujillo 342d46261e Fix for dashboardTime on Dashboards. 2017-06-30 16:22:18 -06:00
Hunter Trujillo 7ad1ef354b 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 78fed6012c 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 3a9b77eb07 Merge branch 'get-legend-rekt' of github.com:influxdata/chronograf into get-legend-rekt 2017-06-30 10:53:21 -07:00
Andrew Watkins efad28b5c8 Handle undefined series 2017-06-30 10:53:12 -07:00
Alex P abf6895594 Make non-highlighted series labels more legible 2017-06-30 10:52:55 -07:00
Alex P fda2637406 Add timestamp to legend 2017-06-30 10:48:58 -07:00
Alex P 3d572f21a2 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 ddc04bf9fc Use component this 2017-06-29 16:09:18 -07:00
Andrew Watkins 4ca2dd2471 Show and hide filtered series on graph 2017-06-29 16:08:54 -07:00
Andrew Watkins 668b00968a Hide legend a little better 2017-06-29 13:54:25 -07:00
Andrew Watkins a1ab2dc90e Handle removing measurement from legend label 2017-06-29 13:01:58 -07:00
Andrew Watkins fcb872a4c8 Refactor sort order 2017-06-29 11:34:25 -07:00
Andrew Watkins 646aba5f89 Hide hide and show legend 2017-06-29 11:17:57 -07:00
Alex P 84e25b2318 Display custom time range on cell header when present 2017-06-28 17:42:41 -07:00
Hunter Trujillo f36a3a6cab Remove CustomTimeRange container class in split, but this damages styles due to selectors. 2017-06-28 17:53:43 -06:00
Hunter Trujillo 70a1a024b5 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 a5998723dc Refactor sorting and ordering 2017-06-28 15:30:14 -07:00
Andrew Watkins 5894d62f7d Add filtering to legend 2017-06-28 14:39:09 -07:00
Andrew Watkins 6abed0534a Sorting persists on legend update 2017-06-28 14:09:02 -07:00
Alex P 198670bc6f Fix #1670 2017-06-28 13:24:01 -07:00
Andrew Watkins 3b7995804f WIP tweak styles 2017-06-28 12:15:31 -07:00
Andrew Watkins c76982f33d Add ability to sort numerically and alphabetically 2017-06-28 12:15:31 -07:00
Andrew Watkins 72594dbcfc Move legend into component 2017-06-28 12:15:31 -07:00
Andrew Watkins fc122b60b1 Move functions into separate dir 2017-06-28 12:15:31 -07:00
Andrew Watkins ac9c6ecc14 Allow sorting legend by numeric values 2017-06-28 12:15:31 -07:00
Andrew Watkins a8759b3847 Persist legend in when hovered over 2017-06-28 12:15:31 -07:00
Alex Paxton 142e15e8d2 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 90f4aafb65 Merge pull request #1647 from influxdata/feature/file-upload-de
Feature/file upload de
2017-06-28 10:42:22 -06:00
Hunter Trujillo 0b37db9624 Modernize TimeRangeDropdown component. 2017-06-28 00:02:40 -06:00
Alex P c4f002b4fe Merge branch 'master' into find-better-home-for-version-number 2017-06-27 16:58:37 -07:00
Jared Scheib e318ecb888 Sort custom links in User nav alphabetically 2017-06-27 13:58:10 -07:00
Jared Scheib b88ced9526 Use ES6 spread operator instead of .concat for nav items 2017-06-27 10:52:12 -07:00
Alex P 3d1b75debe Fix for #1662 2017-06-27 10:44:55 -07:00
Jared Scheib b2b5426cc3 Remove unused redux key from ajax links response 2017-06-27 10:20:12 -07:00
Jared Scheib b2f88df97a 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 e089266013 Merge remote-tracking branch 'origin/master' into feature/custom_user_links-1550 2017-06-26 18:05:22 -07:00
Jared Scheib d2a91f6dc4 Remove unused custom links key 2017-06-26 18:16:46 -05:00
Jared Scheib 8486d495b1 Fix redux state path for custom links 2017-06-26 11:48:55 -07:00
Alex P 3adf83d4ac Style user menu to stack within viewport 2017-06-23 11:41:01 -07:00
Alex P 42042d17cc Add glow effect to active sidebar items 2017-06-23 11:24:19 -07:00
Alex P 5ae13baf8f Add more colors to singleStatLineColors 2017-06-23 11:08:49 -07:00
Alex P 8f03b23785 Rebase and fix conflicts 2017-06-23 11:05:23 -07:00
Alex P daa5b2be5a Prevent angry error message 2017-06-23 11:04:13 -07:00
Alex P 5d94010f7d Add missing closing bracket
Not sure what happened here
2017-06-23 10:26:25 -07:00
Alex P 2f59882ae2 Attempt to block error when printing version number
This should work in theory
2017-06-23 10:26:06 -07:00
Timothy J. Raymond b2ac4d80e7 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 ba15954e8f Remove stale comment 2017-06-23 09:59:09 -07:00
Tim Raymond 65c902dd9c 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 767a78476f Merge branch 'master' into feature/custom_user_links-1550 2017-06-22 16:56:28 -07:00
Jared Scheib 919f5ac0e5 Generate user side nav menu with custom links 2017-06-22 16:54:06 -07:00
Alex P c20f3f1681 Merge branch 'master' into misc-ui-polish 2017-06-22 16:35:38 -07:00
Alex P bde0eccdad 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 19157bd23d WIP refactor sidenav 2017-06-22 16:16:19 -07:00
Andrew Watkins 291b556bd3 Merge branch 'master' into sticky-alert-table 2017-06-22 15:53:38 -07:00
Andrew Watkins 61bec47478 Remove comments 2017-06-22 15:50:45 -07:00
Andrew Watkins 4d04a05628 Fix drag and drop style from toggling on and off 2017-06-22 15:50:31 -07:00
Andrew Watkins febdb26154 Move inputFile ref to WriteDataForm 2017-06-22 15:50:03 -07:00
Andrew Watkins 4bfe9e8324 Merge pull request #1581 from influxdata/feature/refresh-tvars
Refresh templates on dashboard load
2017-06-22 14:50:02 -07:00
Alex P 12a8df6b00 Make dashboards page contents into its own stateless component 2017-06-22 14:24:45 -07:00
Andrew Watkins cc43ac1f08 Update comment 2017-06-22 14:12:33 -07:00
Andrew Watkins a70e253b33 Remove uneccessary argument 2017-06-22 14:10:08 -07:00
Alex P f6c822f210 Use correct proptypes for dashboards 2017-06-22 13:59:50 -07:00
Alex P 36abd0572e Delete comment 2017-06-22 13:55:42 -07:00
Alex P 3c91a23a4d Make dashboards table into a component 2017-06-22 13:55:23 -07:00
Alex P 93459b7a48 Make dashboards index header into component 2017-06-22 13:47:09 -07:00
Alex P a21cde8054 Remove rogue className 2017-06-22 13:39:58 -07:00
Alex P cf94edd5c2 Remove ID column from dashboards table 2017-06-22 13:27:37 -07:00
Alex P 48093abc97 Fix for #1637 - Sort dashboard by name alphabetically 2017-06-22 13:27:22 -07:00
Alex P b28ca6f67c Reduce microcopy 2017-06-22 12:52:52 -07:00
Alex P be79054674 Polish dashboards index table 2017-06-22 12:52:25 -07:00
Alex P 0ac624d1c7 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 f2bdb7dcfd Style drag & drop interaction 2017-06-22 10:52:41 -07:00
Tim Raymond 22ddcd513c 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 b0ef948585 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 223cdf2e6b Add drag and drop. Add drag class. WIP Styles. 2017-06-22 00:30:26 -06:00
Jared Scheib 011059a707 Revert axes colors; make single stat options nearly identical as regular 2017-06-21 18:53:56 -07:00
Jared Scheib 3f2a2d0a9f Revert removal of x and y axes on single stat graphs 2017-06-21 18:31:40 -07:00
Nathan Haugo 47506b8bad Fix broken cpu reporting on hosts page and normalize InfluxQL 2017-06-21 16:56:52 -07:00
Andrew Watkins 6432d3268a Refresh page after write completes 2017-06-21 16:17:25 -07:00
Andrew Watkins 7a0c8166eb Default to currently selected database to write to 2017-06-21 16:10:06 -07:00
Andrew Watkins 42c0c9e497 Send proper content to writeLineProtocol 2017-06-21 15:35:15 -07:00
Andrew Watkins 8a0d7951b2 Display uploaded filename 2017-06-21 14:45:35 -07:00
Andrew Watkins e117bd1b1f Move footer into stateless functional component 2017-06-21 14:35:41 -07:00
Andrew Watkins 7846f8fe16 Cleanup 2017-06-21 14:08:49 -07:00
Andrew Watkins 3996099660 Fix rebase error 2017-06-21 14:00:05 -07:00
Andrew Watkins 9c85b3a3e1 Remove stateful component wrapper 2017-06-21 13:58:36 -07:00
Andrew Watkins 3636e600ab 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 8dd5d5b51b Remove misplaced async 2017-06-21 13:57:14 -07:00
Andrew Watkins b7ce6299b9 Refresh templates on dashboard load 2017-06-21 13:57:14 -07:00
Alex P 1ccf86b253 Undoing undo 2017-06-21 13:24:25 -07:00
Alex P ba8930e7e3 Fix thin white line fancy scroll issue
Appears sometimes and is very distracting
2017-06-21 13:23:14 -07:00
Alex P 74a6e05a49 Remove strange white line that sometimes appears in fancy scrollbox 2017-06-21 13:03:32 -07:00
Alex P 2c6d08f060 Make write button color match successful file upload color 2017-06-21 12:58:09 -07:00
Alex P 1b17fe4c22 Show corresponding documentation links on tab change 2017-06-21 12:57:00 -07:00
Alex P 3904acf5b5 Add GZIP to accepted file formats
As mentioned in influxdb docs
2017-06-21 12:51:07 -07:00
Alex P 1596aa6970 Limit accepted files to text files 2017-06-21 12:47:03 -07:00
Alex P 6350eab226 Complete styling of upload file interaction 2017-06-21 12:38:39 -07:00
Alex P 22b34d454b Pass uploadContent into body to enable proper ui logic 2017-06-21 12:38:10 -07:00
Jared Scheib a451e0f2c8 WIP Display custom links in side nav 2017-06-21 11:16:29 -07:00
Alex P 215bfac0c4 Fix for #1631 2017-06-21 11:02:05 -07:00
Andrew Watkins 1841102ed8 WIP style file input 2017-06-21 10:06:07 -07:00
Andrew Watkins 3ee67a276a Move header into separate component 2017-06-20 16:28:33 -07:00
Andrew Watkins fc18a8dabd Move writing data inputs to separate component 2017-06-20 16:12:39 -07:00
Alex P 92c6385076 Merge remote-tracking branch 'origin/master' into sticky-alert-table 2017-06-20 14:20:15 -07:00
Andrew Watkins df1fda5d55 Introduce file uploading 2017-06-20 14:16:25 -07:00
Alex P 02c161f4d1 Fix appearance of sortable table headers in alerts history table 2017-06-20 13:36:19 -07:00
Alex P f38de37da5 Make alerts page contents stretch to fill height 2017-06-20 13:33:42 -07:00
Alex P ab72956f98 Remove FancyScrollbar from container 2017-06-20 13:30:20 -07:00
Alex P acede4e754 Update alerts filter text to be more accurate 2017-06-20 13:29:55 -07:00
Alex P 9e525a7197 WIP Make table headers sticky
Using CSS instead of HTML tables
2017-06-20 13:04:56 -07:00
Jared Scheib be38e64601 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 9f069d9bd8 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 f6dea99791 Do not prefix external news feed link with basepath 2017-06-20 11:59:31 -07:00
Alex P d2000224f8 Add ability to deselect a function
was previously impossible to do through the UI
2017-06-19 16:25:51 -07:00