Commit Graph

30 Commits

Author SHA1 Message Date
0f4e9f4c41 Also update golangci-lint.
All checks were successful
Build & Test / Main (push) Successful in 19s
Release / Release (push) Successful in 24s
2024-09-09 23:55:04 -07:00
2c8e198163 Update Go, Goreleaser.
Some checks are pending
Build & Test / Main (push) Waiting to run
2024-09-09 23:48:32 -07:00
eda4200585 Switch to GoLand.
All checks were successful
Build & Test / Main (push) Successful in 1m49s
2024-03-31 01:07:31 -07:00
5c22d85e2b Add custom .golangci.yaml config.
All checks were successful
Build & Test / Main (push) Successful in 1m0s
Release / Release (push) Successful in 1m35s
2024-03-29 19:29:29 -07:00
f67323c5f4 Support hardcoded starting prices.
All checks were successful
Build & Test / Main (push) Successful in 1m0s
The Coindesk API doesn't have data going all the way back. But since history
isn't changing, we can simply put in known prices.

Also, extend the CDPR cells to have four digits instead of just two.
2024-03-29 19:24:10 -07:00
4d5dcc46d2 Misc small improvements.
All checks were successful
Build & Test / Main (push) Successful in 1m0s
2024-03-29 18:40:33 -07:00
9e6abb1112 Naming things is hard.
All checks were successful
Build & Test / Main (push) Successful in 2m26s
2024-03-29 01:15:59 -07:00
2d991880ce Schedule refreshes more consistently.
All checks were successful
Build & Test / Main (push) Successful in 1m1s
Instead of returning the `scheduleRefresh` command only after receiving
an `update` message, do it while handling the `refresh` message. For
this not to cause weird behavior, the refresh deadline should be shorter
than the refresh interval.
2024-03-24 23:01:51 -07:00
7b445a02a2 Refresh indicator goes red on error.
All checks were successful
Build & Test / Main (push) Successful in 1m0s
Release / Release (push) Successful in 1m3s
It will stay flashing red until the next refresh, at which point it goes
back to its normal color. On a successful refresh, it still stops.

Also, add a deadline of 15 seconds to the refresh command.
2024-03-24 02:29:45 -07:00
97f4793ec3 Write errors to log file.
All checks were successful
Build & Test / Main (push) Successful in 1m1s
2024-03-22 22:55:41 -07:00
270534c0d5 Pause spinner ticks when not refreshing.
All checks were successful
Build & Test / Main (push) Successful in 59s
Also, add a quick-and-dirty model for displaying basic performance
stats, currently just the number of calls to the root Update() and
View() methods.
2024-03-22 21:14:34 -07:00
c4dde38d23 Support multiple assets simultaneously.
All checks were successful
Build & Test / Main (push) Successful in 1m0s
Release / Release (push) Successful in 1m1s
2024-03-22 17:43:15 -07:00
e14f0488c5 Add config defaults for more assets.
All checks were successful
Build & Test / Main (push) Successful in 59s
* LTC
* SOL
* XRP
* DOGE
* ADA
2024-03-21 22:07:16 -07:00
7222c4e26b Update screenshot.
All checks were successful
Build & Test / Main (push) Successful in 57s
Release / Release (push) Successful in 1m1s
2024-03-21 17:45:27 -07:00
ba4e803eea Make it easier to use other assets.
All checks were successful
Build & Test / Main (push) Successful in 1m31s
2024-03-21 17:39:10 -07:00
ac1a4bc16c Move Bitcoinity websocket capture, and test it.
All checks were successful
Build & Test / Main (push) Successful in 57s
2024-03-21 12:31:40 -07:00
52508b7d4e 'go mod tidy'
All checks were successful
Build & Test / Main (push) Successful in 1m25s
2024-03-21 12:23:17 -07:00
4a40899653 Spice up the UI.
All checks were successful
Build & Test / Main (push) Successful in 58s
* Full screen ("alt framebuffer").
* Rounded borders.
* Spinner that starts during a refresh.
* Colored table headers.
* Table header have bottom border.
2024-03-21 02:43:38 -07:00
80855a15a9 Minor reformatting.
All checks were successful
Build & Test / Main (push) Successful in 57s
Release / Release (push) Successful in 1m1s
2024-03-21 00:17:29 -07:00
19de412fc5 Add spinner that indicates an ongoing refresh.
All checks were successful
Build & Test / Main (push) Successful in 57s
2024-03-21 00:08:58 -07:00
1c6d5e9917 Simplify projection table generation.
All checks were successful
Build & Test / Main (push) Successful in 1m28s
Instead of pre-allocating the grid and using tricky indexing to fill in
the cells, just fully regenerate it. But do it columnwise first, and
then transpose it.
2024-03-20 23:40:38 -07:00
8b8307cc57 How about actually use the goal name? 2024-03-19 21:55:27 -07:00
36b6504a38 Remarks on configuration in the README.
All checks were successful
Build & Test / Main (push) Successful in 1m33s
Release / Release (push) Successful in 1m2s
2024-03-19 21:47:47 -07:00
60a4574c5a Initial configuration support. 2024-03-19 21:44:11 -07:00
bf50ba4539 Move TUI code into separate package.
All checks were successful
Build & Test / Main (push) Successful in 51s
2024-03-19 18:40:42 -07:00
15a7052389 Improve coindesk package tests. 2024-03-19 18:35:22 -07:00
83fd89446d Fix module name.
All checks were successful
Build & Test / Main (push) Successful in 1m20s
2024-03-19 14:29:37 -07:00
d272b70659 Don't forget about the Windows peeps.
All checks were successful
Build & Test / Main (push) Successful in 1m44s
Release / Release (push) Successful in 1m12s
2024-03-17 19:12:39 -07:00
35fb60e692 Add starting price to table; add Gitea workflows.
All checks were successful
Release / Release (push) Successful in 1m15s
2024-03-17 19:01:59 -07:00
23ed509200 Initial public commit. 2024-03-17 02:10:05 -07:00