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

Sense to Console #6841

Merged
merged 3 commits into from
Apr 11, 2016
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
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ module.run(function (Private, $rootScope) {

module.controller('SenseController', function SenseController($scope, docTitle) {

docTitle.change('Sense');
docTitle.change('Console');

// require the root app code, which expects to execute once the dom is loaded up
require('../app');
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/console/public/src/directives/help.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ <h3>Help</h3>

<tabset>
<tab heading="Request format">
You can type one or more requests in the white editor. Sense understands requests in a compact format:
You can type one or more requests in the white editor. Console understands requests in a compact format:
<sense-help-example></sense-help-example>
</tab>
<tab heading="Keyboard tips">
Expand Down
10 changes: 5 additions & 5 deletions src/plugins/console/public/src/directives/welcome.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<h3>Welcome to Sense</h3>
<h3>Welcome to Console</h3>

<h4>Quick intro to the UI</h4>

<p>Sense is split into two panes: an editor pane (left) and a response pane (right).
<p>The Console UI is split into two panes: an editor pane (left) and a response pane (right).
Use the editor to type requests and submit them to Elasticsearch. The results will be displayed in
the response pane on the right side.
</p>

<p>Sense understands requests in a compact format, similar to cURL:
<p>Console understands requests in a compact format, similar to cURL:
<sense-help-example></sense-help-example>

<p>While typing a request, Sense will make suggestions which you can than accept by hitting Enter/Tab.
<p>While typing a request, Console will make suggestions which you can than accept by hitting Enter/Tab.
These suggestions are made based on the request structure <i>as well as</i> your indices and types.
</p>

Expand All @@ -19,7 +19,7 @@ <h4>A few quick tips, while I have your attention</h4>
<ul>
<li>Submit requests to ES using the green triangle button.</li>
<li>Use the wrench menu for other useful things.</li>
<li>You can paste requests in cURL format and they will be translated to the Sense syntax.</li>
<li>You can paste requests in cURL format and they will be translated to the Console syntax.</li>
<li>You can resize the editor and output panes by dragging the separator between them.</li>
<li>Study the keyboard shortcuts under the Help button. Good stuff in there!</li>
</ul>
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/console/public/src/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ module.exports.send = function (method, path, data, server, disable_auth_alert)
},
function (jqXHR, textStatus, errorThrown) {
if (jqXHR.status == 0) {
jqXHR.responseText = "\n\nFailed to connect to Sense's backend.\nPlease check the Kibana server is up and running";
jqXHR.responseText = "\n\nFailed to connect to Console's backend.\nPlease check the Kibana server is up and running";
}
wrappedDfd.rejectWith(this, [jqXHR, textStatus, errorThrown]);
});
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/console/public/src/input.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ var zc = (function setupZeroClipboard() {

zc.on('wrongflash noflash', function () {
if (!storage.get('flash_warning_shown')) {
alert('Sense needs flash version 10.0 or greater in order to provide "Copy as cURL" functionality');
alert('Console needs flash version 10.0 or greater in order to provide "Copy as cURL" functionality');
storage.set('flash_warning_shown', 'true');
}
$copyAsCURL.hide();
Expand Down