hiyaryan / 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 distorted thinking and finding alternative modes of thought (i.e. reframing) while cognitive distortions are occurring. The CDJ does that work for you. -- The CDJ is in beta testing!!
https://thecdj.app
2 stars 0 forks source link

Analysis successfully generated but not displayed in analysis component. #149

Open hiyaryan opened 2 weeks ago

hiyaryan commented 2 weeks ago

After entering a new thought, the server indicated that the analysis was generated successfully. A title was created indicating that it hit the LLM API.

The thought was then displayed in focus, but the analysis was empty as seen in the image below.

The generate new analysis button was pressed several times and the server indicated again that it was successful but still is not displayed in the analysis component.

image

hiyaryan commented 2 weeks ago

A new entry was made with the same thought and now the analysis appeared. It seems there is a bug in the new entry mechanism that occurs spontaneously.

Check the database to see if the analysis has been written. If it has, then the controller logic might contain the bug. Otherwise, the bug might be in the component.

image