Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HER-56 -Implement Speaker Response Flow [FE] #65

Merged
merged 1 commit into from
Jan 20, 2025

Conversation

mhope21
Copy link
Collaborator

@mhope21 mhope21 commented Jan 20, 2025

HER-56: Implement Speaker Response Flow [FE]

Issue

https://raquelanaroman.atlassian.net/browse/HER-56

Description

As a speaker user, I want to review booking requests and either accept or decline them so that I can manage my schedule.

Acceptance Criteria

  • Pending Booking Requests Section:

  • Add a section to the speaker’s profile page to display all pending booking requests (“pending” status in Booking Model).

  • Each booking request should display relevant details.

  • Accept/Decline Buttons:

  • Each pending booking request should have “Accept” and “Decline” buttons.

  • Clicking “Accept” should mark the booking as accepted (“confirmed” status in Booking Model) and notify the teacher user.

  • Clicking “Decline” should mark the booking as declined (“declined” status in Booking Model) and notify the teacher.

Notification to Teacher:

When a booking request is accepted or declined, the teacher should receive an email notification with the speaker’s decision.

Changes

  1. Add notifications to mailers to send when the status is updated.
  2. Update booking controller and serializer.
  3. Correct frontend bugs.
  4. Add some front end styling.
  5. Test notifications.

Review Checklist

  • I have documented my code with code comments.

Copy link
Collaborator

@trca831 trca831 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Copy link
Collaborator

@bbcc33 bbcc33 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@mhope21 mhope21 merged commit b0e3098 into main Jan 20, 2025
3 checks passed
@mhope21 mhope21 deleted the HER-56-Implement-Speaker-Response-Flow branch January 20, 2025 06:23
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.

4 participants