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
3 stars 0 forks source link

Make index components scrollable. #40

Closed hiyaryan closed 8 months ago

hiyaryan commented 8 months ago

In branch home-v2, a good example of making components with a lot of data scrollable uses a MUI Box component. This same concept can be applied to making Thoughts and Chat components of the Index page scrollable.

Additionally, it may be beneficial to load only a certain number of thoughts and chat messages. Then as the user scrolls, additional data is pulled from the backend, similar to the infinite scroll (but this will be finite and depends on the total number of posts a user has).