v0.35.1 2aca1df

home.html RawHistoryFolder

1<!doctype html>
2<html lang="en">
3<head>
4<meta charset="utf-8">
5<meta name="viewport" content="width=device-width, initial-scale=1">
6<meta name="color-scheme" content="light dark">
7<title>example.test</title>
8<meta name="theme-color" data-scheme="light" media="(prefers-color-scheme: light)" content="#ffffff">
9<meta name="theme-color" data-scheme="dark" media="(prefers-color-scheme: dark)" content="#0c0c0c">
10<meta name="apple-mobile-web-app-title" content="ermite">
11<link rel="icon" type="image/svg+xml" href="/-/static/img/icon.HASH.svg">
12<link rel="apple-touch-icon" href="/-/static/app/apple-touch-icon.HASH.png">
13<link rel="manifest" href="/-/static/app/manifest.HASH.webmanifest">
14<link rel="preload" href="/-/static/fonts/atkinson-next.HASH.woff2" as="font" type="font/woff2" crossorigin>
15<link rel="stylesheet" href="/-/static/css/ermite.HASH.css">
16<meta name="htmx-config" content='{"history":false,"includeIndicatorCSS":false,"extensions":"sse, hx-live"}'>
17<script src="/-/static/js/htmx.min.HASH.js" defer>
18</script>
19<script src="/-/static/js/hx-live.min.HASH.js" defer>
20</script>
21<script src="/-/static/js/hx-sse.min.HASH.js" defer>
22</script>
23<script src="/-/static/js/store.HASH.js">
24</script>
25<script src="/-/static/js/ermite.HASH.js" defer>
26</script>
27<script src="/-/static/js/files.HASH.js" defer>
28</script>
29<script src="/-/static/js/passkey.HASH.js" defer>
30</script>
31<script src="/-/static/js/log.HASH.js" defer>
32</script>
33</head>
34<body data-ref="" data-sha="" data-sel="" data-nav="">
35<a class="skip" href="#main">skip to content</a>
36<header class="hdr">
37<div class="hdr-top">
38<a class="brand" href="/" data-g="h" aria-label="home" title="home (g h)">
39<span class="brand-mark" aria-hidden="true">
40</span>
41</a>
42<div class="hdr-acts">
43<button type="button" class="btn search" data-js aria-haspopup="dialog" aria-controls="panel-cmd" aria-keyshortcuts="Control+K :" title="go to a section, ref, file or repo (ctrl k or :)" data-fire="cmd">
44<span class="ico i-search" aria-hidden="true">
45</span>
46<span class="search-label">Go to…</span>
47<kbd aria-hidden="true">ctrl k</kbd>
48</button>
49</div>
50</div>
51</header>
52<div class="work">
53<main id="main" tabindex="-1">
54<h1 class="sr">Repositories</h1>
55<div class="home" data-layout="cards">
56<section class="home-repos" aria-label="Repositories">
57<div class="home-bar">
58<div class="filter">
59<label for="home-filter" class="sr">filter</label>
60<input id="home-filter" type="search" data-filter="#repo-rows > li" placeholder="Filter repositories…" autocomplete="off" hx-on:input="ermite.filter(this)">
61</div>
62<nav class="sort" aria-label="Sort repositories">
63<span class="mute">sort</span>
64<a href="/?sort=activity&amp;dir=asc" aria-current="true">last activity <span aria-hidden="true">▼</span>
65<span class="sr">, descending, select for ascending</span>
66</a>
67<a href="/?sort=name&amp;dir=asc">name </a>
68</nav>
69<div class="layout-switch" role="group" aria-label="Layout" data-js>
70<button type="button" class="btn icon" data-set-layout="cards" aria-pressed="true" title="Cards" aria-label="Cards">
71<span class="ico i-cards" aria-hidden="true">
72</span>
73</button>
74<button type="button" class="btn icon" data-set-layout="split" aria-pressed="false" title="Two columns" aria-label="Two columns">
75<span class="ico i-split" aria-hidden="true">
76</span>
77</button>
78<button type="button" class="btn icon" data-set-layout="compact" aria-pressed="false" title="Compact list" aria-label="Compact list">
79<span class="ico i-compact" aria-hidden="true">
80</span>
81</button>
82</div>
83</div>
84<ul class="repos" id="repo-rows" data-rows data-sort="activity" data-desc="true">
85<li id="repo-quiet" class="repo" data-cursor>
86<div class="repo-main">
87<h2 class="repo-name">
88<a href="/quiet">quiet</a>
89</h2>
90<p class="repo-desc mute">no description</p>
91<div class="repo-topics" aria-hidden="true">
92</div>
93<div class="repo-pulse" aria-hidden="true">
94</div>
95</div>
96<div class="repo-head">
97<dl class="repo-stats" aria-label="Figures of quiet">
98<div class="rs-active">
99<dt>last activity</dt>
100<dd>
101<time datetime="STAMP" title="STAMP">AGO</time>
102</dd>
103</div>
104</dl>
105</div>
106<p class="repo-commits mute">no commits yet</p>
107</li>
108<li id="repo-demo" class="repo">
109<div class="repo-main">
110<h2 class="repo-name">
111<a href="/demo">demo</a>
112</h2>
113<p class="repo-desc">A demo repository</p>
114<div class="repo-topics" aria-hidden="true">
115</div>
116<figure class="repo-pulse">
117<svg viewBox="0 0 600 64" role="img" aria-label="Activity: 0 commits in the last 90 days" focusable="false">
118<defs>
119<linearGradient id="hb-demo" x1="0" y1="0" x2="0" y2="1">
120<stop class="pulse-stop-top" offset="0">
121</stop>
122<stop class="pulse-stop-bottom" offset="1">
123</stop>
124</linearGradient>
125</defs>
126<path class="pulse-grid" d="M0 21.5 H600 M0 42.5 H600 M0 63.5 H600" vector-effect="non-scaling-stroke">
127</path>
128<path class="pulse-area" d="M0 58 C98.3 58 491.7 58 590 58 L590 64 L0 64 Z" fill="url(#hb-demo)">
129</path>
130<path class="pulse-line" d="M0 58 C98.3 58 491.7 58 590 58" vector-effect="non-scaling-stroke">
131</path>
132<circle class="pulse-dot" cx="590" cy="58" r="3.5">
133</circle>
134</svg>
135</figure>
136</div>
137<div class="repo-head">
138<dl class="repo-stats" aria-label="Figures of demo">
139<div>
140<dt>commits</dt>
141<dd>2</dd>
142</div>
143<div>
144<dt>last 30 days</dt>
145<dd>0</dd>
146</div>
147<div class="rs-active">
148<dt>last activity</dt>
149<dd>
150<time datetime="STAMP" title="STAMP">AGO</time>
151</dd>
152</div>
153<div class="rs-tag">
154<dt>last tag</dt>
155<dd>
156<a href="/demo/tree/SHA40" title="v0.2.0 · made AGO">v0.2.0</a>
157</dd>
158</div>
159</dl>
160</div>
161<ul class="repo-commits" aria-label="Recent commits of demo">
162<li>
163<a class="rc-sha" href="/demo/commit/SHA40">SHA7</a>
164<span class="rc-subject" title="add main.go">add main.go</span>
165<time class="dim" datetime="STAMP" title="STAMP">AGO</time>
166</li>
167<li>
168<a class="rc-sha" href="/demo/commit/SHA40">SHA7</a>
169<span class="rc-subject" title="first commit">first commit</span>
170<time class="dim" datetime="STAMP" title="STAMP">AGO</time>
171</li>
172</ul>
173</li>
174</ul>
175</section>
176</div>
177</main>
178</div>
179<footer class="foot">
180<span>ermite devel</span>
181<a href="http://example.test/ermite" rel="noopener" title="source of this version (AGPL-3.0-or-later)">source</a>
182<button type="button" class="foot-keys" data-js data-fire="help" aria-haspopup="dialog" aria-controls="panel-help" aria-keyshortcuts="?">
183<kbd aria-hidden="true">?</kbd> keyboard shortcuts</button>
184<button type="button" class="foot-theme" data-js data-theme-switch aria-label="theme: auto (switch to light)" title="theme: auto (switch to light)">
185<span class="ico i-sun-moon" aria-hidden="true">
186</span>
187</button>
188</footer>
189<div class="hint">
190<span aria-hidden="true" class="hint-nav" :text="document.body.dataset.nav || ''">
191</span>
192<span role="status" aria-live="polite">
193<span class="hint-sel" :text="document.body.dataset.sel ? document.body.dataset.sel + ' · y permalink' : ''">
194</span>
195<span class="hint-flash" :text="document.body.dataset.flash || ''">
196</span>
197</span>
198<span class="hint-live" role="status" data-state="connecting" hx-sse:connect="/-/events?topic=home" hx-swap="none" :text="data.state === 'offline' ? 'live updates paused' : ''" hx-on="htmx:sse:after:connection -> ermiteLive.back();
199           htmx:sse:close, htmx:sse:error -> ermiteLive.lost();
200           htmx:sse:error -> ermiteLive.error(event.detail.status);
201           htmx:sse:before:connection -> ermiteLive.gate(event);
202           home-list, repo-last-push, refs-list, commits-head, mr-notice, mr-mergeability, ci-run, ci-job, inbox -> ermiteLive.swap(event.detail.data);
203           mr-head -> ermiteMR.headChanged();
204           gap -> ermiteLive.reload()">
205</span>
206</div>
207<dialog id="panel-help" class="panel modal" aria-label="Keyboard shortcuts" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
208<div class="panel-head">
209<h2>Keyboard shortcuts</h2>
210<button type="button" class="panel-x" aria-label="Close (esc)" hx-on:click="closest('dialog').close()">
211<kbd>esc</kbd> close</button>
212</div>
213<div class="keys-pref">
214<label>
215<input type="checkbox" id="keys-off" aria-describedby="keys-note" hx-on:change="ermite.setKeysOff(this.checked)"> Turn off single-key shortcuts</label>
216<p id="keys-note" class="dim">Single-key shortcuts are on. ctrl k and esc work whatever this says.</p>
217</div>
218<dl class="keys">
219<div>
220<dt>
221<kbd>ctrl k</kbd>
222<kbd>:</kbd>
223</dt>
224<dd>go to a section, branch, tag, file or repository</dd>
225</div>
226<div>
227<dt>
228<kbd>?</kbd>
229</dt>
230<dd>this list</dd>
231</div>
232<div>
233<dt>
234<kbd>j</kbd>
235<kbd>k</kbd>
236</dt>
237<dd>move the row cursor down / up</dd>
238</div>
239<div>
240<dt>
241<kbd>enter</kbd>
242</dt>
243<dd>open the row under the cursor; on Files, a directory opens or closes in place</dd>
244</div>
245<div>
246<dt>
247<kbd>↑</kbd>
248<kbd>↓</kbd>
249<kbd>←</kbd>
250<kbd>→</kbd>
251<kbd>home</kbd>
252<kbd>end</kbd>
253</dt>
254<dd>in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file</dd>
255</div>
256<div>
257<dt>
258<kbd>l</kbd>
259<kbd>h</kbd>
260</dt>
261<dd>on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls</dd>
262</div>
263<div>
264<dt>
265<kbd>g g</kbd>
266<kbd>G</kbd>
267</dt>
268<dd>first / last row</dd>
269</div>
270<div>
271<dt>
272<kbd>/</kbd>
273</dt>
274<dd>filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)</dd>
275</div>
276<div>
277<dt>
278<kbd>b</kbd>
279</dt>
280<dd>switch branch or tag</dd>
281</div>
282<div>
283<dt>
284<kbd>g s</kbd>
285<kbd>g f</kbd>
286<kbd>g c</kbd>
287<kbd>g b</kbd>
288<kbd>g m</kbd>
289<kbd>g i</kbd>
290<kbd>g r</kbd>
291<kbd>g a</kbd>
292</dt>
293<dd>tabs: summary, files, commits, branches &amp; tags, merge requests, issues, releases, actions (when available)</dd>
294</div>
295<div>
296<dt>
297<kbd>g h</kbd>
298</dt>
299<dd>home</dd>
300</div>
301<div>
302<dt>
303<kbd>w</kbd>
304</dt>
305<dd>wide mode: use the whole width of the screen, or not (remembered)</dd>
306</div>
307<div>
308<dt>
309<kbd>y</kbd>
310</dt>
311<dd>copy a permalink pinned to the commit</dd>
312</div>
313<div>
314<dt>
315<kbd>d</kbd>
316<kbd>u</kbd>
317<kbd>x</kbd>
318</dt>
319<dd>diff: split / unified / collapse or expand all</dd>
320</div>
321<div>
322<dt>
323<kbd>e</kbd>
324<kbd>E</kbd>
325</dt>
326<dd>diff: the whole file in view / every file, with the lines the hunks hide</dd>
327</div>
328<div>
329<dt>
330<kbd>n</kbd>
331</dt>
332<dd>merge request: next note in the diff</dd>
333</div>
334<div>
335<dt>
336<kbd>esc</kbd>
337</dt>
338<dd>close a dialog, leave a field</dd>
339</div>
340</dl>
341</dialog>
342<dialog id="panel-cmd" class="panel modal" aria-label="Go to" hx-on:close="ermiteFinder.paletteClose()" hx-on:keydown="event.key === 'Escape' && (event.preventDefault(), this.close())" hx-on:click="event.target === this && this.close()">
343<div class="panel-head">
344<label for="cmd-q" class="sr">go to</label>
345<input id="cmd-q" type="search" placeholder="Go to a section, branch, tag, file or repository…" autocomplete="off" spellcheck="false" role="combobox" aria-autocomplete="list" aria-expanded="true" aria-controls="cmd-list" aria-activedescendant="cmd-o0" hx-on:input="ermite.cmdFilter(this); ermiteFinder.palette(this)" hx-on:keydown="ermite.cmdKey(event)">
346<button type="button" class="panel-x" aria-label="Close (esc)" hx-on:click="closest('dialog').close()">
347<kbd>esc</kbd>
348</button>
349</div>
350<ul id="cmd-list" class="cmd-list" role="listbox" aria-label="Targets">
351<li id="cmd-o0" role="option" aria-selected="true" data-k="go home" data-cursor>
352<a role="presentation" data-href="/">
353<span class="lbl">home</span>
354<span class="k">go</span>
355</a>
356</li>
357<li id="cmd-o1" role="option" aria-selected="false" data-k="repo quiet">
358<a role="presentation" data-href="/quiet">
359<span class="lbl">quiet</span>
360<span class="k">repo</span>
361</a>
362</li>
363<li id="cmd-o2" role="option" aria-selected="false" data-k="repo demo">
364<a role="presentation" data-href="/demo">
365<span class="lbl">demo</span>
366<span class="k">repo</span>
367</a>
368</li>
369<li id="cmd-o3" role="option" aria-selected="false" data-k="action turn single-key shortcuts on off keyboard">
370<a role="presentation" data-fire="keys">
371<span class="lbl">turn single-key shortcuts off</span>
372<span class="k">action</span>
373</a>
374</li>
375</ul>
376<p class="panel-foot">
377<span>
378<kbd>↑</kbd>
379<kbd>↓</kbd> move</span>
380<span>
381<kbd>enter</kbd> open</span>
382<span>
383<kbd>esc</kbd> close</span>
384</p>
385</dialog>
386<div id="keys" hidden hx-on="k-j from:body -> ermite.move(1);
387         k-k from:body -> ermite.move(-1);
388         k-top from:body -> ermite.edge(false);
389         k-bottom from:body -> ermite.edge(true);
390         k-open from:body -> ermite.open();
391         k-right from:body -> ermite.rail(true);
392         k-left from:body -> ermite.rail(false);
393         k-esc from:body -> ermite.closeDialogs();
394         k-help from:body -> ermite.dialog('panel-help');
395         k-refs from:body -> ermite.dialog('panel-refs', 'refs-filter');
396         k-cmd from:body -> ermite.dialog('panel-cmd', 'cmd-q'); ermiteFinder.load();
397         k-filter from:body -> ermite.focusFilter();
398         k-gh from:body -> ermite.go('.brand');
399         k-s from:body -> ermite.tab('s');
400         k-f from:body -> ermite.tab('f');
401         k-b from:body -> ermite.tab('b');
402         k-a from:body -> ermite.tab('a');
403         k-c from:body -> ermite.tab('c');
404         k-r from:body -> ermite.tab('r');
405         k-m from:body -> ermite.tab('m');
406         k-i from:body -> ermite.tab('i');
407         k-inbox from:body -> ermite.go('[data-inbox]');
408         k-next from:body -> ermite.nextNote();
409         k-split from:body -> ermite.layout('split');
410         k-unified from:body -> ermite.layout('unified');
411         k-collapse from:body -> ermite.collapse();
412         k-wide from:body -> window.ermiteWide.toggle();
413         k-expand from:body -> ermite.expandFile();
414         k-expandAll from:body -> ermite.expandAll();
415         k-permalink from:body -> ermite.permalink();
416         k-merge from:body -> window.ermiteMR?.openMerge();
417         k-read from:body -> window.ermiteMR?.markRead();
418         k-keys from:body -> ermite.toggleKeys()">
419</div>
420</body>
421</html>

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 4

Tags 45

↑↓ moveenter openesc close