Commit Graph

67 Commits (master)

Author SHA1 Message Date
Miguel Mota 7c063df60c
Update alt coin link to use braces for template tags 2 years ago
Vuong ad95052e02
Fix wrong scope of var (#293)
* Fix wrong scope of var
* Fix some keys couldn't bind
3 years ago
Simon Roberts c735c4a8bb
Merge branch 'cointop-sh:master' into feature/custom-link-url 3 years ago
Vuong 2d9b1501c6
Fix parseKeys related to price alert open action (#290)
* Fix parseKeys related to price alert open action

* Trim s before checking length

Co-authored-by: Simon Roberts <lyricnz@users.noreply.github.com>
3 years ago
Simon Roberts 9cc10ccdd0
Implement alt-link and bind it to ^o 3 years ago
Vuong fee0bd9806
Set key binding if key is Uppercase rune and missing Shift
- Also revert matchEvent func
3 years ago
Vuong d0dea1ff0c
Remove binding key with shift 3 years ago
Simon Roberts 8b8db3bd13
Minor code style/comment cleanups; remove redundant code (#257)
* Fix comments
* Fix bug with localization param
* Remove unused modules, fix a few minor code style issues
3 years ago
Simon Roberts 9a906c3a68
Migrate from termbox-go to tcell (#232)
Lots of new functionality including:
- mouse support: click select, scroll, menus, table-sorting, etc
- 24-bit color support in themes

Co-authored-by: Simon Roberts <simon.roberts@anz.com>
Co-authored-by: ѵµσɳɠ <3168632+vuon9@users.noreply.github.com>
3 years ago
Miguel Mota 0e956d6358
portfolio: clean up fixes #243 3 years ago
Simon Roberts b5b68833f5
Add support for purchase price/currency to portfolio (#243)
* Add support for declaring a BuyPrice and BuyCurrency in portfolio.
eg: ["Algorand", "125.4", "0.8", "USD"]

Add optional (default off) columns to portfolio:
"buy_price", "buy_currency", "profit", "profit_percent"

Note: there is no UI for entering this yet.
3 years ago
Simon Roberts 68fd858304
Change "0" to go to top coin on first page (#218)
* Add new action move_to_first_page_first_row which goes to the first coin on the first page. Bind to "0" by default, replacing first_page
3 years ago
Simon Roberts e1aded93e8
More minor cleanups (no functional change) (#198)
* Redundant type conversions

* Remove redudant type declarations. Inline one-line constructors. Remove unnecessary brackets.

* Simplify name - it's used via package name anyway

* Simplify variable initializations

* Change `var x uint = Y` to `x := uint(Y)`

* More shorthand initialization
3 years ago
Miguel Mota 1d29363185
Add keybinding to toggle hide portfolio balances 3 years ago
Miguel Mota a86077e77e
Update debuglog method names 3 years ago
Miguel Mota b0dd16f813
Unbind forward slash keybinding when not in table view. #150 #149 3 years ago
Simon Roberts fcfb0f48fe Add support for 1Y columns - see https://github.com/miguelmota/cointop/issues/131 3 years ago
Miguel Mota e7531ca635
Add keybinding to toggle chart fullscreen 3 years ago
Miguel Mota 7fa0af0fa3 Add 30 day percent change column 3 years ago
Miguel Mota 184ebfb497 Dynamic column widths 3 years ago
Miguel Mota 093084e859 Full width highlight rows 3 years ago
Miguel Mota 3bc93134c9 Add price alerts table 3 years ago
Miguel Mota cba53fe5d4 Set up price alerts config 3 years ago
Miguel Mota 415b4c1d94 Separate out different tables 4 years ago
Miguel Mota 51cb442698 Add table scroll left/right shortcut 4 years ago
Miguel Mota b10e9bb2c1 Align percent holdings header 4 years ago
Vuong 3083dee2bd added sort shortcut for [%]holdings on portfolio 4 years ago
Miguel Mota 52be62a2c1 Add comments 4 years ago
Miguel Mota c8803f703c Add tab keybinding to move to next row or next page 4 years ago
Miguel Mota eaf66f6519 Use forked version of termbox-go to fix keybindings on freebsd. Closes #43 4 years ago
Miguel Mota b61e2fdd84 Update method descriptions 5 years ago
Rigas Papathanasopoulos b46cea5801
Make chart height adjustable 5 years ago
Miguel Mota 5f073fecf9
Navigation bug fixes. Fixes #41 5 years ago
Miguel Mota 592d061ee8
Create view structures 5 years ago
Miguel Mota 4ef4f7aa54
Clean up 5 years ago
Miguel Mota 29283b7d8e
table toggle fullscreen shortcut 5 years ago
Miguel Mota 6eb6236104 closes #24 5 years ago
Miguel Mota caf7a757d3 portfolio add/edit menu 5 years ago
Miguel Mota f017555640 portfolio view 6 years ago
Miguel Mota 775e22c3b3 c key fix 6 years ago
Miguel Mota d4619b162f fix q key press + add quit view action 6 years ago
Miguel Mota e0b3d59d0c currency conversion 6 years ago
Miguel Mota 7dde1eb1c7 chart date range select shortcut 6 years ago
Miguel Mota 69ef18e659 dep ensure 6 years ago
Miguel Mota 062cc01b68 [c]lose help
Former-commit-id: dd830d9d675a52b8f10f8800d8ff45041c57bcd2 [formerly dd830d9d675a52b8f10f8800d8ff45041c57bcd2 [formerly 40fd72820c379540ecd7fc35bc17baddcdd76079 [formerly cefdf211c8f45274f4c6619e686722c8ffe67f8a]]]
Former-commit-id: 13dc81407c5b3209b1af968bbba6ac28735b6285
Former-commit-id: c9494228c81c5c17c51b90538c93bdae4a0e5ed3 [formerly 1f5132f1b95fdd994a3ba9426809a2e84de03c89]
Former-commit-id: 1faf7b91cf6e80da99d61b5a8de538ed05367f63
6 years ago
Miguel Mota 7b5b39a9e7 toggle help menu
Former-commit-id: d9aad64fd3087c6789de73a7946a16caad9c7fc2 [formerly d9aad64fd3087c6789de73a7946a16caad9c7fc2 [formerly 0fd056c846092e8310cab5dd042e927e8fca74d6 [formerly b3f6d2ec560622cede5c81658302154814f02d9b]]]
Former-commit-id: f4da4cdd33244f486f2e29355a20c0b011718518
Former-commit-id: 31cc38d2450cbef3401a1183b1b0519d0043a9de [formerly f8ecf5b286c93e0672058008c9a9651919107633]
Former-commit-id: 526df3564e2949dfb4d16f36736fa32a5ef95919
6 years ago
Miguel Mota a77b73b597 save config shortcut
Former-commit-id: da4ed457483f8e2f81bfcaf4adf7f735af7a773c [formerly da4ed457483f8e2f81bfcaf4adf7f735af7a773c [formerly 9053a0ca313c2bfc1af7f2e23be70ff7201b66a5 [formerly 0fc35046d8bf4af9d727e528aec25a6abe75bef8]]]
Former-commit-id: 5e93a7a2b94a72c66d093ec6eeb6ca43627fa37b
Former-commit-id: 958cf0dc53eab6eac4739d8735c3fc85fa32acdc [formerly 18fb23615a48126f1c1299ef558aa3492736eab6]
Former-commit-id: 4dc280d3c2251611b2a03abd14c4b4172b1ab016
6 years ago
Miguel Mota 510d761b51 toggle all favorites key
Former-commit-id: c7c0dfa41e55f2bbc020b830e5fda31202f21665 [formerly c7c0dfa41e55f2bbc020b830e5fda31202f21665 [formerly 2987cbea49d6579ccc1a23836b3ca62663fdc1ad [formerly fa2061f891dcad0ef00007704c63b0e91a22cfb1]]]
Former-commit-id: 164a2951369f4098ed14734724a3b5fa97eca15c
Former-commit-id: b7b71b512703f138c33a8cfefefab71980d2e53d [formerly 0da5ddf5bfd603938a926448a8659af0090f88fc]
Former-commit-id: e6d54f8ac9f30141a01017d09d73c038f5ad94f6
6 years ago
Miguel Mota de3cd565f8 initial favorites
Former-commit-id: db3cf1d7f95f094a30fe0a0cb4d079c79308e7d6 [formerly db3cf1d7f95f094a30fe0a0cb4d079c79308e7d6 [formerly e8f25d5a964bf04b530c444388de9abbe15865d7 [formerly 073b95e8996d5178fa6ea0958e7d035f85322b4f]]]
Former-commit-id: d15e7425cb473d850fbc133c06aeafba2a18dbf1
Former-commit-id: 4624158aa075ba4f6ab628cf044592545c1d7c1f [formerly cc1f25a7c9683482fb49c98ad4436ed046582575]
Former-commit-id: 3e1b9170d806d3ecc3dc85ff5d18e1009e7984bc
6 years ago
Miguel Mota 4892bd2fad update readme
Former-commit-id: ccea1b0ad248391b508bc6dac0e894ed994491ae [formerly ccea1b0ad248391b508bc6dac0e894ed994491ae [formerly c5c47d529e0cf90f3b07da2090d74b9c4609eebe [formerly c887d55c837c8230cce47ba1a583b4c833822556]]]
Former-commit-id: 5fbc1e75381842caee7efab123e972ea77b8507c
Former-commit-id: 1ec1f2f5342405fb8eca886b37714c0a728c3c67 [formerly f602aebf3502f6d633f0ea5d51eed52fa9d8c139]
Former-commit-id: 85eab98aafbb804b179cf4acb381a764e0f95767
6 years ago