MathiSans / capstone_mood-tracker

https://mood-diary-five.vercel.app
3 stars 0 forks source link

User Story: Tag Cloud #5

Open MathiSans opened 6 months ago

MathiSans commented 6 months ago

Value proposition

As a user I want to to see a selection of tags In order to I can quickly input my current mood

Description

Image

Acceptance criteria

Tasks

array/object structure:

[
 {
  experience: "fear",
  color: "#ff0000",
  responses: ["insult", "surpress", "broad", ... ]
 }
]
MerleMak commented 6 months ago

Just a question: So on submit of the form this Object structure will be saved?

You probably have one state where all the moods including the possible responses are listed. You should then also create a "currentuser" Localstorage-state where the selected moods and responses are listed.

I think you probably mean this already, maybe you can specifiy a little bit when (on submit probably) the objects are created :)

MathiSans commented 6 months ago

@MerleMak

The example "array/object strucutre" is meant to be a example for the database array. Each object is a tag cloud option. Depending on which options/parameters the user selects a new object is being created and placed inside another array (array with user entries). Does that answer your question? :)

MerleMak commented 6 months ago

perfect :)