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

Update UI layout, UX on new entry, and date formatting in various components #90

Closed hiyaryan closed 7 months ago

hiyaryan commented 7 months ago

Overview

This PR introduces multiple enhancements aimed at improving the user interface and date formatting consistency across the application. The changes include text modifications, layout adjustments, and the implementation of a standardized date format.

Changes

Impact

Screenshots

Screenshot 2024-01-21 at 6 57 12 PM

Updated thought preview in Recent Thoughts list.

Testing Steps

hiyaryan commented 7 months ago

Padding has been updated in Recent Thoughts. Padding originally applied to all thoughts is now only being applied to the focused thought. This makes the selected thought stand out more puts all other thoughts more aligned with the h2.

Screenshot 2024-01-21 at 7 28 01 PM

Additionally, previously when a new entry was submitted nothing would happen in terms of scrolling to the new entry. This didn't matter on large screens since the Thought Entry submission box is right next to the Analysis section, however, on smaller screens it was inconvenient having to scroll up to read the thought. Now after a submission is posted successfully, the users position is scrolled to the top of the screen.