Skip to content

v0.2.3

Compare
Choose a tag to compare
@kamilsk kamilsk released this 14 Nov 16:53
· 21 commits to main since this release
v0.2.3
07ef01f

Sparkle now has a simple logbook calculator! ✨

sparkle tact logbook calculate <<LOG
- 12:15 / 13:00 - routine solving / 🥱
- 13:15 / 14:00 - day planning / 🤔
- 14:00 / 15:00 - micro-tasking / 🥱
- 15:00 / 2h15m / 22:15 - focusing on the goal / 😤
LOG

It returns something like this 10h total / 2h30m break 25% / 7h30m work 75%.
To verify previous records, add a result to the input, e.g.,

sparkle tact logbook calculate <<LOG
- 12:15 / 13:00 - routine solving / 🥱
- 13:15 / 14:00 - day planning / 🤔
- 14:00 / 15:00 - micro-tasking / 🥱
- 15:00 / 2h15m / 22:15 - focusing on the goal / 😤
10h total / 2h30m break 30% / 7h30m work 70%
LOG

It could return a detailed error if the calculation has a mistake

Error: error: invalid record
expected: 10h total / 2h30m break 25% / 7h30m work 75%
obtained: 10h total / 2h30m break 30% / 7h30m work 70%

Changelog

  • 07ef01f chore: rename errors by go way
  • 9209d56 feat: add simple logbook calculator
  • b5e234e chore: rename vault service to playbook
  • c011205 docs(deps): bump next from 14.0.1 to 14.0.2
  • d9cc2ea tools(deps): update github.com/golangci/golangci-lint and golang.org/x/tools
  • db46e35 tools(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.0 to 2.18.1 tools(deps): bump github.com/bufbuild/buf from 1.27.2 to 1.28.0 tools(deps): bump github.com/goreleaser/goreleaser from 1.21.2 to 1.22.1
  • 369000d feat(deps): bump github.com/fatih/color from 1.15.0 to 1.16.0 feat(deps): bump github.com/gohugoio/hugo from 0.120.3 to 0.120.4 feat(deps): bump github.com/grpc-ecosystem/grpc-gateway/v2 from 2.18.0 to 2.18.1 feat(deps): bump github.com/spf13/cobra from 1.7.0 to 1.8.0 feat(deps): bump golang.org/x/net from 0.17.0 to 0.18.0
  • 80c3a7d feat: define draft version of sparkle.toml configuration file
  • 55b160a feat: support Calendar and Periodic Notes plugins
  • e345007 docs: update readme and extend .env example, add Daily notes plugin documentation link
  • 55c71a1 feat(deps): bump github.com/gohugoio/hugo from 0.120.1 to 0.120.3

made with ❤️ for everyone by OctoLab