-
-
Notifications
You must be signed in to change notification settings - Fork 812
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update documentation for Todoist module
- Loading branch information
Chris Cummer
committed
Jul 11, 2018
1 parent
195da38
commit c958a43
Showing
2 changed files
with
226 additions
and
0 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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 |
---|---|---|
@@ -0,0 +1,226 @@ | ||
<!DOCTYPE html> | ||
<html lang="en-us" class="wf-firasans-n4-active wf-active"> | ||
<head> | ||
<link href="http://gmpg.org/xfn/11" rel="profile"> | ||
<meta charset="utf-8"> | ||
<meta http-equiv="X-UA-Compatible" content="IE=edge"> | ||
<!-- Enable responsiveness on mobile devices --> | ||
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1"> | ||
|
||
|
||
<meta name="generator" content="Hugo 0.38.2" /> | ||
|
||
<title>Todoist | WTF - A Terminal Dashboard</title> | ||
<meta content="Todoist - WTF - A Terminal Dashboard" property="og:title"> | ||
<meta content=" - " property="og:description"> | ||
<!-- CSS --> | ||
<link rel="stylesheet" href="//cdn.rawgit.com/milligram/milligram/master/dist/milligram.min.css"> | ||
<link href="https://fonts.googleapis.com/css?family=Fira+Sans:300,300i,400,400i|Roboto+Mono:300,300i,400,400i" rel="stylesheet"> | ||
<link rel="stylesheet" href="https://wtfutil.com/css/print.css" media="print"> | ||
<link rel="stylesheet" href="https://wtfutil.com/css/poole.css"> | ||
<link rel="stylesheet" href="https://wtfutil.com/css/hyde.css"> | ||
<link rel="stylesheet" href="https://wtfutil.com/css/syntax.css"> | ||
<link rel="stylesheet" href="https://wtfutil.com/css/wtf.css"> | ||
<!-- Font-Awesome --> | ||
<script defer src="https://use.fontawesome.com/releases/v5.0.9/js/all.js" integrity="sha384-8iPTk2s/jMVj81dnzb/iFR2sdA7u06vHJyyLlAd4snFpCl/SnyUjRrbdJsw1pGIl" crossorigin="anonymous"></script> | ||
|
||
<!-- Customised CSS --> | ||
<link rel="stylesheet" href="https://wtfutil.com/css/custom.css"> | ||
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries --> | ||
<!--[if lt IE 9]> | ||
<script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script> | ||
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script> | ||
<![endif]--> | ||
<!-- Icons --> | ||
<link rel="apple-touch-icon-precomposed" sizes="144x144" href="/apple-touch-icon-144-precomposed.png"> | ||
<link rel="shortcut icon" href="/favicon.png"> | ||
|
||
<script async defer src="https://buttons.github.io/buttons.js"></script> | ||
|
||
|
||
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': | ||
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], | ||
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= | ||
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f); | ||
})(window,document,'script','dataLayer','GTM-532RMQJ');</script> | ||
|
||
|
||
</head> | ||
<body> | ||
|
||
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-532RMQJ" | ||
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript> | ||
|
||
<div class="sidebar"> | ||
<div class="container"> | ||
<div class="sidebar-about text-center"> | ||
|
||
<a href="https://wtfutil.com/"> <img src="/img/wtf.png" alt="WFT Logo" class="" width=""> </a> | ||
<p class="lead"> | ||
|
||
</p> | ||
</div> | ||
|
||
<div> | ||
<h3 style="color: white;">Content</h3> | ||
|
||
<ul style="list-style-type: none;"> | ||
<li class="sidebar-list-item-1"><a href="/posts/overview/">Overview</a></li> | ||
<li class="sidebar-list-item-1"><a href="/posts/installation/">Installation</a></li> | ||
<li class="sidebar-list-item-1"><a href="/posts/configuration/">Configuration</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/configuration/attributes/">Attributes</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/configuration/iterm2/">iTerm2</a></li> | ||
<li class="sidebar-list-item-1"><a href="https://github.com/senorprogrammer/wtf/releases">Releases</a></li> | ||
</ul> | ||
|
||
<ul style="list-style-type: none;"> | ||
<li class="sidebar-list-item-1"><a href="/posts/modules/">Modules</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/bamboohr/">BambooHR</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/cryptocurrencies/bittrex/">Bittrex</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/cryptocurrencies/blockfolio/">Blockfolio</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/circleci/">CircleCI</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/clocks/">Clocks</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/cryptocurrencies/cryptolive/">CryptoLive</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/cmdrunner/">CmdRunner</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/gerrit/">Gerrit</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/git/">Git</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/github/">GitHub</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/gitlab/">Gitlab</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/gcal/">Google Calendar</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/gspreadsheet">Google Spreadsheet</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/ipapi/">IP-API</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/ipinfo/">IPInfo</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/jenkins/">Jenkins</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/jira/">Jira</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/logger/">Logger</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/newrelic/">New Relic</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/opsgenie/">OpsGenie</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/power/">Power</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/prettyweather/">PrettyWeather</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/security/">Security</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/textfile/">Text File</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/todo/">Todo</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/todoist/">Todoist</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/trello/">Trello</a></li> | ||
<li class="sidebar-list-item-2"><a href="/posts/modules/weather/">Weather</a></li> | ||
</ul> | ||
</div> | ||
|
||
<p class="copyright"> | ||
© 2018 Chris Cummer. | ||
<br /> | ||
<a href="https://creativecommons.org/licenses/by/4.0">Some Rights Reserved</a>. | ||
|
||
</p> | ||
</div> | ||
</div> | ||
|
||
<div class="content container"> | ||
<div class="post"> | ||
<h1>Todoist</h1> | ||
|
||
<div class="col-sm-12 col-md-12"> | ||
<span class="text-left post-date meta"> | ||
|
||
|
||
Jul 05, 2018 | ||
|
||
|
||
|
||
|
||
<br/> | ||
|
||
</span> | ||
</div> | ||
|
||
|
||
|
||
<p>Added in <code>v0.0.11</code>.</p> | ||
|
||
<p>Displays all items on specified project.</p> | ||
|
||
<p><img src="/imgs/modules/todoist.png" alt="todoist screenshot" /></p> | ||
|
||
<h2 id="source-code">Source Code</h2> | ||
<div class="highlight"><pre class="chroma"><code class="language-bash" data-lang="bash">wtf/todoist/</code></pre></div> | ||
<h2 id="required-env-variables">Required ENV Variables</h2> | ||
|
||
<p><span class="caption">Key:</span> <code>WTF_TODOIST_TOKEN</code> <br /> | ||
<span class="caption">Value:</span> Your Todoist API Token. <br /></p> | ||
|
||
<p><em>You can get your API Token at: todoist.com/prefs/integrations.</em></p> | ||
|
||
<h2 id="keyboard-commands">Keyboard Commands</h2> | ||
|
||
<p><span class="caption">Key:</span> <code>h</code> <br /> | ||
<span class="caption">Action:</span> Show the previous project.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>←</code> <br /> | ||
<span class="caption">Action:</span←> Show the previous project.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>l</code> <br /> | ||
<span class="caption">Action:</span←> Show the next project.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>→</code> <br /> | ||
<span class="caption">Action:</span> Show the next project.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>j</code> <br /> | ||
<span class="caption">Action:</span> Select the next item in the list.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>↓</code> <br /> | ||
<span class="caption">Action:</span> Select the next item in the list.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>k</code> <br /> | ||
<span class="caption">Action:</span> Select the previous item in the list.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>↑</code> <br /> | ||
<span class="caption">Action:</span> Select the previous item in the list.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>c</code> <br /> | ||
<span class="caption">Action:</span> Close current item.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>d</code> <br /> | ||
<span class="caption">Action:</span> Delete current item.</p> | ||
|
||
<p><span class="caption">Key:</span> <code>r</code> <br /> | ||
<span class="caption">Action:</span> Reload all projects.</p> | ||
|
||
<h2 id="configuration">Configuration</h2> | ||
<div class="highlight"><pre class="chroma"><code class="language-yaml" data-lang="yaml">todoist<span class="p">:</span><span class="w"> | ||
</span><span class="w"> </span>projects<span class="p">:</span><span class="w"> | ||
</span><span class="w"> </span>-<span class="w"> </span>project_id<span class="w"> | ||
</span><span class="w"> </span>enabled<span class="p">:</span><span class="w"> </span><span class="kc">true</span><span class="w"> | ||
</span><span class="w"> </span>position<span class="p">:</span><span class="w"> | ||
</span><span class="w"> </span>height<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w"> | ||
</span><span class="w"> </span>left<span class="p">:</span><span class="w"> </span><span class="m">2</span><span class="w"> | ||
</span><span class="w"> </span>top<span class="p">:</span><span class="w"> </span><span class="m">0</span><span class="w"> | ||
</span><span class="w"> </span>width<span class="p">:</span><span class="w"> </span><span class="m">1</span><span class="w"> | ||
</span><span class="w"> </span>refreshInterval<span class="p">:</span><span class="w"> </span><span class="m">3600</span></code></pre></div> | ||
<h3 id="attributes">Attributes</h3> | ||
|
||
<p><code>enabled</code> <br /> | ||
Determines whether or not this module is executed and if its data displayed onscreen. <br /> | ||
Values: <code>true</code>, <code>false</code>.</p> | ||
|
||
<p><code>projects</code> <br /> | ||
The todoist projects to fetch items from. <br /></p> | ||
|
||
<p><code>refreshInterval</code> <br /> | ||
How often, in seconds, this module will update its data. <br /> | ||
Values: A positive integer, <code>0..n</code>.</p> | ||
|
||
<p><code>position</code> <br /> | ||
Where in the grid this module’s widget will be displayed. <br /></p> | ||
|
||
</div> | ||
|
||
<div class="footer"> | ||
|
||
|
||
|
||
</div> | ||
</div> | ||
|
||
|
||
</body> | ||
</html> |