-
Notifications
You must be signed in to change notification settings - Fork 8.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* EUI css reset fixes * Fix linting errors.
- Loading branch information
Showing
32 changed files
with
320 additions
and
221 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,40 +1,38 @@ | ||
<h2 class="kuiLocalDropdownTitle">Help</h2> | ||
<h2 class="euiTitle">Help</h2> | ||
|
||
<tabset> | ||
<tab heading="Request format"> | ||
<div class="list-group-item list-group-item--noBorder"> | ||
<div class="euiSpacer euiSpacer--m"></div> | ||
|
||
<div class="euiPanel euiPanel--paddingLarge"> | ||
<div class="euiFlexGroup euiFlexGroup--gutterExtraLarge"> | ||
<div class="euiFlexItem"> | ||
<h2 class="euiTitle">Request format</h2> | ||
<div class="euiSpacer euiSpacer--l"></div> | ||
You can type one or more requests in the white editor. Console understands requests in a compact format: | ||
<sense-help-example></sense-help-example> | ||
</div> | ||
</tab> | ||
<tab heading="Keyboard tips"> | ||
<div class="list-group-item list-group-item--noBorder"> | ||
<dl class="dl-horizontal"> | ||
<dt></dt> | ||
<dd><strong>General editing</strong></dd> | ||
<dt>Ctrl/Cmd + I</dt> | ||
<dd>Auto indent current request</dd> | ||
<dt>Ctrl + Space</dt> | ||
<dd>Open Auto complete (even if not typing)</dd> | ||
<dt>Ctrl/Cmd + Enter</dt> | ||
<dd>Submit request</dd> | ||
<dt>Ctrl/Cmd + Up/Down</dt> | ||
<dd>Jump to the previous/next request start or end.</dd> | ||
<dt>Ctrl/Cmd + Alt + L</dt> | ||
<dd>Collapse/expand current scope.</dd> | ||
<dt>Ctrl/Cmd + Option + 0</dt> | ||
<dd>Collapse all scopes but the current one. Expand by adding a shift.</dd> | ||
</dl> | ||
<dl class="dl-horizontal"> | ||
<dt></dt> | ||
<dd><strong>When auto-complete is visible</strong></dd> | ||
<dt>Down arrow</dt> | ||
<dd>Switch focus to auto-complete menu. Use arrows to further select a term</dd> | ||
<dt>Enter/Tab</dt> | ||
<dd>Select the currently selected or the top most term in auto-complete menu</dd> | ||
<dt>Esc</dt> | ||
<dd>Close auto-complete menu</dd> | ||
<div class="euiFlexItem"> | ||
<h2 class="euiTitle">Keyboard commands</h2> | ||
<div class="euiSpacer euiSpacer--l"></div> | ||
<dl class="euiDescriptionList euiDescriptionList--row euiDescriptionList--compressed"> | ||
<dt class="euiDescriptionList__title">Ctrl/Cmd + I</dt> | ||
<dd class="euiDescriptionList__description">Auto indent current request</dd> | ||
<dt class="euiDescriptionList__title">Ctrl + Space</dt> | ||
<dd class="euiDescriptionList__description">Open Auto complete (even if not typing)</dd> | ||
<dt class="euiDescriptionList__title">Ctrl/Cmd + Enter</dt> | ||
<dd class="euiDescriptionList__description">Submit request</dd> | ||
<dt class="euiDescriptionList__title">Ctrl/Cmd + Up/Down</dt> | ||
<dd class="euiDescriptionList__description">Jump to the previous/next request start or end.</dd> | ||
<dt class="euiDescriptionList__title">Ctrl/Cmd + Alt + L</dt> | ||
<dd class="euiDescriptionList__description">Collapse/expand current scope.</dd> | ||
<dt class="euiDescriptionList__title">Ctrl/Cmd + Option + 0</dt> | ||
<dd class="euiDescriptionList__description">Collapse all scopes but the current one. Expand by adding a shift.</dd> | ||
<dt class="euiDescriptionList__title">Down arrow</dt> | ||
<dd class="euiDescriptionList__description">Switch focus to auto-complete menu. Use arrows to further select a term</dd> | ||
<dt class="euiDescriptionList__title">Enter/Tab</dt> | ||
<dd class="euiDescriptionList__description">Select the currently selected or the top most term in auto-complete menu</dd> | ||
<dt class="euiDescriptionList__title">Esc</dt> | ||
<dd class="euiDescriptionList__description">Close auto-complete menu</dd> | ||
</dl> | ||
</div> | ||
</tab> | ||
</tabset> | ||
</div> | ||
</div> |
70 changes: 37 additions & 33 deletions
70
src/core_plugins/console/public/src/directives/welcome.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,37 @@ | ||
<h2 class="kuiLocalDropdownTitle">Welcome to Console</h2> | ||
|
||
<p><strong>Quick intro to the UI</strong></p> | ||
|
||
<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>Console understands requests in a compact format, similar to cURL: | ||
<sense-help-example></sense-help-example> | ||
|
||
<p>While typing a request, Console will make suggestions which you can then accept by hitting Enter/Tab. | ||
These suggestions are made based on the request structure <i>as well as</i> your indices and types. | ||
</p> | ||
|
||
<p><strong>A few quick tips, while I have your attention</strong></p> | ||
<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 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> | ||
|
||
<button | ||
type="button" | ||
class="kuiButton kuiButton--primary" | ||
data-test-subj="help-close-button" | ||
ng-click="kbnTopNav.close()" | ||
> | ||
Get to work | ||
</button> | ||
<div class="euiText"> | ||
|
||
<h2>Welcome to Console</h2> | ||
|
||
<p><strong>Quick intro to the UI</strong></p> | ||
|
||
<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>Console understands requests in a compact format, similar to cURL: | ||
<sense-help-example></sense-help-example> | ||
|
||
<p>While typing a request, Console will make suggestions which you can then accept by hitting Enter/Tab. | ||
These suggestions are made based on the request structure <i>as well as</i> your indices and types. | ||
</p> | ||
|
||
<p><strong>A few quick tips, while I have your attention</strong></p> | ||
<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 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> | ||
|
||
<button | ||
type="button" | ||
class="kuiButton kuiButton--primary" | ||
data-test-subj="help-close-button" | ||
ng-click="kbnTopNav.close()" | ||
> | ||
Get to work | ||
</button> | ||
|
||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.