mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Make the travisci module interactive
* Add ability to select and open builds * Add commit message (oneline style) to text displayed in the widget * Add documentation on the new keyboard shortcuts * Cleanup some duplicate code
This commit is contained in:
@@ -50,10 +50,12 @@ Configuration zendesk:apiKey:"3276d7155dd9ee27b8b14f8743a408a9"e
|
||||
<guid>https://wtfutil.com/posts/modules/travisci/</guid>
|
||||
<description>Added in v0.0.12.
|
||||
Displays build information for your Travis CI account.
|
||||
Source Code wtf/travisci/ Keyboard Commands None.
|
||||
Configuration travisci:apiKey:&#34;3276d7155dd9ee27b8b14f8743a408a9&#34;enabled:trueposition:top:4left:1height:1width:2pro:falserefreshInterval:900 Attributes apiKey Value: Your Travis CI API access token.
|
||||
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||
position Defines where in the grid this module&rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0.</description>
|
||||
Source Code wtf/travisci/ Keyboard Commands Key: [return] Action: Open the selected build in the browser.
|
||||
Key: j Action: Select the next build in the list.
|
||||
Key: k Action: Select the previous build in the list.
|
||||
Key: r Action: Refresh the data.
|
||||
Key: ↓ Action: Select the next build in the list.
|
||||
Key: ↑ Action: Select the previous build in the list.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
||||
@@ -50,10 +50,12 @@ Configuration zendesk:apiKey:&#34;3276d7155dd9ee27b8b14f8743a408a9&#34;e
|
||||
<guid>https://wtfutil.com/posts/modules/travisci/</guid>
|
||||
<description>Added in v0.0.12.
|
||||
Displays build information for your Travis CI account.
|
||||
Source Code wtf/travisci/ Keyboard Commands None.
|
||||
Configuration travisci:apiKey:&#34;3276d7155dd9ee27b8b14f8743a408a9&#34;enabled:trueposition:top:4left:1height:1width:2pro:falserefreshInterval:900 Attributes apiKey Value: Your Travis CI API access token.
|
||||
enabled Determines whether or not this module is executed and if its data displayed onscreen. Values: true, false.
|
||||
position Defines where in the grid this module&rsquo;s widget will be displayed. refreshInterval How often, in seconds, this module will update its data. Values: A positive integer, 0.</description>
|
||||
Source Code wtf/travisci/ Keyboard Commands Key: [return] Action: Open the selected build in the browser.
|
||||
Key: j Action: Select the next build in the list.
|
||||
Key: k Action: Select the previous build in the list.
|
||||
Key: r Action: Refresh the data.
|
||||
Key: ↓ Action: Select the next build in the list.
|
||||
Key: ↑ Action: Select the previous build in the list.</description>
|
||||
</item>
|
||||
|
||||
<item>
|
||||
|
||||
@@ -147,7 +147,23 @@ height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
|
||||
<div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash">wtf/travisci/</code></pre></div>
|
||||
<h2 id="keyboard-commands">Keyboard Commands</h2>
|
||||
|
||||
<p>None.</p>
|
||||
<p><span class="caption">Key:</span> <code>[return]</code> <br />
|
||||
<span class="caption">Action:</span> Open the selected build in the browser.</p>
|
||||
|
||||
<p><span class="caption">Key:</span> <code>j</code> <br />
|
||||
<span class="caption">Action:</span> Select the next build in the list.</p>
|
||||
|
||||
<p><span class="caption">Key:</span> <code>k</code> <br />
|
||||
<span class="caption">Action:</span> Select the previous build in the list.</p>
|
||||
|
||||
<p><span class="caption">Key:</span> <code>r</code> <br />
|
||||
<span class="caption">Action:</span> Refresh the data.</p>
|
||||
|
||||
<p><span class="caption">Key:</span> <code>↓</code> <br />
|
||||
<span class="caption">Action:</span> Select the next build in the list.</p>
|
||||
|
||||
<p><span class="caption">Key:</span> <code>↑</code> <br />
|
||||
<span class="caption">Action:</span> Select the previous build in the list.</p>
|
||||
|
||||
<h2 id="configuration">Configuration</h2>
|
||||
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">travisci<span class="p">:</span><span class="w">
|
||||
|
||||
Reference in New Issue
Block a user