Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updates #1

Merged
merged 34 commits into from
Apr 12, 2020
Merged

updates #1

merged 34 commits into from
Apr 12, 2020

Conversation

sentoren
Copy link
Owner

No description provided.

peter50216 and others added 30 commits April 7, 2020 22:57
This makes linking to a particular price chart easier.
Scripts.JS was very hard to read initially.

This commity cleans things up, abstracts functions, and makes it a bit more easier to read.
feat: Add toggle for filtering results to first ever buy
This should be done in another PR :P
Add support to remember prices in query string.
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).
This adjusts the current querystring read to allow for shorter, more readable querystrings
commit efffda8
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 ff6b739
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 95887a6
Author: Trevor Welch <welch.trevor@yahoo.com>
Date:   Wed Apr 8 18:31:18 2020 -0400

    Removed a Console Log

commit 84f1ef8
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 d047d77
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 95b60e1
Merge: 1d6046b be09f8e
Author: Trevor Welch <welch.trevor@yahoo.com>
Date:   Wed Apr 8 13:51:53 2020 -0400

    Merge branch 'front-end'

commit be09f8e
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 #34

commit 1d6046b
Author: Trevor Welch <welch.trevor@yahoo.com>
Date:   Wed Apr 8 02:34:12 2020 -0400

    typo

commit a414b8f
Author: Trevor Welch <welch.trevor@yahoo.com>
Date:   Wed Apr 8 02:22:36 2020 -0400

    Update scripts.js

commit fbc3878
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 d521944
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 3cad0d4
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.
Readable dynamic length querystrings
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.
fix: Reduced overall element size throughout UI
fix: Improved data table visibility on different devices
phoenix-meadowlark and others added 4 commits April 11, 2020 10:34
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`.
This avoids being able to accidentally reset the form by pressing enter in one of the input fields

Solves #62
Provides consistent cross-browser sorting behavior.
Change reset Button to type button
@sentoren sentoren merged commit 0ddc295 into sentoren:master Apr 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
9 participants