Nerds-Who-Code / Mental-Health-Tracker

mental-health-tracker.vercel.app
MIT License
6 stars 6 forks source link

New feature view entries #19

Closed steph-koopmanschap closed 2 years ago

steph-koopmanschap commented 2 years ago

New feature:

You are now able to see all the entries of a user. On the dashboard click "View entries". The "edit" and "delete" button do not work yet. Will add it in future commits. Added very simple CSS styling in /components/Entry.css These should be replaced by TailWindCSS.

When you click view entries it dispatches and action to the store. The action will fetch the entries from the server and load it in the global state. When the entries page loads it displays the entries loaded from the global state. Each entry receives props from the entries page.

ooddaa commented 2 years ago

conflicts resolved, hopefully 😅

ooddaa commented 2 years ago

wops closed accidentally, but all good