Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .golangci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ formatters:
sections:
- standard
- default
- prefix(history)
- prefix(github.com/debrief-dev/debrief)
gofumpt:
module-path: history
module-path: github.com/debrief-dev/debrief

linters:
enable:
Expand Down
1 change: 1 addition & 0 deletions app/state.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (

"gioui.org/app"
"gioui.org/widget"

"github.com/debrief-dev/debrief/data/cmdstore"
"github.com/debrief-dev/debrief/data/model"
"github.com/debrief-dev/debrief/data/shell"
Expand Down
1 change: 1 addition & 0 deletions infra/tray/menu.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import (
"sync"

"fyne.io/systray"

"github.com/debrief-dev/debrief/infra/platform"
"github.com/debrief-dev/debrief/ui"
)
Expand Down
3 changes: 2 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ import (
"gioui.org/unit"
"gioui.org/widget"
"gioui.org/widget/material"
"github.com/getlantern/golog"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
"github.com/debrief-dev/debrief/data/shell"
Expand All @@ -32,7 +34,6 @@ import (
"github.com/debrief-dev/debrief/infra/tray"
"github.com/debrief-dev/debrief/infra/window"
"github.com/debrief-dev/debrief/ui"
"github.com/getlantern/golog"
)

// Window lifecycle coordination channels
Expand Down
1 change: 1 addition & 0 deletions ui/bar_search.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import (
"gioui.org/io/pointer"
"gioui.org/layout"
"gioui.org/widget/material"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
)
Expand Down
1 change: 1 addition & 0 deletions ui/bar_source.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import (
"gioui.org/layout"
"gioui.org/widget"
"gioui.org/widget/material"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
"github.com/debrief-dev/debrief/data/shell"
Expand Down
1 change: 1 addition & 0 deletions ui/bar_tabs.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"gioui.org/op/clip"
"gioui.org/widget"
"gioui.org/widget/material"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
)
Expand Down
1 change: 1 addition & 0 deletions ui/clipboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"strings"

"gioui.org/io/clipboard"

appstate "github.com/debrief-dev/debrief/app"
)

Expand Down
1 change: 1 addition & 0 deletions ui/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package ui

import (
"gioui.org/unit"

"github.com/debrief-dev/debrief/data/model"
"github.com/debrief-dev/debrief/infra/hotkey"
"github.com/debrief-dev/debrief/infra/platform"
Expand Down
1 change: 1 addition & 0 deletions ui/frame.go
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ package ui
import (
"gioui.org/layout"
"gioui.org/widget/material"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
)
Expand Down
1 change: 1 addition & 0 deletions ui/keyboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ import (
"log"

"gioui.org/io/key"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
)
Expand Down
1 change: 1 addition & 0 deletions ui/tab_commands.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"gioui.org/op/clip"
"gioui.org/unit"
"gioui.org/widget/material"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
"github.com/debrief-dev/debrief/data/tree"
Expand Down
1 change: 1 addition & 0 deletions ui/tab_settings.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ import (
"gioui.org/op/clip"
"gioui.org/op/paint"
"gioui.org/widget/material"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/infra/autostart"
"github.com/debrief-dev/debrief/infra/hotkey"
Expand Down
1 change: 1 addition & 0 deletions ui/tab_statistics.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import (
"gioui.org/op/clip"
"gioui.org/widget"
"gioui.org/widget/material"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
)
Expand Down
3 changes: 2 additions & 1 deletion ui/tab_treeview.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@ import (
"gioui.org/unit"
"gioui.org/widget"
"gioui.org/widget/material"
"golang.org/x/exp/shiny/materialdesign/icons"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/model"
"golang.org/x/exp/shiny/materialdesign/icons"
)

// treeRestoreContextRows is the number of rows shown above a restored
Expand Down
3 changes: 2 additions & 1 deletion ui/workers.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,13 @@ import (
"strings"
"time"

"github.com/fsnotify/fsnotify"

appstate "github.com/debrief-dev/debrief/app"
"github.com/debrief-dev/debrief/data/cmdstore"
"github.com/debrief-dev/debrief/data/model"
"github.com/debrief-dev/debrief/data/tree"
"github.com/debrief-dev/debrief/infra/config"
"github.com/fsnotify/fsnotify"
)

// parserDebounceDelay is the debounce delay for file change events in the background parser
Expand Down
Loading