frankcollins3 / Next-Water-App

Happy, Healthy Water Cycling App that tracks user/human fluid intake.
https://next-water-app.vercel.app
1 stars 0 forks source link

onActiveStartDateChange={changeMonthClick} [9:58am] #134

Open frankcollins3 opened 5 months ago

frankcollins3 commented 5 months ago

attempting to do: onActiveStartDateChange={}. if dataset doesn't have month-correspondent data, prohibit change of month

Screen Shot 2024-06-23 at 9 58 46 AM

Screen Shot 2024-06-23 at 9 56 59 AM

error: function block only contains: .log('string') -> but still expresses whatever behind-scenes functionality changes month

proposed approach:

frankcollins3 commented 5 months ago

bonus edge case which won't be implemented. just idea: current month june? logged in user only has data back from february? then february

// while writing this reconsidered again that there is no sense in doing that but there is I think: user would only be clicking calendar to see their own data. Why default to displaying

heard during recent FE assessment: user should do least work possible to get everything they need.