Skip to content

Enable Editing Location for Unbooked Interview Slots #1802

@Abi107717

Description

@Abi107717

Description

Professors need a way to correct or update the location (e.g., room number or video link) of an interview slot after it has been created, as long as it hasn't been booked yet. Currently, slots must be deleted and recreated to change the location.

Tasks

  • Server: Create PUT /api/interviews/slots/{slotId} endpoint to update slot location.
  • Server: Add service logic to allow updates only for unbooked slots.
  • Client: Add "Edit" action to SlotCardComponent (visible only if unbooked).
  • Client: Create a modal using a read-only DateSlotCardComponent (only location editable).
  • Client: Connect modal to update endpoint.

Acceptance Criteria

  • Unbooked slots show an "Edit" option.
  • Booked slots do not show the "Edit" option.
  • The edit modal shows date/time as read-only but allows changing the location.
  • Saving updates the slot location in the backend and reflects changes in the UI.

Metadata

Metadata

Assignees

Labels

taskTasks related to TumApply which are not whole features

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions