diff --git a/cmd/root.go b/cmd/root.go index 5b91de81..338b90a4 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -17,8 +17,8 @@ import ( "github.com/muesli/termenv" "github.com/spf13/cobra" - "github.com/dlvhdr/gh-dash/ui" - "github.com/dlvhdr/gh-dash/ui/markdown" + "github.com/dlvhdr/gh-dash/v4/ui" + "github.com/dlvhdr/gh-dash/v4/ui/markdown" ) var ( diff --git a/config/parser.go b/config/parser.go index 8a2d8f27..d8ae714b 100644 --- a/config/parser.go +++ b/config/parser.go @@ -12,7 +12,7 @@ import ( "github.com/go-playground/validator/v10" "gopkg.in/yaml.v2" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/utils" ) const DashDir = "gh-dash" diff --git a/ui/common/labels.go b/ui/common/labels.go index 861c942b..b0b36b6b 100644 --- a/ui/common/labels.go +++ b/ui/common/labels.go @@ -2,7 +2,7 @@ package common import ( "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" + "github.com/dlvhdr/gh-dash/v4/data" ) func RenderLabels(sidebarWidth int, labels []data.Label, pillStyle lipgloss.Style) string { diff --git a/ui/common/labels_test.go b/ui/common/labels_test.go index 67f00827..71adccab 100644 --- a/ui/common/labels_test.go +++ b/ui/common/labels_test.go @@ -6,8 +6,8 @@ import ( "github.com/charmbracelet/lipgloss" "github.com/stretchr/testify/require" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/common" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/common" ) var ( diff --git a/ui/common/repopath_test.go b/ui/common/repopath_test.go index 9bf5233d..15697626 100644 --- a/ui/common/repopath_test.go +++ b/ui/common/repopath_test.go @@ -5,7 +5,7 @@ import ( "github.com/stretchr/testify/require" - "github.com/dlvhdr/gh-dash/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/common" ) var configPaths = map[string]string{ diff --git a/ui/common/styles.go b/ui/common/styles.go index b15edf0f..9ecb3271 100644 --- a/ui/common/styles.go +++ b/ui/common/styles.go @@ -3,8 +3,8 @@ package common import ( "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/theme" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/theme" ) var ( diff --git a/ui/components/footer/footer.go b/ui/components/footer/footer.go index 603d43b4..03a58fab 100644 --- a/ui/components/footer/footer.go +++ b/ui/components/footer/footer.go @@ -8,10 +8,10 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/config" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/ui/keys" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/config" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/keys" + "github.com/dlvhdr/gh-dash/v4/utils" ) type Model struct { diff --git a/ui/components/inputbox/inputbox.go b/ui/components/inputbox/inputbox.go index 2c315cbd..5bc4bd10 100644 --- a/ui/components/inputbox/inputbox.go +++ b/ui/components/inputbox/inputbox.go @@ -9,7 +9,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) type Model struct { diff --git a/ui/components/issue/issue.go b/ui/components/issue/issue.go index 0f93b578..6128b748 100644 --- a/ui/components/issue/issue.go +++ b/ui/components/issue/issue.go @@ -5,11 +5,11 @@ import ( "strings" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components" - "github.com/dlvhdr/gh-dash/ui/components/table" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components" + "github.com/dlvhdr/gh-dash/v4/ui/components/table" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) type Issue struct { diff --git a/ui/components/issuesidebar/activity.go b/ui/components/issuesidebar/activity.go index 4c22222e..d5035d97 100644 --- a/ui/components/issuesidebar/activity.go +++ b/ui/components/issuesidebar/activity.go @@ -8,9 +8,9 @@ import ( "github.com/charmbracelet/glamour" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/markdown" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/markdown" + "github.com/dlvhdr/gh-dash/v4/utils" ) type RenderedActivity struct { diff --git a/ui/components/issuesidebar/assign.go b/ui/components/issuesidebar/assign.go index 43131b0a..65d026ee 100644 --- a/ui/components/issuesidebar/assign.go +++ b/ui/components/issuesidebar/assign.go @@ -5,10 +5,10 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/issuessection" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/issuessection" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) assign(usernames []string) tea.Cmd { diff --git a/ui/components/issuesidebar/comment.go b/ui/components/issuesidebar/comment.go index 9f5b0d7d..4d284682 100644 --- a/ui/components/issuesidebar/comment.go +++ b/ui/components/issuesidebar/comment.go @@ -7,10 +7,10 @@ import ( tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/issuessection" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/issuessection" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) comment(body string) tea.Cmd { diff --git a/ui/components/issuesidebar/issuesidebar.go b/ui/components/issuesidebar/issuesidebar.go index cc073075..72a1671a 100644 --- a/ui/components/issuesidebar/issuesidebar.go +++ b/ui/components/issuesidebar/issuesidebar.go @@ -9,12 +9,12 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/components/inputbox" - "github.com/dlvhdr/gh-dash/ui/components/issue" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/ui/markdown" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/components/inputbox" + "github.com/dlvhdr/gh-dash/v4/ui/components/issue" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/markdown" ) type Model struct { diff --git a/ui/components/issuesidebar/unassign.go b/ui/components/issuesidebar/unassign.go index 952292a3..665c18ce 100644 --- a/ui/components/issuesidebar/unassign.go +++ b/ui/components/issuesidebar/unassign.go @@ -5,10 +5,10 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/issuessection" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/issuessection" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) unassign(usernames []string) tea.Cmd { diff --git a/ui/components/issuessection/close.go b/ui/components/issuessection/close.go index f99e908c..1f810ceb 100644 --- a/ui/components/issuessection/close.go +++ b/ui/components/issuessection/close.go @@ -5,9 +5,9 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) func (m *Model) close() tea.Cmd { diff --git a/ui/components/issuessection/issuessection.go b/ui/components/issuessection/issuessection.go index 8fd9eead..0b935438 100644 --- a/ui/components/issuessection/issuessection.go +++ b/ui/components/issuessection/issuessection.go @@ -6,14 +6,14 @@ import ( tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/config" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/issue" - "github.com/dlvhdr/gh-dash/ui/components/section" - "github.com/dlvhdr/gh-dash/ui/components/table" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/config" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/issue" + "github.com/dlvhdr/gh-dash/v4/ui/components/section" + "github.com/dlvhdr/gh-dash/v4/ui/components/table" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) const SectionType = "issue" diff --git a/ui/components/issuessection/reopen.go b/ui/components/issuessection/reopen.go index fc5c1855..41f67e8e 100644 --- a/ui/components/issuessection/reopen.go +++ b/ui/components/issuessection/reopen.go @@ -5,9 +5,9 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) func (m *Model) reopen() tea.Cmd { diff --git a/ui/components/listviewport/listviewport.go b/ui/components/listviewport/listviewport.go index 6d2b2ff6..66abf296 100644 --- a/ui/components/listviewport/listviewport.go +++ b/ui/components/listviewport/listviewport.go @@ -6,9 +6,9 @@ import ( "github.com/charmbracelet/bubbles/viewport" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) type Model struct { diff --git a/ui/components/pr/pr.go b/ui/components/pr/pr.go index 4a10882d..4952bea1 100644 --- a/ui/components/pr/pr.go +++ b/ui/components/pr/pr.go @@ -6,12 +6,12 @@ import ( "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components" - "github.com/dlvhdr/gh-dash/ui/components/table" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components" + "github.com/dlvhdr/gh-dash/v4/ui/components/table" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) type PullRequest struct { diff --git a/ui/components/prompt/prompt.go b/ui/components/prompt/prompt.go index df5c7866..f5da423e 100644 --- a/ui/components/prompt/prompt.go +++ b/ui/components/prompt/prompt.go @@ -3,7 +3,7 @@ package prompt import ( "github.com/charmbracelet/bubbles/textinput" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) type Model struct { diff --git a/ui/components/prsidebar/activity.go b/ui/components/prsidebar/activity.go index 0c82cc4a..f3f29d50 100644 --- a/ui/components/prsidebar/activity.go +++ b/ui/components/prsidebar/activity.go @@ -9,9 +9,9 @@ import ( "github.com/charmbracelet/glamour" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/markdown" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/markdown" + "github.com/dlvhdr/gh-dash/v4/utils" ) type RenderedActivity struct { diff --git a/ui/components/prsidebar/assign.go b/ui/components/prsidebar/assign.go index 338b9231..27cad53d 100644 --- a/ui/components/prsidebar/assign.go +++ b/ui/components/prsidebar/assign.go @@ -5,10 +5,10 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/prssection" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/prssection" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) assign(usernames []string) tea.Cmd { diff --git a/ui/components/prsidebar/checks.go b/ui/components/prsidebar/checks.go index 881abcf7..c69c3326 100644 --- a/ui/components/prsidebar/checks.go +++ b/ui/components/prsidebar/checks.go @@ -4,7 +4,7 @@ import ( "strings" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" + "github.com/dlvhdr/gh-dash/v4/data" ) func (sidebar *Model) renderChecks() string { diff --git a/ui/components/prsidebar/comment.go b/ui/components/prsidebar/comment.go index 3e4bfb0c..c1b27684 100644 --- a/ui/components/prsidebar/comment.go +++ b/ui/components/prsidebar/comment.go @@ -6,10 +6,10 @@ import ( "time" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/prssection" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/prssection" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) comment(body string) tea.Cmd { diff --git a/ui/components/prsidebar/prsidebar.go b/ui/components/prsidebar/prsidebar.go index 86cc6bc2..0614153f 100644 --- a/ui/components/prsidebar/prsidebar.go +++ b/ui/components/prsidebar/prsidebar.go @@ -9,12 +9,12 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/components/inputbox" - "github.com/dlvhdr/gh-dash/ui/components/pr" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/ui/markdown" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/components/inputbox" + "github.com/dlvhdr/gh-dash/v4/ui/components/pr" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/markdown" ) type Model struct { diff --git a/ui/components/prsidebar/unassign.go b/ui/components/prsidebar/unassign.go index c24a9347..75c7b140 100644 --- a/ui/components/prsidebar/unassign.go +++ b/ui/components/prsidebar/unassign.go @@ -5,10 +5,10 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/prssection" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/prssection" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) unassign(usernames []string) tea.Cmd { diff --git a/ui/components/prssection/checkout.go b/ui/components/prssection/checkout.go index daf3ff63..05c12417 100644 --- a/ui/components/prssection/checkout.go +++ b/ui/components/prssection/checkout.go @@ -8,9 +8,9 @@ import ( "strings" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) checkout() (tea.Cmd, error) { diff --git a/ui/components/prssection/close.go b/ui/components/prssection/close.go index 2254c6f1..84741e8f 100644 --- a/ui/components/prssection/close.go +++ b/ui/components/prssection/close.go @@ -5,9 +5,9 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) func (m *Model) close() tea.Cmd { diff --git a/ui/components/prssection/diff.go b/ui/components/prssection/diff.go index 8565d454..3066c23b 100644 --- a/ui/components/prssection/diff.go +++ b/ui/components/prssection/diff.go @@ -5,7 +5,7 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/constants" ) func (m Model) diff() tea.Cmd { diff --git a/ui/components/prssection/merge.go b/ui/components/prssection/merge.go index 6d702194..0e550331 100644 --- a/ui/components/prssection/merge.go +++ b/ui/components/prssection/merge.go @@ -5,8 +5,8 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m Model) merge() tea.Cmd { diff --git a/ui/components/prssection/prssection.go b/ui/components/prssection/prssection.go index 81823c53..3c93b19b 100644 --- a/ui/components/prssection/prssection.go +++ b/ui/components/prssection/prssection.go @@ -7,15 +7,15 @@ import ( "github.com/charmbracelet/bubbles/key" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/config" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/components/pr" - "github.com/dlvhdr/gh-dash/ui/components/section" - "github.com/dlvhdr/gh-dash/ui/components/table" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/ui/keys" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/config" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/components/pr" + "github.com/dlvhdr/gh-dash/v4/ui/components/section" + "github.com/dlvhdr/gh-dash/v4/ui/components/table" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/keys" + "github.com/dlvhdr/gh-dash/v4/utils" ) const SectionType = "pr" diff --git a/ui/components/prssection/ready.go b/ui/components/prssection/ready.go index 80cf1fdf..5e04f69e 100644 --- a/ui/components/prssection/ready.go +++ b/ui/components/prssection/ready.go @@ -5,9 +5,9 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) func (m *Model) ready() tea.Cmd { diff --git a/ui/components/prssection/reopen.go b/ui/components/prssection/reopen.go index 1c50c757..2ba2611c 100644 --- a/ui/components/prssection/reopen.go +++ b/ui/components/prssection/reopen.go @@ -5,9 +5,9 @@ import ( "os/exec" tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) func (m *Model) reopen() tea.Cmd { diff --git a/ui/components/prssection/watchChecks.go b/ui/components/prssection/watchChecks.go index 4e79cc84..f697ebfb 100644 --- a/ui/components/prssection/watchChecks.go +++ b/ui/components/prssection/watchChecks.go @@ -9,10 +9,10 @@ import ( "github.com/charmbracelet/log" "github.com/gen2brain/beeep" - "github.com/dlvhdr/gh-dash/data" - prComponent "github.com/dlvhdr/gh-dash/ui/components/pr" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/data" + prComponent "github.com/dlvhdr/gh-dash/v4/ui/components/pr" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func (m *Model) watchChecks() tea.Cmd { diff --git a/ui/components/search/search.go b/ui/components/search/search.go index 79220355..860e987d 100644 --- a/ui/components/search/search.go +++ b/ui/components/search/search.go @@ -7,7 +7,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) type Model struct { diff --git a/ui/components/section/section.go b/ui/components/section/section.go index 30028ad5..27a5fee3 100644 --- a/ui/components/section/section.go +++ b/ui/components/section/section.go @@ -8,15 +8,15 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/config" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/components/prompt" - "github.com/dlvhdr/gh-dash/ui/components/search" - "github.com/dlvhdr/gh-dash/ui/components/table" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/utils" + "github.com/dlvhdr/gh-dash/v4/config" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/components/prompt" + "github.com/dlvhdr/gh-dash/v4/ui/components/search" + "github.com/dlvhdr/gh-dash/v4/ui/components/table" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/utils" ) type Model struct { diff --git a/ui/components/sidebar/sidebar.go b/ui/components/sidebar/sidebar.go index a24409d6..e3a2aefc 100644 --- a/ui/components/sidebar/sidebar.go +++ b/ui/components/sidebar/sidebar.go @@ -8,8 +8,8 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/ui/keys" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/keys" ) type Model struct { diff --git a/ui/components/table/table.go b/ui/components/table/table.go index b9083686..309ac567 100644 --- a/ui/components/table/table.go +++ b/ui/components/table/table.go @@ -8,10 +8,10 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/components/listviewport" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/components/listviewport" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) type Model struct { diff --git a/ui/components/tabs/tabs.go b/ui/components/tabs/tabs.go index 34d15bec..da93ba6f 100644 --- a/ui/components/tabs/tabs.go +++ b/ui/components/tabs/tabs.go @@ -6,7 +6,7 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) type Model struct { diff --git a/ui/components/utils.go b/ui/components/utils.go index 878fe851..bdf9f9a2 100644 --- a/ui/components/utils.go +++ b/ui/components/utils.go @@ -7,7 +7,7 @@ import ( "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/context" ) func FormatNumber(num int) string { diff --git a/ui/constants/initMsg.go b/ui/constants/initMsg.go index 859da426..2f3e8dba 100644 --- a/ui/constants/initMsg.go +++ b/ui/constants/initMsg.go @@ -1,6 +1,6 @@ package constants -import "github.com/dlvhdr/gh-dash/config" +import "github.com/dlvhdr/gh-dash/v4/config" type InitMsg struct { Config config.Config diff --git a/ui/context/context.go b/ui/context/context.go index 648f690d..9f98eda5 100644 --- a/ui/context/context.go +++ b/ui/context/context.go @@ -5,8 +5,8 @@ import ( tea "github.com/charmbracelet/bubbletea" - "github.com/dlvhdr/gh-dash/config" - "github.com/dlvhdr/gh-dash/ui/theme" + "github.com/dlvhdr/gh-dash/v4/config" + "github.com/dlvhdr/gh-dash/v4/ui/theme" ) type State = int diff --git a/ui/context/styles.go b/ui/context/styles.go index a6f8c29f..67c02447 100644 --- a/ui/context/styles.go +++ b/ui/context/styles.go @@ -4,8 +4,8 @@ import ( bbHelp "github.com/charmbracelet/bubbles/help" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/theme" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/theme" ) type Styles struct { diff --git a/ui/keys/keys.go b/ui/keys/keys.go index 324be3a1..61d41de3 100644 --- a/ui/keys/keys.go +++ b/ui/keys/keys.go @@ -4,7 +4,7 @@ import ( "github.com/charmbracelet/bubbles/help" "github.com/charmbracelet/bubbles/key" - "github.com/dlvhdr/gh-dash/config" + "github.com/dlvhdr/gh-dash/v4/config" ) type KeyMap struct { diff --git a/ui/modelUtils.go b/ui/modelUtils.go index f2499254..19a84da9 100644 --- a/ui/modelUtils.go +++ b/ui/modelUtils.go @@ -13,13 +13,13 @@ import ( tea "github.com/charmbracelet/bubbletea" "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/config" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/components/section" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/ui/markdown" + "github.com/dlvhdr/gh-dash/v4/config" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/components/section" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/markdown" ) func (m *Model) getCurrSection() section.Section { diff --git a/ui/theme/theme.go b/ui/theme/theme.go index 6d39b157..730717b4 100644 --- a/ui/theme/theme.go +++ b/ui/theme/theme.go @@ -3,7 +3,7 @@ package theme import ( "github.com/charmbracelet/lipgloss" - "github.com/dlvhdr/gh-dash/config" + "github.com/dlvhdr/gh-dash/v4/config" ) type Theme struct { diff --git a/ui/ui.go b/ui/ui.go index 8b79da70..d50fc3b8 100644 --- a/ui/ui.go +++ b/ui/ui.go @@ -15,21 +15,21 @@ import ( log "github.com/charmbracelet/log" "github.com/cli/go-gh/v2/pkg/browser" - "github.com/dlvhdr/gh-dash/config" - "github.com/dlvhdr/gh-dash/data" - "github.com/dlvhdr/gh-dash/ui/common" - "github.com/dlvhdr/gh-dash/ui/components/footer" - "github.com/dlvhdr/gh-dash/ui/components/issuesidebar" - "github.com/dlvhdr/gh-dash/ui/components/issuessection" - "github.com/dlvhdr/gh-dash/ui/components/prsidebar" - "github.com/dlvhdr/gh-dash/ui/components/prssection" - "github.com/dlvhdr/gh-dash/ui/components/section" - "github.com/dlvhdr/gh-dash/ui/components/sidebar" - "github.com/dlvhdr/gh-dash/ui/components/tabs" - "github.com/dlvhdr/gh-dash/ui/constants" - "github.com/dlvhdr/gh-dash/ui/context" - "github.com/dlvhdr/gh-dash/ui/keys" - "github.com/dlvhdr/gh-dash/ui/theme" + "github.com/dlvhdr/gh-dash/v4/config" + "github.com/dlvhdr/gh-dash/v4/data" + "github.com/dlvhdr/gh-dash/v4/ui/common" + "github.com/dlvhdr/gh-dash/v4/ui/components/footer" + "github.com/dlvhdr/gh-dash/v4/ui/components/issuesidebar" + "github.com/dlvhdr/gh-dash/v4/ui/components/issuessection" + "github.com/dlvhdr/gh-dash/v4/ui/components/prsidebar" + "github.com/dlvhdr/gh-dash/v4/ui/components/prssection" + "github.com/dlvhdr/gh-dash/v4/ui/components/section" + "github.com/dlvhdr/gh-dash/v4/ui/components/sidebar" + "github.com/dlvhdr/gh-dash/v4/ui/components/tabs" + "github.com/dlvhdr/gh-dash/v4/ui/constants" + "github.com/dlvhdr/gh-dash/v4/ui/context" + "github.com/dlvhdr/gh-dash/v4/ui/keys" + "github.com/dlvhdr/gh-dash/v4/ui/theme" ) type Model struct {