LCOGT / lco-education-platform

LCO's education platform for students and teachers
0 stars 0 forks source link

Feature/delete session #70

Closed capetillo closed 2 months ago

capetillo commented 2 months ago

FEATURE: Delete session

Background: If a user (me) created a session, it was impossible to delete it through the UI. Now, there's an x that when clicked, it deletes the session

Implementation: Added a function that on click of the x it makes a DELETE request to the observation portal with the selected session's id. And I added a test to test this functionality : )

VISUALS

Screen recording of session being deleted

https://github.com/user-attachments/assets/837c0f18-3bc1-4645-8d8d-de6d8f84446d