mrrichardasmith / family_vote

Voting for the Democratic Family
0 stars 0 forks source link

Enable sub thoughts to be added to any first thought or sub thought and move to bottom of list #74

Open mrrichardasmith opened 2 years ago

mrrichardasmith commented 2 years ago

The current behavior of the thoughts page is that the form grabs focus and thoughts are added to the bottom of a list which appears above the form.

Add the ability to click on a thought and have it send you to a new page that has the original thought read only and the option to add a sub thought. After submitting the sub thought it should appear with a border under and within the first thought.

mrrichardasmith commented 1 year ago

If I create a new table for the subthoughts and then a new parameter on the main thoughts table that stores an array of the id's that are created from the first thought, this might be a method to chain sub thoughts to the primary thought.

mrrichardasmith commented 1 year ago

Or I could take the main thought ID and write it along with the subthoughts so that they all have the parent thought's id in their table.