ucsb-cs156-s24 / proj-courses-s24-4pm-3

https://ucsb-cs156-s24.github.io/proj-courses-s24-4pm-3/
0 stars 0 forks source link

FEATURE: Added Delete Button to PersonalSchedules page (pt.2) #54

Closed tim-choi closed 4 months ago

tim-choi commented 4 months ago

Before, there was no way to delete a course form your schedule from the personal schedules page. You could only delete a course form the courses page, which was not optimal.

In this PR, I add a column with a delete button for each course under each personal schedule. I also add a Controller and controller test file to make the delete button that is on the Personal Schedules page work.

I created a new branch from my previous working branch that has not been merged yet, so I closed the previous PR. (Merge just this branch and close #43 without merging that PR.)

Dokku link: https://proj-courses-timchoi-dev.dokku-03.cs.ucsb.edu/

Functionality: When clicking the delete button on that page, the course will be deleted, along with any attached lectures or sections.

Screenshot 2024-05-30 at 10 01 03 AM

Closes #26