frankcollins3 / fill_container

codecamp team project updated with new icon screen menu + puppeteer icon search, GraphQL, redux, relational psql !mongo, and accuweatherAPI
1 stars 0 forks source link

progress is supposed to be an array [12:08am] #232

Closed frankcollins3 closed 1 year ago

frankcollins3 commented 1 year ago

Screen Shot 2023-06-19 at 12 05 18 AM

while it's not i'm deciding to use the integer only data column to store the "%/100" so if you had 5 water updates to do, and landed 4 / 5, progress would be 80%

proposed approach: 0: just restart the tables and correct it.

1: attempt & prepare solution on the fly given the problem. 👍 progress: {'check', 'check', 'check', 'miss', 'check} // this array of strings is how its supposed to be. could also be arr of T/F flags but they're strings.

bookmarking a consideration that I would've done them as booleans rather than strings and now it'll be a whole num of 100.

frankcollins3 commented 1 year ago

👍 '{"check, check, check, check, check"}' // set up wrong, its a string of 5 checks not 5 strings in array not a big deal the client function parses anyways with a .split(',')