Commit Graph

435 Commits (master)
 

Author SHA1 Message Date
Mike Bryant 46f994c0ff feat: Taking a first stab at implementing translations 4 years ago
Mike Bryant 9aeb53c261
Merge pull request #130 from theRTC204/confirm-reset-fields
feat: Added confirm on reset all fields
4 years ago
Mike Bryant f67b014d70
Merge pull request #128 from theRTC204/permalink-copy-button
feat: Permalink copy button
4 years ago
Mike Bryant ef81072c4c
Merge pull request #126 from theRTC204/website-favicon
feat: Updated the website favicon and PWA icon
4 years ago
Ryan Carbotte f89039454b feat: Add a flash message on permalink copy 4 years ago
Ryan Carbotte a3dc3d53c7 feat: Added button to generate a permalink
Added a button to the UI near the Reset fields button and generate a URL that only contains the populated fields

Closes #108
4 years ago
Ryan Carbotte 90fb28b212 feat: Added confirm on reset all fields
Closes #119
4 years ago
sujeom 94f5df9343 Merge branch 'darkmode' of github.com:Sujeom/ac-nh-turnip-prices into darkmode 4 years ago
sujeom 10306698f1 addressd red coloring 4 years ago
Josué Martinez da7060229b
Merge branch 'master' into darkmode 4 years ago
sujeom eb9b8958ea darkmode added using darkmodejs 4 years ago
Lawrence Luk 54f2dc83f3 Adjust price brackets 4 years ago
Ryan Carbotte ea597d4761 feat: Updated the website favicon and PWA icon
Credit to @ErinPeril for the icon work!

Closes #71
4 years ago
Lawrence Luk b43ed3d15f Added color coding for ranges in display table 4 years ago
Lawrence Luk 79370b923f Added color coding for ranges in display table 4 years ago
Peter Shih 43ccafb1ea
Merge branch 'master' into fix-accurate-prob 4 years ago
Mike Bryant 42509c4c09
Merge pull request #113 from peter50216/fix-peak-start
Fix peak_start not defined
4 years ago
Pi-Hsun Shih b653b3993c Fix peak_start not defined
Fix #110.
4 years ago
Pi-Hsun Shih 0cc1e80f66 Make the probability saner when FUDGE_FACTOR is in effect. 4 years ago
Pi-Hsun Shih b2aeb57707 More math error, integral is hard... T_T 4 years ago
Pi-Hsun Shih fc630a6e2b Fix stupid typo of && / ||, fix another probability boundary condition. 4 years ago
Pi-Hsun Shih 26b753c7bd Fix probability calculation 4 years ago
Pi-Hsun Shih e9e8327df5 Fix a wrong comment. 4 years ago
Pi-Hsun Shih 09e8e4e37a Make probability accurate by condition probability on the value.
Tested that the result is same as the "should report" in #95.

Fix #48, #95.
4 years ago
Mike Bryant 8f49882245 Revert "Make probability accurate by condition probability on the value."
This reverts commit 3fa1867340.
4 years ago
Mike Bryant a5194879d0 Revert "Fix a wrong comment."
This reverts commit 8c43570c9a.
4 years ago
Mike Bryant c615df9397
Merge pull request #105 from peter50216/fix-accurate-prob
Accurate probability.
4 years ago
Pi-Hsun Shih 8c43570c9a Fix a wrong comment. 4 years ago
Pi-Hsun Shih 3fa1867340 Make probability accurate by condition probability on the value.
Tested that the result is same as the "should report" in #95.

Fix #48, #95.
4 years ago
Pi-Hsun Shih 28e73937bc Refactor and move common parts out. 4 years ago
Mike Bryant 0634b5e64c
Merge pull request #106 from mikebryant/fudge-factor
fix: Add a fudge factor
4 years ago
Mike Bryant 6cfc140173 fix: Add a fudge factor
The reversed code isn't a perfect match for ARM 32-bit floating point assembly. This should allow us to cope with things that are a little out of range due to floating point weirdness
4 years ago
Mike Bryant 46929bd556 fix: Use min for guaranteed minimum
Should be, max of mins for each pattern, then min of those
4 years ago
Mike Bryant f8319bb348
Merge pull request #104 from mikebryant/chart
feat: Add chart visual
4 years ago
Mike Bryant 89dfc6ce6e feat: Add chart visual 4 years ago
Mike Bryant 21cb1a0ed2 fix: Make guaranteed minimum correct for all patterns, and fix sorting
Fixes #98

Fixes #76
4 years ago
Mike Bryant 10f9b3a755
Merge pull request #58 from Molorius/master
Added parameters first-time and previous-pattern.
4 years ago
Mike Bryant da1d75ba51
Merge pull request #102 from peter50216/patch-2
Update rate range to match intceil
4 years ago
Mike Bryant 53c98b84c3
Merge pull request #103 from peter50216/patch-3
Change prediction of rate to consider not only the previous known value
4 years ago
Peter Shih 7d1f46fe8c
Change prediction of rate to consider not only the previous known value
This also makes the predicted range more strict, so won't help with all those invalid pattern issues, but should give an more accurate result.
4 years ago
Peter Shih a41f2d5975
Update rate range to match intceil
I doubt this would change any prediction at all, but this is more correct according to the code.
4 years ago
Blake Felt a893a5617b Removed UI notification when query is used.
A console log shows instead.

Cleaned up getPreviousFromQuery.
It now returns null when the "prices" parameter is not used.

Fixed getPreviousFromLocalStorage to only look at local storage.

Changed from_query to populated_from_query to be more descriptive.
4 years ago
Mike Bryant af774022a0
Merge pull request #93 from theRTC204/switch-to-intceil
feat: Implements a more true to game code intceil calculation
4 years ago
Ryan Carbotte 0d9e0d8f8d feat: Implements a more true to game code intceil calculation
This replaces all instances of Math.floor() and Math.ceil() with a
calculation that more closely matches the C++ implementation in game.
4 years ago
Mike Bryant b6c92ea82f
Merge pull request #56 from HarryPeach/master
Progressive Web App support
4 years ago
Mike Bryant 8745b42b1a
Merge pull request #91 from theRTC204/fix-remove-debug-statement
fix: Removed a debug statement left behind
4 years ago
Ryan Carbotte 4a711fde74 fix: Removed a debug statement left behind 4 years ago
Mike Bryant baff942960 docs: Add some notes on scope 4 years ago
Harry Peach 34e0bbcaa5 Added extra precached files 4 years ago
Harry Peach 1c65137cb6 Added icons for the PWA 4 years ago