Vuong
08c7a026cc
Ability to have sort col by view
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
Simon Roberts
ac946a7d73
Reduce the number of pages to 10 (1000 coins) to reduce the load on backend... ( #255 )
...
* Reduce the number of pages to 10 (1000 coins) to reduce the load on backend, and increase refresh time. See #104 #228
* Add note about --max-pages and --per-page
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
acd8af949d
Add configuration for enable_mouse
3 years ago
Simon Roberts
e409a0bdde
Improvements to search mechanism ( #216 )
...
* Enable repeated search using empty search expression (`/` then `<enter>`)
* Quick note about how to repeat-search in the FAQ
3 years ago
Simon Roberts
da06d5ef14
Remove fallback to coin.Symbol when loading portfolio. Remove deprecated favoritesBySymbol. ( #219 )
...
* Remove fallback to coin.Symbol when loading portfolio (use coin.Name)
* Remove deprecated favoritesBySymbol
3 years ago
Simon Roberts
3b37cc34c3
Scale large numbers by adding Million Billion Trillion suffix ( #200 )
...
Add option for scaling Thousand Million Billion Trillion numbers by adding suffix.
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
Simon Roberts
9824c409ad
Feature/code cleanups ( #191 )
...
Lots of style/comment/redundancy cleanups. No functional change.
3 years ago
Miguel Mota
a07bed9dab
command[clean]: Delete cache_dir from config
3 years ago
Miguel Mota
f375eec1eb
Rename org miguelmota → cointop-sh
3 years ago
Simon Roberts
0bacbe5b9d
Make favorite character configurable ( #190 )
...
* Make favorite character configurable
3 years ago
Simon Roberts
4fa05a5e88
Use constant for DefaultChartHeight
3 years ago
Simon Roberts
f0631cf2de
The world is not ready for configurable MaxTableWidth
3 years ago
Simon Roberts
caccc13ea0
Move maxChartWidth to ct.State
3 years ago
Simon Roberts
9a270d4b19
Allow configurable max_chart_width (default 175, if 0 use full width)
...
Start working on MaxTableWidth
3 years ago
Simon Roberts
9c86ae5de7
Use common function to generate cache keys, and fix GlobalMarketData vs Conversion caching bug
3 years ago
Miguel Mota
1d29363185
Add keybinding to toggle hide portfolio balances
3 years ago
Simon Roberts
dfc5ce4f21
Remove unused variable
3 years ago
Simon Roberts
6e979f0bf9
Remove leftover code
3 years ago
Simon Roberts
a73b9ede17
Convert ct.debuglog() to logrus.Debug()
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
6ec915abe9
Include DefaultChartRange in default config
3 years ago
Simon Roberts
2a9f995286
Store default chart range in configuration file
3 years ago
Miguel Mota
e7531ca635
Add keybinding to toggle chart fullscreen
3 years ago
Alexis Hildebrandt
5cdfd83056
Use log package for logging
3 years ago
Miguel Mota
6a4aac1277
Add filecache prefix based on config file path
3 years ago
Miguel Mota
c79d601bbf
Price alert entry fix
3 years ago
Miguel Mota
3270d12ab8
Fix next/prev column sort
3 years ago
Miguel Mota
faabbfc8a6
Add max pages flag
3 years ago
Miguel Mota
0a0530de5a
Add option to keep row focus on sort
3 years ago
Miguel Mota
295f163ae2
Update CoinMarketCap graph data endpoint
3 years ago
Miguel Mota
99bbeadc2d
Support multiple coins for price command
3 years ago
Miguel Mota
673d05a928
Add configurable favorites table columns
3 years ago
Miguel Mota
184ebfb497
Dynamic column widths
3 years ago
Miguel Mota
ae65cc58d7
Add newline to market bar on resize
3 years ago
Miguel Mota
68ff8ecfb7
Format fixes
3 years ago
Miguel Mota
23fe26297f
Update holdings config
3 years ago
Miguel Mota
82eb713652
Add configurable preferred main table columns
3 years ago
Miguel Mota
3bc93134c9
Add price alerts table
3 years ago
Miguel Mota
cba53fe5d4
Set up price alerts config
4 years ago
Miguel Mota
b86ac682c9
Add cache wrapper package
4 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
394d35473d
Consolidate UI packages
4 years ago
Miguel Mota
2441a89a6f
Update cache dir error message
4 years ago
Miguel Mota
890e1c5704
Store cache dir preference in config file and soft fail if cache dir error
4 years ago