Commit Graph

162 Commits (ccb8794bb34830b72a25b83d2af1bd4740f32624)

Author SHA1 Message Date
Mike Bryant a07c34c5c1
Merge pull request #325 from davidcorry/master
CSS-based dark mode
5 years ago
Mike Bryant bbfadcf252
Merge pull request #334 from tybantarnusa/master
Add Indonesian language support
5 years ago
Mike Bryant cf28884dcf
Merge pull request #311 from WxWatch/paginate-contributors
Add pagination support for fetching contributors from Github
5 years ago
David Corry b306692d6f Merge remote-tracking branch 'upstream/master' 5 years ago
CatStarwind f1a6680fcd Decoupled Predictor from i18next. 5 years ago
CatStarwind 114f4f769b Missing semicolon. W033 5 years ago
Mgs. M. Thoyib Antarnusa 6b4d37f649 Add Indonesian language support 5 years ago
David Corry 0aef5b0df6 Seems to truly fix setupTheming loading across browsers. 5 years ago
David Corry bcbcea96b7 Minor bugfix to ensure auto theming works. 5 years ago
David Corry ac47d9536e Merge remote-tracking branch 'upstream/master' 5 years ago
David Corry 8d1343e635 Make sure setupTheming gets called after localization has been loaded. 5 years ago
David Corry 31000483be Add user control over theming. 5 years ago
defaultscore 1706999d6e
Update translations.js 5 years ago
David Corry b617844317 Adjust chart colors, and update them automatically to match theme. 5 years ago
Mike Bryant d8cbdf5b9b Update js/translations.js
Co-authored-by: Splash <devsplash@live.com>
5 years ago
Mike Bryant 5cdb75caf6 fix: Fall back to more generic languages for selection box default 5 years ago
daniel-giralt-len 689ac0983f fix: radio inputs call updateContent twice 5 years ago
James Glenn db1aaea081 pull out 100 per page into its own const 5 years ago
James Glenn e339246b57 remove unnecessary page check 5 years ago
James fac4c47066
Update contributors short-circuit logic
Co-authored-by: rex.tsou <akccakccwww@gmail.com>
5 years ago
James 31d5ad8974
Use per_page on GH API call
Co-authored-by: rex.tsou <akccakccwww@gmail.com>
5 years ago
James Glenn 025d08a397 fix comma issue 5 years ago
James Glenn da8c3fc7d0 fix commas 5 years ago
James Glenn e14c3ce8cf more code style 5 years ago
James Glenn 0f308fa784 update code style 5 years ago
James Glenn a797064fb8 add pagination support for fetching contributors from Github 5 years ago
Popiolken d32def3c96
Update translations.js 5 years ago
Popiolken 96fb2f6438
Add pl (Polish) translation 5 years ago
Jollus88 13664cd37a adding delay after user input to prevent jank as chart refreshes (cont) 5 years ago
Jollus88 dd63511130 adding delay after user input to prevent jank as chart refreshes 5 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
5 years ago
Mike Bryant 5ed9da3f40
Merge pull request #277 from mcpower/pdf-fix
Various improvements to PDF
5 years ago
Chris Chambers 6d61156e8c feat: Use predicted buy price for styling if none is entered 5 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
5 years ago
Mike Bryant 7d2b7d3def
Merge pull request #286 from daniel-giralt-len/translate-to-catalan
Add catalan translation
5 years ago
daniel-giralt-len 03a2bdacab Add catalan translation 5 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.
5 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
5 years ago
Frederik Goovaerts 2e3a0bf030 Fix formatting 5 years ago
Frederik Goovaerts b1c7860aa6 Calculate with estimated buy price without modifying original input values 5 years ago
Frederik Goovaerts 5c395e8173 Add Dutch translation reference in translations.js 5 years ago
Mike Bryant e98835d98c
Merge pull request #245 from smileyhead/master
Add Hungarian translation
5 years ago
Rex Tsou df8c260e24 fix: prevent variable being declared globally
Fixes #238
5 years ago
Lawrence Luk c36290d83a calculate pretty pastel colours based on potential profit 5 years ago
smileyhead be9954309a
Add Hungarian to translations.js 5 years ago
Lawrence Luk e16aba23ed Merge branch 'master' of https://github.com/mikebryant/ac-nh-turnip-prices into mikebryant-master 5 years ago
Mike Bryant b5f8756be3
Merge pull request #239 from Perlmint/master
Add korean translation
5 years ago
Mike Bryant dd6b3e30fc
Merge pull request #242 from akccakcctw/perf/better-perfomance-for-contributors-js
Update contributors.js for better performance
5 years ago
mcpower f5e0a0bcd4 Use exact numbers for steady state probabilities 5 years ago
Gyusun Yeom 00a81fb930
Add korean translation 5 years ago