v0.4.0 6203a22

tsup.config.ts RawHistoryFolder

1import { defineConfig } from 'tsup'
2
3export default defineConfig([
4  // Browser bundle
5  {
6    entry: ['src/main.ts'],
7    format: ['esm'],
8    outDir: 'dist',
9    outExtension: () => ({ js: '.js' }),
10    target: 'es2024',
11    platform: 'browser',
12    minify: false,
13    sourcemap: true,
14    clean: true,
15    bundle: true,
16    splitting: false,
17    external: [],
18    // noExternal: [],
19  },
20  // Injectable controls script (minified for injection)
21  {
22    entry: ['src/injected-controls.ts'],
23    format: ['iife'],
24    outDir: 'dist',
25    outExtension: () => ({ js: '.min.js' }),
26    target: 'es2024',
27    platform: 'browser',
28    minify: true,
29    sourcemap: false,
30    bundle: true,
31    splitting: false,
32    globalName: '__dumberControls',
33    external: [],
34    onSuccess: async () => {
35      console.log('✓ Injectable controls script compiled successfully')
36    }
37  },
38  // Node.js build script
39  {
40    entry: ['src/build-html.ts', 'src/utils/html-builder.ts'],
41    format: ['esm'],
42    outDir: 'dist',
43    outExtension: () => ({ js: '.js' }),
44    target: 'es2024',
45    platform: 'node',
46    minify: false,
47    sourcemap: false,
48    bundle: true,
49    splitting: false,
50    onSuccess: async () => {
51      console.log('✓ Frontend TypeScript compiled successfully')
52    }
53  }
54])

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