Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add some modifications to help message #57

Merged
merged 1 commit into from
Oct 21, 2014
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/app/directives/kibanaPanel.js
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ function (angular) {
'<span class="rotate-icon pointer" bs-tooltip="\'Transpose Rows and Columns\'" ng-click="flip()"></span>' +
'</span>' +

'<span ng-repeat="task in panelMeta.modals" class="row-button extra" ng-show="task.show&&panel.spyable">' +
'<span ng-repeat="task in panelMeta.modals" class="row-button extra" ng-show="panel.spyable">' +
'<span bs-modal="task.partial"class="pointer"><i ' +
'bs-tooltip="task.description" ng-class="task.icon" class="pointer"></i></span>'+
'</span>' +
Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/bettermap/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ function (angular, app, _, L, localRequire) {
lon_start: '',
lon_end: '',
// tooltip : "_id",
field : null
field : null,
show_queries:true,
};

_.defaults($scope.panel, _d);
Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/derivequeries/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,8 @@ function (angular, app, _) {
mode : 'terms only',
exclude : [],
history : [],
remember: 10 // max: 100, angular strap can't take a variable for items param
remember: 10, // max: 100, angular strap can't take a variable for items param
show_queries:true,
};
_.defaults($scope.panel,_d);

Expand Down
1 change: 1 addition & 0 deletions src/app/panels/facet/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ define([
foundResults: true,
header_title: "Limit Your Search",
toggle_element: null,
show_queries:true,
};
_.defaults($scope.panel, _d);

Expand Down
2 changes: 1 addition & 1 deletion src/app/panels/filtering/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ function (angular, app, _) {
description: "Inspect",
icon: "icon-info-sign",
partial: "app/partials/inspector.html",
show: $scope.panel.spyable
show: true
}],
status: "Stable",
description: "A controllable list of all filters currently applied to the dashboard. You need one of these on your dashboard somewhere in order for all the panels to work properly while you are interacting with your data."
Expand Down
1 change: 1 addition & 0 deletions src/app/panels/fullTextSearch/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ define([
exportAll: true,
facet_limit: 10,
foundResults: true,
show_queries:true,
};
_.defaults($scope.panel, _d);

Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/heatmap/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,8 @@ define([
color:'gray',
spyable: true,
transpose_show: true,
transposed: false
transposed: false,
show_queries:true,
};

// Set panel's default values
Expand Down
1 change: 1 addition & 0 deletions src/app/panels/histogram/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
percentage : false,
interactive : true,
options : true,
show_queries:true,
tooltip : {
value_type: 'cumulative',
query_as_alias: false
Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/hits/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ define([
donut : false,
tilt : false,
labels : true,
spyable : true
spyable : true,
show_queries:true,
};
_.defaults($scope.panel,_d);

Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/map/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,8 @@ function (angular, app, _, $) {
size : 100,
exclude : [],
spyable : true,
index_limit : 0
index_limit : 0,
show_queries:true,
};
_.defaults($scope.panel,_d);

Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/multiseries/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ define([
yAxis: 'Rates',
fl: 'open,high,low,close',
rightAxis: 'volume', // TODO: need to remove hard coded field (volume).
spyable: true
spyable: true,
show_queries:true,
};

_.defaults($scope.panel, _d);
Expand Down
2 changes: 1 addition & 1 deletion src/app/panels/query/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ define([
description: "Inspect",
icon: "icon-info-sign",
partial: "app/partials/inspector.html",
show: $scope.panel.spyable
show: true
}],
status : "Stable",
description : "Provide a search bar for free-form queries. You almost certainly want one of these somewhere prominent on your dashboard."
Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/rangeFacet/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,8 @@ function (angular, app, $, _, kbn, moment, timeSeries) {
value_type: 'cumulative',
query_as_alias: false
},
showChart:true
showChart:true,
show_queries:true,
};

_.defaults($scope.panel,_d);
Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/scatterplot/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,8 @@ define([
yAxis: 'Rates',
fl: 'open,high,low,close',
rightAxis: 'volume', // TODO: need to remove hard coded field (volume).
spyable: true
spyable: true,
show_queries:true,
};

_.defaults($scope.panel, _d);
Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/table/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,8 @@ function (angular, app, _, kbn, moment) {
displayLinkIcon: true,
imageFields : [], // fields to be displayed as <img>
imgFieldWidth: 'auto', // width of <img> (if enabled)
imgFieldHeight: '85px' // height of <img> (if enabled)
imgFieldHeight: '85px', // height of <img> (if enabled)
show_queries:true,
};
_.defaults($scope.panel,_d);

Expand Down
1 change: 1 addition & 0 deletions src/app/panels/terms/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ function (angular, app, _, $, kbn) {
counter_pos : 'above',
lastColor : '',
spyable : true,
show_queries:true,
error : '',
chartColors : querySrv.colors
};
Expand Down
3 changes: 2 additions & 1 deletion src/app/panels/ticker/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,8 @@ define([
},
ago: '1d',
arrangement: 'vertical',
spyable: true
spyable: true,
show_queries:true,
};
_.defaults($scope.panel, _d);

Expand Down
2 changes: 1 addition & 1 deletion src/app/panels/timepicker/module.js
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ function (angular, app, _, moment, kbn, $) {
description: "Inspect",
icon: "icon-info-sign",
partial: "app/partials/inspector.html",
show: $scope.panel.spyable
show: true
}],
status : "Stable",
description : "A panel for controlling the time range filters. If you have time based data, "+
Expand Down