Skip to content

Conversation

@dburkhart07
Copy link

ℹ️ Issue

Closes Code-4-Community/jumpstart#48

📝 Description

For this ticket, I created the creating/adding task UI, implementing all the proper features and properly communicating with the backend. The logistics for doing this was very complicated, and the difference in creating/editing a task required a lot of manipulation with parameters between function. Regardless, I did this by creating variables for everything needing to be updated in the main file (CreateEditTask), and then passing these variables into various components that were part of the UI, and updating those in those components. I then made all the api calls that I needed in the save button function. I also added a delete button which was not on the Figma to delete a task, as we did not have that yet it was still useful.

Briefly list the changes made to the code:

  1. Created a full CreateEditTask modal with all the components listed in the Figma
  2. Provided functionality to the Add Card button to bring into the modal, defaulting the category to the box that was selected
  3. Made differentiations between editing and creating to make proper backend API calls
  4. Added delete button only on editing task as an option

✔️ Verification

I verified each of these changes by making sure each component would properly edit, and that the UI matched the Figma (aside from a few inconsistencies I took creative freedom with :D). I also performed many regression tests, ensuring that moving tasks still worked.

Task Board:
image
Create/Edit Task UI:
image

🏕️ (Optional) Future Work / Notes

  • There was never any method mentioned for deleting labels that were created, so we currently have no way to do that (not sure if we wanted this implemented)
  • This was a personal change I made, but it looked weird and the sizing was not good having the header in addition to the create/edit task modal, so I chose not to include it, open to changes though
  • NOTE: This is a very big PR, there are many changes, which can be a bit difficult to understand. If you have any questions or think some areas should be better documented, please ask me or let me know, and I will definitely do that.

maxn990 and others added 30 commits August 3, 2025 17:11
sorry, updated this after I pushed so just gonna change it here too
Create label entity and corresponding migration
Ryaken-Nakamoto and others added 29 commits August 26, 2025 22:00
…d, as well as the entire form working. Still need to work on taking the data in CreateEditTasks and calling apis to update those accordingly on the save button, as well as a few UI changes
@dburkhart07 dburkhart07 closed this Sep 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create add/edit task

6 participants