From c4c2ff7cd1e986b930facebc6d10e1bc82ff1001 Mon Sep 17 00:00:00 2001 From: Trevor Welch Date: Wed, 8 Apr 2020 02:15:37 -0400 Subject: [PATCH 1/3] 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 --- index.html | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index d4dc76e..85f0f5e 100644 --- a/index.html +++ b/index.html @@ -104,7 +104,6 @@ - AM - 8:00 am to 11:59 am PM - 12:00 pm to 10:00 pm
@@ -284,6 +283,19 @@ Support, comments and contributions are available through Github

+

Oh! And let's not forget to thank those who have contributed so far!

+

Contributors: + Mike Bryant, + Trevor Welch, + Lou Huang, + Tyler Matchett, + Valerio Riva, + Naji Astier, + Pheonix Meadowlark, + Peter Shih, + Michael Ritter, + jtplatt99 +

From c2559fedbf3d24e44ea73a678c271d0662fb1622 Mon Sep 17 00:00:00 2001 From: Ryan Carbotte Date: Mon, 13 Apr 2020 18:49:26 -0500 Subject: [PATCH 2/3] feat: Add dynamic list of contributors --- index.html | 14 +++----------- js/contributors.js | 17 +++++++++++++++++ 2 files changed, 20 insertions(+), 11 deletions(-) create mode 100644 js/contributors.js diff --git a/index.html b/index.html index 85f0f5e..fb34203 100644 --- a/index.html +++ b/index.html @@ -284,23 +284,15 @@ href="https://github.com/mikebryant/ac-nh-turnip-prices/issues">Github

Oh! And let's not forget to thank those who have contributed so far!

-

Contributors: - Mike Bryant, - Trevor Welch, - Lou Huang, - Tyler Matchett, - Valerio Riva, - Naji Astier, - Pheonix Meadowlark, - Peter Shih, - Michael Ritter, - jtplatt99 +

+ Contributors:

+ diff --git a/js/contributors.js b/js/contributors.js new file mode 100644 index 0000000..90b9940 --- /dev/null +++ b/js/contributors.js @@ -0,0 +1,17 @@ +function getContributors() { + if (window.jQuery) { + const container = $('#contributors'); + jQuery.ajax('https://api.github.com/repos/mikebryant/ac-nh-turnip-prices/contributors', {}) + .done(function (data) { + data.forEach((contributor, idx) => { + console.debug('DEBUG:', contributor); + container.append(`${contributor.login}`); + if (idx < data.length - 1) { + container.append(', '); + } + }); + }); + } +} + +$(document).ready(getContributors); From e20e884611cd0474fc3c2b920001b640f607b26a Mon Sep 17 00:00:00 2001 From: Ryan Carbotte Date: Mon, 13 Apr 2020 19:36:16 -0500 Subject: [PATCH 3/3] fix: Changed to use HTML URL for contributor link --- js/contributors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/contributors.js b/js/contributors.js index 90b9940..c3d09e5 100644 --- a/js/contributors.js +++ b/js/contributors.js @@ -5,7 +5,7 @@ function getContributors() { .done(function (data) { data.forEach((contributor, idx) => { console.debug('DEBUG:', contributor); - container.append(`${contributor.login}`); + container.append(`${contributor.login}`); if (idx < data.length - 1) { container.append(', '); }