Repository navigation
Expand file tree
/
Copy pathhelp.html
More file actions
103 lines (96 loc) · 6.44 KB
/
Copy pathhelp.html
File metadata and controls
103 lines (96 loc) · 6.44 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="theme-color" content="#1a1a1a">
<link rel="manifest" href="manifest.json">
<title>Help — tw-web</title>
<script>(function(){var t=localStorage.getItem('tw-theme');if(t)document.documentElement.setAttribute('data-theme',t);})();</script>
<link rel="stylesheet" href="styles.css">
<script src="nav.js"></script>
<script src="tw-api.js"></script>
<style>
body { background: #1a1a1a; color: #ecf0f1; }
.help-page { max-width: 720px; margin: 0 auto; padding: 24px 20px 60px; }
.help-page h1 { color: #ecf0f1; font-size: 1.4rem; margin-bottom: 4px; }
.help-page .help-subtitle { color: rgba(255,255,255,0.4); font-size: 13px; margin-bottom: 32px; }
.help-section { margin-bottom: 32px; }
.help-section h2 {
font-size: 11px; font-weight: 600; letter-spacing: 0.08em;
text-transform: uppercase; color: rgba(255,255,255,0.35);
margin-bottom: 10px; padding-bottom: 6px;
border-bottom: 1px solid rgba(255,255,255,0.07);
}
.help-table { width: 100%; border-collapse: collapse; }
.help-table tr { border-bottom: 1px solid rgba(255,255,255,0.05); }
.help-table tr:last-child { border-bottom: none; }
.help-table td { padding: 7px 4px; font-size: 13px; color: rgba(255,255,255,0.75); vertical-align: top; }
.help-table td:first-child { width: 120px; }
kbd {
display: inline-block; padding: 2px 7px; font-size: 11px; font-family: monospace;
background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2);
border-radius: 3px; color: #ecf0f1; white-space: nowrap;
}
.help-note {
font-size: 12px; color: rgba(255,255,255,0.35); margin-top: 20px;
padding: 10px 14px; background: rgba(255,255,255,0.04);
border-radius: 6px; border-left: 3px solid rgba(255,255,255,0.1);
}
</style>
</head>
<body>
<div class="help-page">
<h1>tw-web Help</h1>
<p class="help-subtitle">Keyboard shortcuts & quick reference</p>
<div class="help-section">
<h2>Navigation</h2>
<table class="help-table">
<tr><td><kbd>L</kbd></td><td>Task list</td></tr>
<tr><td><kbd>K</kbd></td><td>Kanban board</td></tr>
<tr><td><kbd>A</kbd></td><td>Agenda</td></tr>
<tr><td><kbd>C</kbd></td><td>Calendar</td></tr>
<tr><td><kbd>N</kbd></td><td>nb-web (when the <code>nb</code> annotation launcher is a web address)</td></tr>
<tr><td><kbd>?</kbd></td><td>This help page</td></tr>
<tr><td><kbd>Esc</kbd></td><td>Focus menu button (always — essential for escaping filters)</td></tr>
<tr><td><kbd>Enter</kbd> on menu</td><td>Open side menu</td></tr>
<tr><td><kbd>↑</kbd> <kbd>↓</kbd></td><td>Navigate menu items</td></tr>
<tr><td><kbd>Esc</kbd> in menu</td><td>Close menu, return focus to menu button</td></tr>
</table>
</div>
<div class="help-section">
<h2>Task list</h2>
<table class="help-table">
<tr><td><kbd>a</kbd></td><td>Add new task</td></tr>
<tr><td><kbd>f</kbd></td><td>Focus filter input</td></tr>
<tr><td><kbd>c</kbd></td><td>Focus context buttons</td></tr>
<tr><td><kbd>s</kbd></td><td>Focus status buttons</td></tr>
</table>
</div>
<div class="help-section">
<h2>Calendar</h2>
<table class="help-table">
<tr><td><kbd>D</kbd></td><td>Day view; again: next zoom step</td></tr>
<tr><td><kbd>W</kbd></td><td>Week view; again: next zoom step</td></tr>
<tr><td><kbd>M</kbd></td><td>Month view</td></tr>
<tr><td><kbd>T</kbd></td><td>Jump to today</td></tr>
<tr><td><kbd>←</kbd> <kbd>→</kbd></td><td>Previous / next day, week or month</td></tr>
<tr><td><kbd>Space</kbd></td><td>Repeat the view button last clicked (after Week or Day: next zoom step), until you click elsewhere</td></tr>
</table>
<p class="help-note">Holidays: amber all-day bars from your taskrc's <code>holiday.*</code> entries (tw-events writes them: <code>events init</code>). They don't move, open or count; the Agenda shows them on its date lines. Settings → Calendar → Holidays.</p>
<p class="help-note">Moon & seasons: the moon's phases, solstices and equinoxes (<code>events init --moon yes --seasons yes</code>) are a dashed mark at their time in Week and Day (hover the icon; Day view shows the name beside it), just the icon by the day number in Month (hover for the name, click for that day), and follow the date on the Agenda's lines; so are the clock changes, with 🕐 (<code>--clock yes</code>). Settings → Calendar → Moon & seasons.</p>
<p class="help-note">My events: your own events from tw-events (<code>~/.task/config/my-events.txt</code>) and the ghosts of tasks (<code>events add <id></code>, which stay after the task is done): green bars, or a solid mark with 📌 at their time; on the Agenda they get a line of their own. Settings → Calendar → My events.</p>
<p class="help-note">Zoom: Week and Day each have three steps of row size and start hour (Settings → Week/Day zoom steps). Clicking the active view's button, or pressing its key, moves to the next step; changing view or reloading goes back to the default.</p>
<p class="help-note">On a phone: press and hold a task (about a third of a second) to pick it up, then move it; the page stays put. A quick sideways swipe goes to the next or previous week, day or month. In Week and Day, pinch to step through the zoom steps: spread your fingers for smaller rows, pinch them together for bigger ones; the time between your fingers stays put.</p>
</div>
<div class="help-section">
<h2>Configuration</h2>
<table class="help-table">
<tr><td><kbd>Menu → Settings</kbd></td><td>Notification timeout, kanban columns, calendar day range & default view</td></tr>
<tr><td><kbd>~/.task/config/tw-web.rc</kbd></td><td>Taskwarrior settings — UDAs, urgency coefficients, recurrence engine</td></tr>
</table>
</div>
<p class="help-note">More to come. If something is missing or broken, check the browser console and the tw-web server log.</p>
</div>
</body>
</html>