From 23d1e64a633b11a1ae6184ee543f12b13c1109ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Zywert?= Date: Wed, 8 May 2024 22:11:52 +0200 Subject: [PATCH 1/2] fix calendar control on worklog list --- CHANGELOG.md | 7 ++++++- gojira/dayview.go | 3 ++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 623ad1c..377a08d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ## [Unreleased] +## [0.8.1] - 2024-05-08 +### Fixed +- Calendar control stopped working after introducing delete on worklog list + ## [0.8.0] - 2024-05-08 ### Added - `gojira worklogs` search bar - looks for a text or issue key if passed uppercased like `ISSUE-123` @@ -109,7 +113,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### Added - Initial release of gojira -[Unreleased]: https://github.com/jzyinq/gojira/compare/0.8.0...master +[Unreleased]: https://github.com/jzyinq/gojira/compare/0.8.1...master +[0.8.1]: https://github.com/jzyinq/gojira/compare/0.8.0...0.8.1 [0.8.0]: https://github.com/jzyinq/gojira/compare/0.7.0...0.8.0 [0.7.0]: https://github.com/jzyinq/gojira/compare/0.6.0...0.7.0 [0.6.0]: https://github.com/jzyinq/gojira/compare/0.5.4...0.6.0 diff --git a/gojira/dayview.go b/gojira/dayview.go index 2654cf0..7a28c7b 100644 --- a/gojira/dayview.go +++ b/gojira/dayview.go @@ -166,8 +166,9 @@ func (d *DayView) update() { app.ui.summary.update() }() default: + } - return event + return controlCalendar(event) }) timeSpent := CalculateTimeSpent(getWorklogsFromWorklogIssues(logs)) d.worklogStatus.SetText( From 6d793c8cfd5176bb1b9d74122c03821568790795 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jaros=C5=82aw=20Zywert?= Date: Wed, 8 May 2024 22:12:56 +0200 Subject: [PATCH 2/2] fixer --- gojira/dayview.go | 1 - 1 file changed, 1 deletion(-) diff --git a/gojira/dayview.go b/gojira/dayview.go index 7a28c7b..e0c81be 100644 --- a/gojira/dayview.go +++ b/gojira/dayview.go @@ -166,7 +166,6 @@ func (d *DayView) update() { app.ui.summary.update() }() default: - } return controlCalendar(event) })