Commit Graph

435 Commits (master)
 

Author SHA1 Message Date
Harry Peach a50ad6a332 Removed netlify leftover files 4 years ago
Harry Peach 8791c5fa92 Added basic service-worker support 4 years ago
Mike Bryant 302218de57
Merge pull request #84 from theRTC204/master
feat: Add dynamic list of contributors
4 years ago
Mike Bryant 4d5a245fd0
Merge pull request #78 from timplunkett/patch-3
Clarify price should be from your island
4 years ago
Ryan Carbotte e20e884611 fix: Changed to use HTML URL for contributor link 4 years ago
Ryan Carbotte c2559fedbf feat: Add dynamic list of contributors 4 years ago
Trevor Welch c4c2ff7cd1 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.

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
4 years ago
Tim Plunkett fb1cb3476a
Clarify price should be from your island 4 years ago
Mike Bryant 42c3fdd2a3
Merge pull request #67 from kantenkugel/patch-1
Change reset Button to type button
4 years ago
Mike Bryant f8cf8058a5
Merge pull request #64 from phoenix-meadowlark/patch-1
Provides consistent cross-browser sorting behavior.
4 years ago
Michael Ritter 0af21f93fc
Change reset Button to type button
This avoids being able to accidentally reset the form by pressing enter in one of the input fields

Solves https://github.com/mikebryant/ac-nh-turnip-prices/issues/62
4 years ago
Phoenix Meadowlark 927480748c
Update to provide consistent cross-browser behavior.
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`.
4 years ago
Blake Felt a62a86235c Added parameters first-time and previous-pattern.
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
4 years ago
Mike Bryant 8afadbddeb
Merge pull request #53 from theRTC204/improve-data-table-usability
fix: Improved data table visibility on different devices
4 years ago
Mike Bryant 13cb859406
Merge pull request #52 from theRTC204/minor-visual-tweaks
fix: Reduced overall element size throughout UI
4 years ago
Ryan Carbotte d0e1ded041 fix: Improved data table visibility on different devices
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.
4 years ago
Ryan Carbotte 73cab71e6e fix: Reduced overall element size throughout UI 4 years ago
Mike Bryant e40f944c2e fix: Fix reset button 4 years ago
Mike Bryant d048472a7d
Merge pull request #45 from tylermatchett/dynamic-querystring
Readable dynamic length querystrings
4 years ago
Mike Bryant c36fefedbb
Merge pull request #50 from mikebryant/rebase-34
Rebasing #34
4 years ago
Mike Bryant b10358f13e fix: Retain compatibility with previous stored data 4 years ago
Mike Bryant 54b8458a5f Squashed commit of the following:
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.
4 years ago
Tyler Matchett dbb9882553 Readable dynamic length querystrings
This adjusts the current querystring read to allow for shorter, more readable querystrings
4 years ago
Mike Bryant f30e1e751e Remove minimum, rename other field to guaranteed minimum 4 years ago
jtplatt99 f4ab1be863 Add 'LeastMax' Parameter
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).
4 years ago
Mike Bryant ea190f6d38
Merge pull request #42 from mikebryant/integrating-probability
feat: Integrating probability
4 years ago
Mike Bryant 45e055718f Fix calculations 4 years ago
Mike Bryant 0b69cba802 Rename pattern and make probability per row 4 years ago
Lou Huang 63e6b1adec feat: display %chance of each pattern if known 4 years ago
Mike Bryant 60c1f160d0
Merge pull request #27 from peter50216/upstream_master
Add support to remember prices in query string.
4 years ago
Pi-Hsun Shih 976df77673 Undo one more unrelated change. 4 years ago
Pi-Hsun Shih 9c3299b4fb Undo more unrelated style change. 4 years ago
Pi-Hsun Shih 9aca6465c2 Undo unrelated style changes.
This should be done in another PR :P
4 years ago
Peter Shih fb7fbe55e3
Merge branch 'master' into upstream_master 4 years ago
Mike Bryant 667ff47f0f
Merge pull request #31 from theRTC204/first-time-buyer-toggle
feat: Add toggle for filtering results to first ever buy
4 years ago
Ryan Carbotte cb69d49113 feat: Add toggle for filtering results to first ever buy 4 years ago
Mike Bryant 91e428e563 More fixes 4 years ago
Mike Bryant 6470b39f84 fix: Fix UI issue 4 years ago
Trevor Welch ead6e51525 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.
4 years ago
Pi-Hsun Shih 88a8525382 Don't override localstorage when there's query string. 4 years ago
Pi-Hsun Shih 53fe5d69a2 Catch exception locally. 4 years ago
Mike Bryant 6771302034
Merge pull request #28 from peter50216/fix-no-reset-on-enter
Don't reset the form when pressing enter in the input box.
4 years ago
Pi-Hsun Shih adc538b3ff Change from hash to query string. 4 years ago
Pi-Hsun Shih 2dcddeee5d Don't reset the form when pressing enter in the input box.
Remove the <form> so that pressing enter in input box doesn't click the
reset button. Also remove the unused type="submit".
4 years ago
Pi-Hsun Shih 02d600e62d Add support to remember prices in hash parameter.
This makes linking to a particular price chart easier.
4 years ago
Mike Bryant b30fca595f Create CNAME 4 years ago
Mike Bryant f254976aa2 Delete CNAME 4 years ago
Mike Bryant ea9af8e017 Create CNAME 4 years ago
Mike Bryant 3f6531e74b docs: Add notice file 4 years ago
Mike Bryant bef9928e8b fix: Weekly max should exclude the buy price
Fixes #22
4 years ago