ocdevel / gnothi

Gnothi is an open-source AI journal and toolkit for self-discovery. If you're interested in getting involved, we'd love to hear from you.
https://gnothiai.com
GNU Affero General Public License v3.0
171 stars 19 forks source link

Behaviour progress is not being saved #179

Closed Leeleevy closed 11 months ago

Leeleevy commented 1 year ago

When I enter Gnothi the next day after I tracked some behaviours, for some reason it displays their yesterday's values. I change them to the new values, and the first thing I notice is that the values above the "chart" buttons are not updated. Then let's say I want to track some yesterday's behaviours I forgot to track, or want to simply view them, so I go back one day, but Gnothi displays all the behaviours as untracked. If I enter all the yesterday's values again and then come back to the current day, Gnothi displays all the values I've just entered as yesterday's as today's. The issue persists both in mobile and desktop browsers. A very serious bag, in my opinion, because it basically makes the behaviour tracking feature unusable for now.

lefnire commented 11 months ago

I'll be very close to behaviors going forward, now that I've added habit-tracking https://github.com/ocdevel/gnothi/pull/185 it'll be my daily driver, so I'll keep an eye out for this any other issues. I'll close this if/when something clear stands out

lefnire commented 11 months ago

@Leeleevy email me tylerrenelle gmail if you're still using this. All the data stuff (analytics, AI) is now part of premium, so I wanna freebie you in since you've been testing

lefnire commented 11 months ago

Ok I think I pegged it https://github.com/ocdevel/gnothi/commit/855e66aaff7fc63d0a6ed693fe1858cc7558b162