From d410f548b89bc9ca41fb5ead275db3d9d18fa5dc Mon Sep 17 00:00:00 2001 From: Sean Smith Date: Sun, 12 May 2019 22:55:41 -0400 Subject: [PATCH 1/3] Cleanup git widget Next/Prev already implemented properly in multisourcewidget --- modules/git/widget.go | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/modules/git/widget.go b/modules/git/widget.go index 68f66fa4..52d067b4 100644 --- a/modules/git/widget.go +++ b/modules/git/widget.go @@ -216,25 +216,3 @@ func (widget *Widget) findGitRepositories(repositories []*GitRepo, directory str return repositories } - -func (widget *Widget) Next() { - widget.Idx = widget.Idx + 1 - if widget.Idx == len(widget.GitRepos) { - widget.Idx = 0 - } - - if widget.DisplayFunction != nil { - widget.DisplayFunction() - } -} - -func (widget *Widget) Prev() { - widget.Idx = widget.Idx - 1 - if widget.Idx < 0 { - widget.Idx = len(widget.GitRepos) - 1 - } - - if widget.DisplayFunction != nil { - widget.DisplayFunction() - } -} From 9160d1fb0e73889edfe66e4e78485feed16ce924 Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Sun, 12 May 2019 20:33:59 -0700 Subject: [PATCH 2/3] Remove Windows build target. It fails to build --- .goreleaser.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 28c8c267..ba068113 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -7,7 +7,6 @@ builds: goos: - darwin - linux - - windows goarch: - 386 - amd64 From 1aee84928079c36fa6236bf7030dcc8e2465334e Mon Sep 17 00:00:00 2001 From: Chris Cummer Date: Sun, 12 May 2019 20:42:27 -0700 Subject: [PATCH 3/3] Update CHANGELOG.md --- CHANGELOG.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fac76321..a5dd7e2f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## Unreleased +## v0.10.0 + ### ⚡️ Added * DataDog module is now scrollable and interactive, by [@Seanstoppable](https://github.com/Seanstoppable)