accessibility_trace.go RawHistoryFolder

1package cef
2
3import (
4	"context"
5
6	"github.com/bnema/dumber/internal/application/port"
7	"github.com/bnema/dumber/internal/logging"
8)
9
10func logAccessibilityCaptureEnabled(ctx context.Context, webViewID port.WebViewID, captureDir string) {
11	logging.FromContext(ctx).Info().
12		Uint64("webview_id", uint64(webViewID)).
13		Str("capture_dir", captureDir).
14		Msg("cef: accessibility capture enabled")
15}
16
17func logAccessibilityUpdate(ctx context.Context, webViewID port.WebViewID, p accessibilityPayload) {
18	logging.FromContext(ctx).Info().
19		Uint64("webview_id", uint64(webViewID)).
20		Str("kind", p.Kind).
21		Int("bytes", p.Bytes).
22		Int64("serialize_ns", p.SerializeNanos).
23		Msg("cef: accessibility update")
24}
25
26func logAccessibilitySummary(ctx context.Context, webViewID port.WebViewID, snap accessibilityStatsSnapshot, dropped uint64) {
27	logging.FromContext(ctx).Info().
28		Uint64("webview_id", uint64(webViewID)).
29		Int("count", snap.Count).
30		Int("tree_count", snap.TreeCount).
31		Int("location_count", snap.LocationCount).
32		Int64("total_bytes", snap.TotalBytes).
33		Int("min_bytes", snap.MinBytes).
34		Int("max_bytes", snap.MaxBytes).
35		Float64("average_bytes", snap.AverageBytes).
36		Int64("total_serialize_ns", snap.TotalSerializeNanos).
37		Float64("average_serialize_ns", snap.AverageSerializeNanos).
38		Int64("max_serialize_ns", snap.MaxSerializeNanos).
39		Uint64("dropped", dropped).
40		Msg("cef: accessibility summary")
41}

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 8

Tags 42

↑↓ moveenter openesc close