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

Show scroll bars in scrollable boxes #117

Open hiyaryan opened 9 months ago

hiyaryan commented 9 months ago

A user was reading an entry and did not know they could scroll to read the remainder of the text. This made them think the analysis was incomplete such that it stopped generating content. To resolve this, always show the scroll bar.

hiyaryan commented 9 months ago

Showing the scroll bar always comes with its challenges as it is not as simple as enforcing it and it appearing across all browsers and operating systems. Additionally, it seems to not be such a straight forward task.

Another approach to showing that there is more content to view is to add a gradient to the bottom of the Box. This seems to be the better approach, but it is also going to take longer than simply toggling a switch. Additionally, the gradient should go away once the Box has reached the end of the content.

For now this issue will go into the backlog as it is lower on the list of priorities. Eventually the user discovered they could scroll.