Customize Receipt
diff --git a/receiptifyv1/public/server.js b/receiptifyv1/public/server.js index d0ac1cd..f514463 100644 --- a/receiptifyv1/public/server.js +++ b/receiptifyv1/public/server.js @@ -1306,6 +1306,7 @@ function showCheckbox() { const userCheckboxTitle = document.createElement('p'); userCheckboxTitle.textContent = "Select Users"; + userCheckboxTitle.id = "user-checkbox-title"; userCheckbox.appendChild(userCheckboxTitle); for (let i = 0; i < users.length; i++) { @@ -1323,6 +1324,7 @@ function showCheckbox() { }; const label = document.createElement('label'); + label.id = "user-checkbox-label"; label.textContent = users[i]; label.htmlFor = checkbox.id; diff --git a/receiptifyv1/public/styles.css b/receiptifyv1/public/styles.css index 8439984..3fb8b36 100644 --- a/receiptifyv1/public/styles.css +++ b/receiptifyv1/public/styles.css @@ -54,6 +54,27 @@ h2 { p { font-family: Helvetica, Geneva, Tahoma, sans-serif; } + +#user-checkbox { + margin-bottom: 2rem; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + margin-left: 2rem; +} + +#user-checkbox-title { + font-family: Inter, 'Helvetica Neue', sans-serif; + line-height: 1.2; + margin-left: -2rem; +} + +#user-checkbox-label { + padding-left: 1rem; + font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; + color: black !important; + font-size: 18px !important; +} + + .logo { font-family: 'Helvetica Neue', Helvetica, sans-serif; font-weight: 600; diff --git a/receiptifyv1/users.csv b/receiptifyv1/users.csv index 0549aff..f89444a 100644 --- a/receiptifyv1/users.csv +++ b/receiptifyv1/users.csv @@ -1,9 +1,3 @@ -Ari,BQBSh8hEt_hWXp94VJrttZ7M6yIAqOqhPKZ8Guc6ag-rQ-__FGnE4mElwvBSaabbAq34yZOY9nrArkmnoK-uYgwlicns04JVO3t6WC7mCN2y9phRFC4fuKBRiisnORL_I2YFR_40pQQte4clBHdrRBamwdpaHKHyjzANgBmXr-dHl-WtQFjHhprTan_LvnyClSUqdi9UjG1vflfoaTqNG8XfE4xHEdYPeEV1oU3AGLI7jopvE_ttIlLN,970627,1713774732983, -Ari,BQCZI-sKKh-gDadBh62bMk_zumYhLNqdWCmvFZXBB9wYL0azlLePjBjwzFLloHai6okQ81TvzD4DDx3AaWGjaHSLNDTUcZ0eM0H5x4c0aMO_g7rB92eUvB1zsQ5LxSt52i71gZDLQAVgX61auwduagqLcXr_x-Fi_kwg6tv8Bx9N4_VLdiJY84SDpwtv8aN8MjO9IAFjOCtXh48uItrMoDbwWmU42EO7hsP7zD3Aqe3ZZSqothgDEtSJ,970627,1713774753056, -Ari,BQCpaZNCDAqh_cWPDS2cDkaxy4oldQz5KKQM-pwcmI8c84fEocb3bH_5QalZO3RHFf2Qnrt7sxjrewJQRGDMmLs5aVapE9R9C1FA3zh9F0NjmMA7aZpW6md_yJrAnTfPMLYnbz6-BQg5DPGWWH0x1hpu2javEiIue3QDPEG3DxMUj9_jW2b-rboe7d0KxtWsLvyeTQ5vUWvPfS92nFErxCvOKwTdlrqIwVUXxqyd0iz0Vipc0VPbSgF9,305354,1713775210560, -Ari,BQCk3oYBW0uMdXsUG0vmyUh_3iEkrQg_CPmQ_4ckFXaCePWkeh10eVbvv77UwhBm4xFrbPRhAhlkNtZrvbWAClh8ZAOwqET-L_gFJ-5x9VetWZFnKxAgTdcPwk2JY94H7SFdG4rVYjMj_1tnQEXLeNUtCISvL1Oo8N4dXCdIIrvi9SdmPOwZqDv4yDnk75PFmZ82qytyR6lVqi7ktYWDSuV3AwBifEGDHAsinUMvw5nKF4jFklNqso2k,305354,1713775318947, -Ari,BQC0WKlrB-dnk0JtAoEdC-Wf3KjXty3jM6viclicnaRZPgiKMU8Cm_tuqCFTfSGr8BXCBVdPi5aOksBLVtrQ2kPixHdYkmUs9A086jeDLhE8ufzXbrzt5uj5tEbQ35cqbY_vILsfHSqPrnuRnhmBSjACKDnRSS25ef7y1JoLD5UFXW7pEYQ8T4csYFS4KA23N_HSR6iw2P5pl7o-19hpN8XFIA5z9EPDH3qHXcVPnCUOPgGGb_85-IGY,485407,1713775825015, -Ari,BQDv8U9NVWjnZPv-lfh11IYvYinMrhitxg6H4hNG_uBC7lcMAQ_D0-3JOZxyJHO2T4sr8rzY68LjLPaAtLEuqcTbYGdXYGbBiY96bVRYoDsj3wJiYP9Uo-XqaHuuGpsU_IQLMuqG2m8tYhwYiKsdooiuaojMjfGEsxaTqZWIDWff76dyobaQ95lD6og5B-NsLA4VJixv7EsbZ06VID78XYH5L6oP99kGCrpEFl6DK1upMN6H6PpBlkdT,485407,1713775838900, -Ari,BQDTJvPxPBeRwZphJjwW_TI-QmzHI44oQeUiXvm0Ts9mGOK-qzElIZu_bOHXSxEfFWUHJ_E-D_3zSgcPgafZb4hLDTv17TIjP1R-TmjEuoSnAScrG-2T1xcsGkuPAi1-p6uusZaKo2a4oOesV7K8pzQhvjm7NbD2Q59UN3efMOsrXHcyN131E8cLR3kIUPWVuMkbjeDsWZVpJUQchppiFnFc6xCeQFvqfa4uTPmAlF_eK3vs40r8rtSX,447349,1713775928502, -Ari,BQBB2BAXDryIOXSm9b44wq-d09HrRl7dugEug19UIz1YE_nUds9r80ftkj9Srr3A58ZCvrDyHuPACY1jSbS0wwKzcbjhBxkGX0aMTZ1QWq9feT9imYqTWBE-K5pfFebn0tx2CEgSkvtqehE35WRZFcd2P7rl0Um8AxcZDDnh7-9_4CHpozXHetV7FvwLN4szJA9uujXJfwjNh8OwV1_W5pfkrUCOPYUDN0SYKlqPL0C1Gv9wsDFmwGq1,447349,1713775944233, +✧ jizzica ✧,BQBgPzh3R_Kro573KV7alDS0O74nCpx4WW8Xgj18Hp1AQE_ijZFkXsAneOIMF08SuHgfc2Ml_KrfykOjZ9Vxw_n8wc1wTwaqEGd358S21EXMo07-4WdlX3EPDyGqWoFQBcerzJ1hIyKBYb5HqH92WyaAi_laxxZSxkWaOTcgxVulWxVly-4XMvaI9VV3KuHt_JIZjbS8ontGZ3G35PDOLiFB6q5TawNbuTsBR48,261818,1713808836632, +✧ jizzica ✧,BQCrWoS_r3XRI3QaFaZ8lu-zR8W5RRxhLTlnNNJSVuYTyyc_LfZ1GfXqznB7iLb2sEhMr2TH28fcFW7R_pwas8147CwjxJcN5DYOdM41Pf2pazAlLUd1sls0trEuThcC9u8mJIb01RvAOFtVJFhHpB-DfCORDUVZykLrwwSs-V_yQ-9uDbo8vdjBlfLZnQo98BVvRvfc1yQOTMPbhqsbzSRW89tciuY-4LF6dW0,261818,1713808847899, From 5a40bde5dd3f2052d0d84b67f51d8afb82ff6340 Mon Sep 17 00:00:00 2001 From: Nina Perone- Made by Michelle Liu + Inspired by Receiptify by Michelle Liu
Home | About |
From 7d14e989f67fdb9d7ed9f433524e1319f3c67f97 Mon Sep 17 00:00:00 2001
From: nina-perone <143619402+nina-perone@users.noreply.github.com>
Date: Mon, 22 Apr 2024 15:29:34 -0400
Subject: [PATCH 10/11] Update README.md
updated project functionality
---
README.md | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/README.md b/README.md
index 6b025ab..8cb8256 100644
--- a/README.md
+++ b/README.md
@@ -27,6 +27,7 @@ Once you have created your app, change the `client_id` and `client_secret` value
In order to run the app, open the folder, and run its `app.js` file:
+ $ cd receiptifyv1
$ node app.js
Then, open `http://localhost:3000` in a browser.
@@ -45,7 +46,9 @@ A user on the same network the app is hosted on can put the host's IP and port n
The first person will click the "Create Session" button and log into their Spotify account. A Session ID will appear on the top of their receipt.
-Other users can then click "Join Session" and after entering the shared Session ID, they can log into their Spotify accounts and view the receipt. After refreshing the page, checkboxes will appear next to each joined user's name indicating which Spotify accounts data will be included. (CURRENTLY ONLY WORKS FOR TOP ARTISTS)
+Other users can then click "Join Session" and after entering the shared Session ID, they can log into their Spotify accounts and view the receipt.
+
+After refreshing the page, checkboxes will appear next to each joined user's name indicating which Spotify accounts data will be included. You can pick from viewing Top Tracks, Top Artists, Stats, and Top Genres (CURRENTLY ONLY WORKS FOR TOP ARTISTS, TRACKS, AND STATS). You can also change the time period data is drawn from and length of receipt. Under the receipt, you can download the image or open it in a new tab.
From 5e27709f8cc49b3465368ef350d619bd1edaa23f Mon Sep 17 00:00:00 2001
From: Nina Perone