Changes the sorting in `generate_possibilities` to have the intended effect. The old version worked on firefox, but did not sort the list on chrome because `a.weekMax < b.weekMax` does not return `-1` if `a.weekMax > b.weekMax`.
Added text box to notify that values will not be saved.
Valid first-time options are:
yes/true/1
no/false/0.
Valid first-time options are:
0/fluctuating
1/large-spike
2/decreasing
3/small-spike
anything else defaults to unknown.
Test with:
https://turnipprophet.io/?pattern=large-spike&prices=90.91..93.94..&first=true
This change introduces new behavior for the data table.
If the device supports a fine pointer (mouse or touchpad) and a screen
width that is less than 1400px, we will set a max height on the table
allowing the horizontal scroll bar to be easily accessable.
If the device supports a coarse input (touch) we will not set a max
height on the table, because horizontal scrolling is a simple swipe.
If the device has a screen that is wider than 1400px we will not set a
max height on the table, as there would not be a horizontal scroll bar.
commit efffda8fc2ae9ebf5df051c33159fc4334075470
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 19:03:49 2020 -0400
Fixed Reset Button
Fingers crossed on last commit
commit ff6b739533c20e1eb3f4942b06def9fdfcf58548
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 18:49:54 2020 -0400
Copy Update + Radio Button Fix
Changed the copy under "First-Time Buyer" and made the selected radio button a solid fill rather than only coloring the text.
commit 95887a68b671dcf231e4e7aea6710bfe4e2eae29
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 18:31:18 2020 -0400
Removed a Console Log
commit 84f1ef8b96730818903aaa0e12ab12be642f8bd1
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 18:27:03 2020 -0400
Added Probabilities
Chart will now also display % chance of that pattern.
commit d047d7749ca2809165068fe3f787c83ffba8b45e
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 18:08:35 2020 -0400
Added "First Buy" and "Previous Pattern"
All CSS needed for these fields have also been included, as well as some Javascript updated to reflect the new radios.
commit 95b60e1458df72c86cf91c2017cb8208e0829d9b
Merge: 1d6046b be09f8e
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 13:51:53 2020 -0400
Merge branch 'front-end'
commit be09f8e6085dccf90683c819a3deec44852a54b1
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 13:51:43 2020 -0400
Requested changes
This commit adds changes as requested in https://github.com/mikebryant/ac-nh-turnip-prices/pull/34
commit 1d6046bfe283e6a779e2e2f49edd12b6fdf128bd
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 02:34:12 2020 -0400
typo
commit a414b8fdc22aaad82265d502601c0d2a67050f5d
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 02:22:36 2020 -0400
Update scripts.js
commit fbc3878d831e0f9abeb2de40337dedb8ee20f794
Merge: d521944 3cad0d4
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 02:18:57 2020 -0400
Merge branch 'master' of https://github.com/Trevor-Welch/ac-nh-turnip-prices
commit d521944eae82eeb0644b13ffa75a23ec3d2f52ef
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Wed Apr 8 02:15:37 2020 -0400
Massive UI Rework
This commit completely changes the UI of the app, giving it a more Animal Crossing touch and make it feel like an app on the Nook Phone.
commit 3cad0d4f2a127ba46e946a9b0bebfc1cfb7001f2
Author: Trevor Welch <welch.trevor@yahoo.com>
Date: Mon Apr 6 20:43:38 2020 -0400
Refactored scripts.js
Scripts.JS was very hard to read initially.
This commity cleans things up, abstracts functions, and makes it a bit more easier to read.
Add additional logic to compute 'LeastMax', which represents the worst case scenario maximum price achievable during the week (assuming everything is sold on the correct day).