Commit Graph

167 Commits (master)

Author SHA1 Message Date
Mike Bryant 2e53715136
Merge pull request #392 from RadarCZ/master
add czech language support
4 years ago
Mike Bryant a2d63b3cf3
Merge pull request #382 from axzn/ukrainian-translation
Ukrainian translation
4 years ago
Lukáš 'Radar' Kubíček a08a8c0535 add czech language support 4 years ago
Adam Greenfield 370cc060fb Prevent a call to update from running before data has been initialized. 4 years ago
axzn 5b567021b8 Ukrainian translation 4 years ago
Mike Bryant a07c34c5c1
Merge pull request #325 from davidcorry/master
CSS-based dark mode
4 years ago
Mike Bryant bbfadcf252
Merge pull request #334 from tybantarnusa/master
Add Indonesian language support
4 years ago
Mike Bryant cf28884dcf
Merge pull request #311 from WxWatch/paginate-contributors
Add pagination support for fetching contributors from Github
4 years ago
David Corry b306692d6f Merge remote-tracking branch 'upstream/master' 4 years ago
CatStarwind f1a6680fcd Decoupled Predictor from i18next. 4 years ago
CatStarwind 114f4f769b Missing semicolon. W033 4 years ago
Mgs. M. Thoyib Antarnusa 6b4d37f649 Add Indonesian language support 4 years ago
David Corry 0aef5b0df6 Seems to truly fix setupTheming loading across browsers. 4 years ago
David Corry bcbcea96b7 Minor bugfix to ensure auto theming works. 4 years ago
David Corry ac47d9536e Merge remote-tracking branch 'upstream/master' 4 years ago
David Corry 8d1343e635 Make sure setupTheming gets called after localization has been loaded. 4 years ago
David Corry 31000483be Add user control over theming. 4 years ago
defaultscore 1706999d6e
Update translations.js 4 years ago
David Corry b617844317 Adjust chart colors, and update them automatically to match theme. 4 years ago
Mike Bryant d8cbdf5b9b Update js/translations.js
Co-authored-by: Splash <devsplash@live.com>
4 years ago
Mike Bryant 5cdb75caf6 fix: Fall back to more generic languages for selection box default 4 years ago
daniel-giralt-len 689ac0983f fix: radio inputs call updateContent twice 4 years ago
James Glenn db1aaea081 pull out 100 per page into its own const 4 years ago
James Glenn e339246b57 remove unnecessary page check 4 years ago
James fac4c47066
Update contributors short-circuit logic
Co-authored-by: rex.tsou <akccakccwww@gmail.com>
4 years ago
James 31d5ad8974
Use per_page on GH API call
Co-authored-by: rex.tsou <akccakccwww@gmail.com>
4 years ago
James Glenn 025d08a397 fix comma issue 4 years ago
James Glenn da8c3fc7d0 fix commas 4 years ago
James Glenn e14c3ce8cf more code style 4 years ago
James Glenn 0f308fa784 update code style 4 years ago
James Glenn a797064fb8 add pagination support for fetching contributors from Github 4 years ago
Popiolken d32def3c96
Update translations.js 4 years ago
Popiolken 96fb2f6438
Add pl (Polish) translation 4 years ago
Jollus88 13664cd37a adding delay after user input to prevent jank as chart refreshes (cont) 4 years ago
Jollus88 dd63511130 adding delay after user input to prevent jank as chart refreshes 4 years ago
Noppadol 1ce07dc374 feat(translation): Add TH (Thai) Translation
chore(translation): Make wording more friendly  


chore(translation): New line in TH JSON file


chore(translation): Change locale code to th-TH
4 years ago
Mike Bryant 5ed9da3f40
Merge pull request #277 from mcpower/pdf-fix
Various improvements to PDF
4 years ago
Chris Chambers 6d61156e8c feat: Use predicted buy price for styling if none is entered 4 years ago
Mike Bryant 8e8c80b491 fix: Allow people to input the buy price even as a first time buyer
This will give us a basis for colouring. Also remove the Sunday prices from the table, to avoid confusion and questions when people ask why the Sunday price is different to the one they put in. This has the added bonus of making the table smaller, and doesn't really remove any relevant information for the future.

Fixes #288
4 years ago
Mike Bryant 7d2b7d3def
Merge pull request #286 from daniel-giralt-len/translate-to-catalan
Add catalan translation
4 years ago
daniel-giralt-len 03a2bdacab Add catalan translation 4 years ago
Mike Bryant ea5b0fa5da fix: Decrease precision for tiny numbers
When the numbers are so small then end up in e notation is pushes
everything too far to the right. Give up when it's too small to be
really useful.
4 years ago
mcpower 68024da9c6 Various improvements to PDF
- Use [x, x+1) instead of [x-0.5, x+0.5), ensuring that min_value() and
  max_value() return integers
- Fix range_of and max_value being off by epsilon
- Use improved Kahan–Babuska algorithm for floating point summation

These improvements:
- improve the accuracy of PDF by at least a factor of 2 when calculating
  the Irwin-Hall distribution with n=3 (see associated PR with test code)
- fixes pdf.range_limit([pdf.value_start, pdf.value_end]) incorrectly
  mutating the PDF and returning a value that is not 1
- fixes the decreasing pattern with buy=100 incorrectly being calculated
  with max predictions which are 1 too high
4 years ago
Frederik Goovaerts 2e3a0bf030 Fix formatting 4 years ago
Frederik Goovaerts b1c7860aa6 Calculate with estimated buy price without modifying original input values 4 years ago
Frederik Goovaerts 5c395e8173 Add Dutch translation reference in translations.js 4 years ago
Mike Bryant e98835d98c
Merge pull request #245 from smileyhead/master
Add Hungarian translation
4 years ago
Rex Tsou df8c260e24 fix: prevent variable being declared globally
Fixes #238
4 years ago
Lawrence Luk c36290d83a calculate pretty pastel colours based on potential profit 4 years ago
smileyhead be9954309a
Add Hungarian to translations.js 4 years ago