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.
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
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).