Commit Graph

368 Commits (f26006823baddca387a25b38bffe0d8a9725f8e9)

Author SHA1 Message Date
Vuong f26006823b Remove hasPrefix 3 years ago
ѵµσɳɠ 6ef43d5ba0 Support search by /s:keyword - symbol, /n:keyword - name 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
Simon Roberts dfc5ce4f21 Remove unused variable 3 years ago
Simon Roberts f7a145a002 Fix another printf log 3 years ago
Simon Roberts 6e979f0bf9 Remove leftover code 3 years ago
Simon Roberts 32990cdbaf Remove downsample code (feature WIP) 3 years ago
Simon Roberts c5445c6ffc One log.Debugf() required 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
Simon Roberts 6d90edfefd Pass the current coin as context! 3 years ago