Commit Graph

376 Commits (0a5ba717d816259ea6e3207df7d2897d207568a1)

Author SHA1 Message Date
Miguel Mota 0a5ba717d8
Merge pull request #242 from lyricnz/feature/no-mouse
Add configuration for enable_mouse
3 years ago
Simon Roberts acd8af949d
Add configuration for enable_mouse 3 years ago
Simon Roberts d7cec61e83
When hidePortfolioBalances scale the chart to the maximum price; avoids issue with resampling and using the last value 3 years ago
Simon Roberts 30fa30c057
Use stable sort for sorting coins (#235) 3 years ago
Simon Roberts 73a00588ba
If $DEBUG_FILE is set, use that rather than /tmp/cointop.log (#236) 3 years ago
Simon Roberts 57ca7d8dba
Make default shortcuts editable (#234)
* Add missing actions
* Make default shortcuts editable
3 years ago
Simon Roberts 781b87d95d
Move currencyConversion out of chartInfo - so it shows when hideChart=true 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 b19864014e
After jumping to the right page, search for the right row (#220) 3 years ago
Simon Roberts 9fa50063e0
Allow duplicate-Symbol entries in portfolio again (#222)
* Revert PR 138 - no longer needed since PR 219 and prevents duplicate-symbol portfolio
* Rather than creating a PortfolioEntry for EVERY coin, and throwing 99% of them away, just create the PE for our actual portfolio.
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 cf5270623d
Fix global chart always showing in USD, and add current currency to chart name (#209)
* Use exchange-rates to convert GlobalMarketGraphData
* Ask for global data in usd just in case it starts working again :)
* Include currency conversion in chart title #207
* Better error handling
3 years ago
Miguel Mota b22c040ffb
Merge pull request #211 from cointop-sh/fix/rune-width
Set currency symbol width to rune string width
3 years ago
Miguel Mota 8ceece82af
Set currency symbol width to rune string width 3 years ago
Simon Roberts aece767608
Use new FormatTime for X-axis labels and last_updated 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 cfc93c92c6
fix: ClearSyncMap pass by reference (#195) 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 95a31d5488
Save chart height after change. 3 years ago
Simon Roberts a85fb5ea50
Move maxChartWidth to [chart] section in config. Start working on persistent chart height 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 562c5fd3f4
Merge pull request #184 from lyricnz/feature/x-labels
Show X axis labels on charts
3 years ago
Simon Roberts 5ef09ea40a
Handle 0/1 data items returned before resampling 3 years ago
Simon Roberts 2f616e2c35
When we are not aggregating multiple prices, use the oldest data available as the left hand side of chart, not the requested start. 3 years ago
Simon Roberts 72d2c997f5
Set "All Time" to 10 Years 3 years ago
Simon Roberts 9d8843389d
Use more accurate Duration for Year and Month ranges 3 years ago
Simon Roberts 6e99e9100f
Add time labels to X axis 3 years ago
Simon Roberts 370b9f3a56
Fix comments 3 years ago
Simon Roberts a2e432bb1b
Merge branch 'feature/resample-data' of https://github.com/lyricnz/cointop into feature/resample-data 3 years ago
Simon Roberts 49ac2fbc0f
Ask the chart how many data points it needs 3 years ago
Simon Roberts 162e6cd442
Merge branch 'miguelmota:master' into feature/resample-data 3 years ago
Simon Roberts 065f23eba2
Merge branch 'master' into feature/resample-data 3 years ago
Simon Roberts f38bc4ca3f
Continue from https://github.com/miguelmota/cointop/pull/165 3 years ago
Miguel Mota b6c0579b38
Remove redundant line. #166 3 years ago
Miguel Mota 6a02661dc6
Merge branch 'feature/duplicate-symbols-cache-fix' of https://github.com/lyricnz/cointop into lyricnz-feature/duplicate-symbols-cache-fix 3 years ago
Miguel Mota 72805843c9
Merge branch 'bugfix/hide-portfolio-balances' of https://github.com/lyricnz/cointop into lyricnz-bugfix/hide-portfolio-balances 3 years ago
Miguel Mota 36729f8ed8
Add an extra space if it is satoshi character because it overlaps text on right 3 years ago
Simon Roberts 9c86ae5de7
Use common function to generate cache keys, and fix GlobalMarketData vs Conversion caching bug 3 years ago
Simon Roberts 26981df6a5
Add currency conversion to Satoshi 3 years ago
Simon Roberts f2bab24d11
Remove portfolio balance from chart X-axis too
Hide percentChange24H when in hidePortfolioBalances mode
Update portfolio balances (private mode) screenshot
Scale portfolio chart (in hide-balances mode) so current-value is 1.0
3 years ago
Miguel Mota 83a35df5c4
Hide all holding amounts when hidden flag toggled 3 years ago
Miguel Mota 1d29363185
Add keybinding to toggle hide portfolio balances 3 years ago