detached dc10bc8

style(imports): reorganize import order and cleanup whitespace

commit
dc10bc86f2b258d8dc7ce386cf9c215269983f8d
author
bamen · · 2025-09-20 13:26 UTC
parent
a2035ab
signature
unsigned
5 files · +4 -5
M internal/app/browser/browser.go +1 -1
@@ -19,8 +19,8 @@ import (
1919 "github.com/bnema/dumber/internal/filtering"
2020 "github.com/bnema/dumber/internal/logging"
2121 "github.com/bnema/dumber/internal/migrations"
22- "github.com/bnema/dumber/pkg/webkit"
2322 "github.com/bnema/dumber/internal/services"
23+ "github.com/bnema/dumber/pkg/webkit"
2424 )
2525
2626 // BrowserApp represents the main browser application
@@ -19,8 +19,8 @@ import (
19 "github.com/bnema/dumber/internal/filtering"19 "github.com/bnema/dumber/internal/filtering"
20 "github.com/bnema/dumber/internal/logging"20 "github.com/bnema/dumber/internal/logging"
21 "github.com/bnema/dumber/internal/migrations"21 "github.com/bnema/dumber/internal/migrations"
22- "github.com/bnema/dumber/pkg/webkit"
23 "github.com/bnema/dumber/internal/services"22 "github.com/bnema/dumber/internal/services"
23+ "github.com/bnema/dumber/pkg/webkit"
24 )24 )
25 25
26 // BrowserApp represents the main browser application26 // BrowserApp represents the main browser application
M internal/app/browser/window_shortcuts.go +0 -1
@@ -200,7 +200,6 @@ func (h *WindowShortcutHandler) handleUIToggle(lastToggle *time.Time, featureNam
200200 }
201201 }
202202
203-
204203 // Cleanup releases resources
205204 func (h *WindowShortcutHandler) Cleanup() {
206205 if h.shortcuts != nil {
@@ -200,7 +200,6 @@ func (h *WindowShortcutHandler) handleUIToggle(lastToggle *time.Time, featureNam
200 }200 }
201 }201 }
202 202
203-
204 // Cleanup releases resources203 // Cleanup releases resources
205 func (h *WindowShortcutHandler) Cleanup() {204 func (h *WindowShortcutHandler) Cleanup() {
206 if h.shortcuts != nil {205 if h.shortcuts != nil {
M internal/app/control/navigation.go +1 -1
@@ -5,8 +5,8 @@ import (
55 "log"
66 "os"
77
8- "github.com/bnema/dumber/pkg/webkit"
98 "github.com/bnema/dumber/internal/services"
9+ "github.com/bnema/dumber/pkg/webkit"
1010 )
1111
1212 // NavigationController manages navigation functionality
@@ -5,8 +5,8 @@ import (
5 "log"5 "log"
6 "os"6 "os"
7 7
8- "github.com/bnema/dumber/pkg/webkit"
9 "github.com/bnema/dumber/internal/services"8 "github.com/bnema/dumber/internal/services"
9+ "github.com/bnema/dumber/pkg/webkit"
10 )10 )
11 11
12 // NavigationController manages navigation functionality12 // NavigationController manages navigation functionality
M internal/app/control/zoom.go +1 -1
@@ -4,8 +4,8 @@ import (
44 "context"
55 "log"
66
7- "github.com/bnema/dumber/pkg/webkit"
87 "github.com/bnema/dumber/internal/services"
8+ "github.com/bnema/dumber/pkg/webkit"
99 )
1010
1111 // ZoomController manages zoom functionality for the WebView
@@ -4,8 +4,8 @@ import (
4 "context"4 "context"
5 "log"5 "log"
6 6
7- "github.com/bnema/dumber/pkg/webkit"
8 "github.com/bnema/dumber/internal/services"7 "github.com/bnema/dumber/internal/services"
8+ "github.com/bnema/dumber/pkg/webkit"
9 )9 )
10 10
11 // ZoomController manages zoom functionality for the WebView11 // ZoomController manages zoom functionality for the WebView
M internal/app/messaging/handler.go +1 -1
@@ -11,8 +11,8 @@ import (
1111
1212 "github.com/bnema/dumber/internal/app/constants"
1313 "github.com/bnema/dumber/internal/app/control"
14- "github.com/bnema/dumber/pkg/webkit"
1514 "github.com/bnema/dumber/internal/services"
15+ "github.com/bnema/dumber/pkg/webkit"
1616 )
1717
1818 // Handler processes script messages from the WebView
@@ -11,8 +11,8 @@ import (
11 11
12 "github.com/bnema/dumber/internal/app/constants"12 "github.com/bnema/dumber/internal/app/constants"
13 "github.com/bnema/dumber/internal/app/control"13 "github.com/bnema/dumber/internal/app/control"
14- "github.com/bnema/dumber/pkg/webkit"
15 "github.com/bnema/dumber/internal/services"14 "github.com/bnema/dumber/internal/services"
15+ "github.com/bnema/dumber/pkg/webkit"
16 )16 )
17 17
18 // Handler processes script messages from the WebView18 // Handler processes script messages from the WebView

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