cognovi-ai / the-cdj

The Cognitive Distortion Journal (CDJ) is a smart journaling tool that helps remedy distorted thinking. It can feel impossible to follow the CBT technique of labeling and reframing distorted thinking when you've been thinking this way your whole life. The CDJ can help with that 🧠✨ -- v2 is in development!
https://thecdj.app
3 stars 0 forks source link

Decouple IconButton from InputLabel. #110

Closed hiyaryan closed 9 months ago

hiyaryan commented 9 months ago

Final commit on this branch moves the collapse IconButton out of the InputLabel. This caused strange behavior where the TextField was trying to autofocus when collapsing/uncollapsing. The button should only have one function, to collapse the Chat or uncollapse it. This PR fixes that.