v0.2.0 41cf2ec

ASSETS.md RawHistoryFolder

Vendored web assets

static/ is embedded in the binary and served under /-/static/ with content-hashed names. Nothing is fetched at runtime.

File What Source SHA-256
static/js/htmx.min.js htmx 4.0.0 (BSD Zero Clause, static/js/htmx-LICENSE) mockups/assets/htmx/htmx.min.js of the design e484d9171a9db30a39c8f16e3d709d4137f3211c659f8e6125816635033d593f
static/js/hx-live.min.js htmx 4 hx-live extension mockups/assets/htmx/ext/hx-live.min.js adf9b90949d57baf20dc2eaf1d1fd46c81347ac82c090a5e2912ce6b37726734
static/js/hx-sse.min.js htmx 4 hx-sse extension mockups/assets/htmx/ext/hx-sse.min.js 8a834680c4000a9034d79228872372a92e140c810a075cb6d4a76690dfc13085
static/js/ermite.js key sequences to k-* events mockups/d/js/ermite.js
static/css/56-chroma.css syntax classes of the code view, mapped to the --syn-* tokens (no colour of its own) generated by go run scripts/chroma-css.go from chroma's token classes
static/css/*.css native CSS of design D, served as one stylesheet in name order mockups/d/css/ (+ 70-footer.css, the AGPL §13 source link)

The three htmx files are the exact files the approved mockup was built with. To upgrade, replace the file, update the checksum here, and run the web tests (go test ./cmd/ermite -run TestWeb).

*_templ.go files are generated by go tool templ generate (templ is pinned in go.mod) and committed; scripts/templ-drift.sh fails when they are stale.

source
1# Vendored web assets
2
3`static/` is embedded in the binary and served under `/-/static/` with
4content-hashed names. Nothing is fetched at runtime.
5
6| File | What | Source | SHA-256 |
7| --- | --- | --- | --- |
8| `static/js/htmx.min.js` | htmx 4.0.0 (BSD Zero Clause, `static/js/htmx-LICENSE`) | `mockups/assets/htmx/htmx.min.js` of the design | `e484d9171a9db30a39c8f16e3d709d4137f3211c659f8e6125816635033d593f` |
9| `static/js/hx-live.min.js` | htmx 4 `hx-live` extension | `mockups/assets/htmx/ext/hx-live.min.js` | `adf9b90949d57baf20dc2eaf1d1fd46c81347ac82c090a5e2912ce6b37726734` |
10| `static/js/hx-sse.min.js` | htmx 4 `hx-sse` extension | `mockups/assets/htmx/ext/hx-sse.min.js` | `8a834680c4000a9034d79228872372a92e140c810a075cb6d4a76690dfc13085` |
11| `static/js/ermite.js` | key sequences to `k-*` events | `mockups/d/js/ermite.js` | |
12| `static/css/56-chroma.css` | syntax classes of the code view, mapped to the `--syn-*` tokens (no colour of its own) | generated by `go run scripts/chroma-css.go` from chroma's token classes | |
13| `static/css/*.css` | native CSS of design D, served as one stylesheet in name order | `mockups/d/css/` (+ `70-footer.css`, the AGPL §13 source link) | |
14
15The three htmx files are the exact files the approved mockup was built with.
16To upgrade, replace the file, update the checksum here, and run the web tests
17(`go test ./cmd/ermite -run TestWeb`).
18
19`*_templ.go` files are generated by `go tool templ generate` (templ is pinned
20in `go.mod`) and committed; `scripts/templ-drift.sh` fails when they are stale.

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 2

Tags 45

↑↓ moveenter openesc close