Closed CeraStroh closed 5 months ago
3/14 Progress - 1 hour Corrected some merging issues from Issue #2 and main Completed "Edit" button, Dynamic Route Segments, & "Save" button tasks.
3/18 Progress - 1 hour Created functions to fetch terms and definitions.
Idea: Try mapping out each term and each definition in the edit-form. Double-check how each one can be determined in an array in the same Study Set since they are not separated by rows.
3/19 Progress - 1 hour
Tried fetching terms differently to no avail.
Called fetch functions for terms and definitions in parallel in edit-form
.
Idea: create a hidden input field that has a value of Terms-Definitions pairs variable, submit it to the createStudySet() server action & add to database in 1 big array, set the pairs variable to the big array from the database Also add the solution for the auto-submit problem in the create-form to the edit-form.
3/30 Progress - 45 minutes
4/2 - 1 hour Unable to make the types of the pairs array match to set study_content to the initial pairs variable on the edit-form but it still seems like this solution will be the most effective if it actually works.
As a student, I want to edit my Study Sets so that I can make easy changes and fix mistakes without needing to create a whole new Study Set just to update it.