Commit Graph

5752 Commits (78d96eb92b00e934408842100fba3ec0ea41f04d)

Author SHA1 Message Date
Alex P 99f5129447 Prevent excessive re-rendering 2018-04-10 16:12:30 -07:00
Alex P da4ed5f9f7 Convert component to TypeScript
Thanks for help @121watts
2018-04-10 15:52:58 -07:00
Andrew Watkins 6117a903f2 Fix hostpage not rendering if no apps 2018-04-10 15:00:46 -07:00
Andrew Watkins 1af5a77657 Merge pull request #3169 from influxdata/bugfix/tickscript-save
Bugfix/tickscript save
2018-04-10 14:40:30 -07:00
Andrew Watkins 10b9fdf507 Update tests and bugfix 2018-04-10 14:26:21 -07:00
Andrew Watkins f169e461d9 Remove highlight circle 2018-04-10 14:04:35 -07:00
Andrew Watkins ae4fd365ce Fix proptype 2018-04-10 14:04:35 -07:00
Andrew Watkins 703b146bc8 Remove the need for heartbeat and lastUpdated 2018-04-10 14:04:35 -07:00
Andrew Watkins 1540e8b8c7 Cleanup 2018-04-10 14:04:35 -07:00
Andrew Watkins f6165b9e4b Remove need for annotationsRef 2018-04-10 14:04:35 -07:00
Andrew Watkins 044dcfc7fd Move functions out of render and into getters 2018-04-10 14:04:35 -07:00
Andrew Watkins cd62e5cb53 Fix edit annotation rendering speed
The editTemplateVariableNames action would fire way too many times.
This cause poor rendering speeds with annotations.
2018-04-10 14:04:35 -07:00
Andrew Watkins 2d0342d62d Fix conflicts 2018-04-10 14:04:35 -07:00
Andrew Watkins 790834fe01 Convert functions to getters 2018-04-10 14:04:35 -07:00
Andrew Watkins b0294be1ea Move functions out of render and into getters 2018-04-10 14:02:02 -07:00
Andrew Watkins de53b96823 Fix crosshair hovering performance issue 2018-04-10 14:02:02 -07:00
Andrew Watkins 6fec8ecd91 Add test for bug 2018-04-10 13:56:53 -07:00
Brandon Farmer b844cf1264 Merge pull request #3162 from influxdata/fix/graph-threshold-size
Only send threshold value to parent on blur
2018-04-10 11:38:34 -07:00
Andrew Watkins b7e39e77f7 Fix Tickscript resave on error bug 2018-04-10 11:18:18 -07:00
Brandon Farmer f526f6dba0 Add basic test around threshold 2018-04-10 11:11:22 -07:00
Andrew Watkins af9e92e953 Change function to getter 2018-04-10 11:03:46 -07:00
Alex Paxton f8302db62e Merge pull request #3157 from influxdata/polish/single-stat-line-colors
Polish/Line+SingleStat Colors
2018-04-10 10:59:03 -07:00
Brandon Farmer 8659693490 Add types to threshold events 2018-04-10 10:47:55 -07:00
ebb-tide 665053195c Resolve typescript errors 2018-04-09 21:06:09 -07:00
ebb-tide 0817c89bb0 Ensure same color for single stat and line graph it is getting value from 2018-04-09 20:44:20 -07:00
Brandon Farmer eb50aacf60 Only send threshold value to parent on blur 2018-04-09 17:19:54 -07:00
Alex P cd9b98d500 Decouple checking logic for colors and last value
This prevents the single stat color from fluctuating when the user has
`fill(null)`
2018-04-09 17:17:05 -07:00
ebb-tide 7aa09418f1 Merge branch 'master' into table/reorder-columns 2018-04-09 16:22:15 -07:00
ebb-tide 72d15e4d1d Fix table ordering 2018-04-09 16:17:31 -07:00
Andrew Watkins 0cf31351e5 Merge pull request #3156 from influxdata/polish/legend-hiding
Fix legend sticking around when opening CEO
2018-04-09 16:03:42 -07:00
Iris Scholten 1b08132941 Update calculateColumnWidth to take into account 1 visible column and lock first is true 2018-04-09 15:42:14 -07:00
Alex P e78266e3fe Use line colors for a line-plus-single-stat cell 2018-04-09 15:24:30 -07:00
Iris Scholten 3b34e3f7db Respond to PR Review 2018-04-09 15:20:55 -07:00
Iris Scholten 2e1860336e Fix tests after removing datalabels and making instance methods private 2018-04-09 15:20:07 -07:00
Iris Scholten db03a3cd71 Remove dataLabels and just use queryConfigs 2018-04-09 15:20:06 -07:00
Brandon Farmer 61b159f358 Make query configs available in table options on visualization tab 2018-04-09 15:16:16 -07:00
Alex P dc3c272f19 Repair mechanism for determining text color based on background color 2018-04-09 15:07:26 -07:00
ebb-tide 2d8a447f4b Merge branch 'master' into table/reorder-columns 2018-04-09 15:06:54 -07:00
Iris Scholten 7a6bd0684c Merge pull request #3151 from influxdata/table/column-sizing
Table/Adjust Column Sizing
2018-04-09 14:53:43 -07:00
Brandon Farmer 2a91f99a41 Merge pull request #3148 from influxdata/polish/toggle-measurement
Allows users to close a measurement they have open
2018-04-09 14:51:42 -07:00
Iris Scholten 492b4d112a Respond to PR review 2018-04-09 14:29:40 -07:00
Andrew Watkins 6587d1dcac Fix legend hover bug 2018-04-09 12:26:41 -07:00
Brandon Farmer 6b44326fdf Add test around MeasurementListItem behavior 2018-04-09 12:08:25 -07:00
Andrew Watkins 4908c2cd0b Move TickscriptSave button to own file 2018-04-09 11:59:00 -07:00
Brandon Farmer 5ac5fbe159 Allows users to close a measurement they have open
Applies to:
  - Data Explorer
  - CEO
2018-04-09 10:39:31 -07:00
ebb-tide fe8860380b Prevent time data from receiving threshold colors 2018-04-07 16:10:32 -07:00
ebb-tide 3e10f6c6d5 Prevent time field from receiving threshold coloring. 2018-04-07 16:07:49 -07:00
ebb-tide 1a715cbdf2 Correctly determine which table data should be interpreted as time. 2018-04-07 15:49:31 -07:00
ebb-tide b76536f2ea Maintain order of tableoptions even when new datafields are added from query. 2018-04-07 15:19:25 -07:00
ebb-tide 421f1e4753 Make fieldNames opaque if they are in process of moving 2018-04-07 14:35:25 -07:00
ebb-tide 010e6624c9 Order fields according to tableoptions 2018-04-07 14:18:22 -07:00
Andrew Watkins 75186ae8da Alternate title copy based on state 2018-04-06 17:56:02 -07:00
Andrew Watkins 153a8915ca Disables saveing tickscript if no databases are selected 2018-04-06 17:56:02 -07:00
Andrew Watkins 30291007cc Add test resources 2018-04-06 17:56:02 -07:00
Andrew Watkins ca541481a9 Convert TickscriptEditor to TypesScript and add initial test 2018-04-06 17:56:02 -07:00
Iris Scholten 61ec801869 fix import for reduce 2018-04-06 17:52:48 -07:00
Iris Scholten 655d931c10 Remove separate calculations of label and time column sizes and move sizing function to tableGraph.js 2018-04-06 17:42:57 -07:00
Iris Scholten 0eaa6cd3fb Fix incorrect sizing of label column when horizontal time axis 2018-04-06 17:28:45 -07:00
Brandon Farmer 5fa100f1c5 Bind QueryMakerTab event handlers 2018-04-06 16:57:58 -07:00
Iris Scholten 040aeb7b1f Fix sizing error when switching between vertical and horizontal 2018-04-06 16:53:58 -07:00
Iris Scholten 08a2e4d55d respond to PR review 2018-04-06 16:06:30 -07:00
Iris Scholten d8c878d5bb fix bug to be able to remove teams and recips from OpsGenie config 2018-04-06 16:06:30 -07:00
Iris Scholten 007f8317ce Update Tags to typescript and make changes to OpsGenie to fix type issues accordingly 2018-04-06 16:06:30 -07:00
Iris Scholten f9c2913799 fix linter errors and convert TagsAddButton and ConfirmButton to typescript 2018-04-06 16:06:30 -07:00
Iris Scholten 858edc2c56 WIP update config components from AlertTabs to Typescript 2018-04-06 16:06:30 -07:00
Iris Scholten 9c697f7e66 fix linter warnings in PagerDutyConfig after converting to typescript 2018-04-06 16:06:30 -07:00
Iris Scholten 74bcea59b2 Change PagerDutyConfig to typescript 2018-04-06 16:06:30 -07:00
Jared Scheib 85e5caa2ab Merge pull request #3144 from influxdata/bugfix/dataexplorer-prefix
Ensure correct basepath prefix in URL pathname when passing InfluxQL query param to Data Explorer
2018-04-06 15:51:21 -07:00
Jared Scheib 4dccd30a2b Test that client basepath strips prefix if present
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
2018-04-06 15:01:45 -07:00
Jared Scheib d9869ab875 Strip basepath prefix from DataExplorer redirect
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
2018-04-06 13:20:34 -07:00
Jared Scheib 776e11fd42 Factor out getting basepath to utils fn
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
2018-04-06 13:06:38 -07:00
Andrew Watkins fe3fdb57f0 Merge pull request #3142 from influxdata/timemachine
Timemachine
2018-04-06 13:05:39 -07:00
Iris Scholten 23f398fe3d Update sizing column function to determine whether is label more accureately 2018-04-06 13:03:04 -07:00
Jared Scheib 94835f36f7 Factor our getting root node into utils fn
Co-authored-by Jared Scheib <jared.scheib@gmail.com>
Co-authored-by Brandon Farmer <bthesorceror@gmail.com>
2018-04-06 13:00:01 -07:00
Iris Scholten 41cdd2c003 Update column sizing funciton to take into account time format and field display names 2018-04-06 12:52:59 -07:00
Iris Scholten 7ea64ec332 Use calculated column widths instead of columnsizer widths 2018-04-06 12:51:42 -07:00
Jared Scheib cf7be217d2 Rename DataExplorer import to DataExplorerPage for consistency
Co-authored-by: Jared Scheib <jared.scheib@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-06 12:28:13 -07:00
Andrew Watkins 6fa52b9ba8 Fix type errors 2018-04-06 12:15:28 -07:00
Alex P 52a04bf8fc Fix component test 2018-04-06 11:31:23 -07:00
Alex P 2e510a57b2 undestructure name to simplify component 2018-04-06 11:30:49 -07:00
Alex P b85a69a7b8 Make func list item active class into a getter 2018-04-06 11:30:20 -07:00
Alex Paxton 80e95cae81 Merge branch 'master' into bugfix/y-axis-title 2018-04-06 10:17:52 -07:00
Alex P ffc100f08b Simplify code 2018-04-05 18:02:55 -07:00
Alex P 57dd610732 WIP fix tests 2018-04-05 18:02:43 -07:00
Alex P ae06a71952 Make availableFuncs back into getter 2018-04-05 16:30:44 -07:00
Alex P 98dfdb239c Introduce concept of "Selected Function" and allow arrow key selection 2018-04-05 16:04:47 -07:00
Alex P ac480a9fdc Add styles for function selector 2018-04-05 16:03:53 -07:00
Alex P 90c055b4bc Allow box-shadow styles on non-disabled buttons 2018-04-05 16:03:28 -07:00
Alex P 621227987b Introduce input component specifically for IFQL function selection 2018-04-05 16:02:45 -07:00
Iris Scholten 874be501b5 Add calculations for column sizing 2018-04-05 15:52:36 -07:00
Alex Paxton 399995cd1f Merge pull request #3122 from influxdata/bugfix/thresholds
Fix Thresholds Bugs
2018-04-05 15:22:29 -07:00
ebb-tide bfee0bc3ab Implement sort with react-dnd 2018-04-05 15:04:14 -07:00
Andrew Watkins 6ef22e3677 Merge pull request #3136 from influxdata/bugfix/de-time-range
Bugfix: DataExplorer time range
2018-04-05 14:50:25 -07:00
Andrew Watkins b6583060d5 Check queryConfig on component mount 2018-04-05 13:53:38 -07:00
Andrew Watkins 101459338c Change route in side nav 2018-04-05 10:07:45 -07:00
Andrew Watkins 8b30c8f281 remove component 2018-04-05 10:04:50 -07:00
Andrew Watkins f8ad5a04f6 Add style
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
Co-authored-by: Alex Paxton <thealexpaxton@gmail.com>
2018-04-05 10:02:42 -07:00
Andrew Watkins 315efc8441 Add function parameter inputs 2018-04-05 10:02:42 -07:00
Andrew Watkins 562dc839af Display arguments and thier values
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-05 10:02:42 -07:00
Andrew Watkins 7c487cf0c9 Rename Node to FuncNode
Co-authored-by: Andrew Watkins <andrew.watkinz@gmail.com>
Co-authored-by: Brandon Farmer <bthesorceror@gmail.com>
2018-04-05 10:02:42 -07:00