Closed frankcollins3 closed 1 year ago
attempting to do: link weatherAPI to a given day so that any precipitation creates UI changes on the calendar to signify that precipitation.
no errors yet just fork in the road.
proposed approach: 0: new prisma data column and migrate ( really dont want to do this )
1: table.data.weekday: [mondayR || tuesdayR]
2: table.data.status: { "status", "status", "status", "status" , "rain" }
// forgot about the status array is .split(), because the string is set up wrong but it's not counting against us it's overcome.
👍 number 2 sounds more sensible {"check,check,check,check,check"} but its one string.
willing to admit one can tone this down a bit. Checking for rain will only work when SELECTED_DAY === today.
[8:34am]
attempting to do: link weatherAPI to a given day so that any precipitation creates UI changes on the calendar to signify that precipitation.
no errors yet just fork in the road.
proposed approach: 0: new prisma data column and migrate ( really dont want to do this )
1: table.data.weekday: [mondayR || tuesdayR]
2: table.data.status: { "status", "status", "status", "status" , "rain" }
// forgot about the status array is .split(), because the string is set up wrong but it's not counting against us it's overcome.
👍 number 2 sounds more sensible {"check,check,check,check,check"} but its one string.