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
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.
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.
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.
Added Probabilities
Chart will now also display % chance of that pattern.
Fixed added lines
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.