From 0208277ce1b05da06823d3391e280383456149e3 Mon Sep 17 00:00:00 2001 From: Anis Ahmad Date: Mon, 15 Mar 2021 12:59:20 +0600 Subject: [PATCH] Prepared for release 0.1.2 - - Various shortcuts added - New dynamic list - Unscheduled - Bug fixes --- README.md | 12 ++++++++---- app/cli.go | 2 +- build.sh | 5 ++++- 3 files changed, 13 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index be7b827..b21f312 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,9 @@ - Today - Due Today and overdue - Tomorrow - Upcoming - Due in next 7 days + - Unscheduled - tasks without due date - [ ] Integrations + - todo.txt (coming soon...) - Google Tasks - (Share your ideas) - [ ] Time tracking @@ -75,7 +77,7 @@ Done! *Manage your tasks your way!* ## :keyboard: Keyboard shortcuts -Shortcut key for a pane/element will be marked with underline. +Shortcut key for a pane/element will be **marked with underline**. Some shortcuts are global, some are contextual. Contextual shortcuts will be applied according to focused pane/element. @@ -95,6 +97,8 @@ In case writing in a text input (e,g, new project/task, due date), you have to ` | Tasks | `Esc`/`h` | Go back to Projects Pane | | Tasks | `↑`/`k`/`Shift+Tab` | Go up in task list | | Tasks | `↓`/`j`/`Tab` | Go down in task list | +| Tasks | `c` | Clear completed tasks | +| Tasks | `d` | Delete Project | | Task Detail | `Esc`/`h` | Go back to Tasks Pane | | Task Detail | `Space` | Toggle task as done/pending | | Task Detail | `d` | Set Due date | @@ -118,8 +122,8 @@ The following diagram shows navigation shortcuts between the panels. | P | T | D | | | | | | Entr=> ↓ ↑ Entr=> | -| | tab TAB | | -| <=Esc/h j k <=Esc/h | +| | / / | | +| <=Esc j k <=Esc | | | | | +------+----------------------+-----------------------+ ``` @@ -128,7 +132,7 @@ So, what it's trying to visualize is - - Selecting an item with `Enter` will move you to right panel. That means - - Selecting a Project will load it's tasks and move to Tasks panel - Selecting a Task will load task detail and move to Detail panel -- Use `Esc` or `h` (like vim) to move to left panel. Details to Tasks to Projects. +- Use `Esc` to move back to left panel. From Details to Tasks to Projects. - To navigate a list (Project list or Task list), - Use `↓` or `j` or `Tab` to go down - Use `↑` or `k` or `Shift+Tab` to go up diff --git a/app/cli.go b/app/cli.go index 0692f19..4937a6e 100644 --- a/app/cli.go +++ b/app/cli.go @@ -116,7 +116,7 @@ func prepareContentPages() *tview.Flex { func makeTitleBar() *tview.Flex { titleText := tview.NewTextView().SetText("[lime::b]Geek-life [::-]- Task Manager for geeks!").SetDynamicColors(true) - versionInfo := tview.NewTextView().SetText("[::d]Version: 0.1.1").SetTextAlign(tview.AlignRight).SetDynamicColors(true) + versionInfo := tview.NewTextView().SetText("[::d]Version: 0.1.2").SetTextAlign(tview.AlignRight).SetDynamicColors(true) return tview.NewFlex(). AddItem(titleText, 0, 2, false). diff --git a/build.sh b/build.sh index 8044861..0ccb3c2 100644 --- a/build.sh +++ b/build.sh @@ -1,7 +1,10 @@ # go build -o geek-life ./app env GOOS=darwin GOARCH=amd64 go build -ldflags="-s -w" -o builds/geek-life_darwin-amd64 ./app -env GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o builds/geek-life_darwin-arm64 ./app +# env GOOS=darwin GOARCH=arm64 go build -ldflags="-s -w" -o builds/geek-life_darwin-arm64 ./app env GOOS=linux GOARCH=amd64 go build -ldflags="-s -w" -o builds/geek-life_linux-amd64 ./app env GOOS=linux GOARCH=arm64 go build -ldflags="-s -w" -o builds/geek-life_linux-arm64 ./app env GOOS=windows GOARCH=386 go build -ldflags="-s -w" -o builds/geek-life_windows-386 ./app upx builds/geek-life_* + +echo "SHA256 sum of release binaries: \n" +shasum -a 256 -b builds/geek-life_*