Skip to content

Create user dashboard logic (and background service cleanup fix)#76

Merged
noakwollsater merged 1 commit intodevfrom
30-create-user-dashboard
Jan 20, 2025
Merged

Create user dashboard logic (and background service cleanup fix)#76
noakwollsater merged 1 commit intodevfrom
30-create-user-dashboard

Conversation

@McFlink
Copy link
Collaborator

@McFlink McFlink commented Jan 20, 2025

  • Added index to grouped slots
  • Created endpoint to get scheduled appointments
  • Modified method Name "GetCompletedByUserIdAsync" to reflect what it really does.
  • Initialized cleanup in availability table on server start

To test:
Pull this branch, and pull branch 30 i frontend (create-user-dashboard)

Backend:
Make sure old available slots is deleted in db.

In frontend:
Ensure you see upcoming appointments
Ensure dashboard only displays today's available slots and not slots that has passed current time
Ensure you see historic appointments
Book an appointment on the "Today's available times" card.
Ensure the newly booked appointment shows in Upcoming appointments.
Delete a booked appointment.
Ensure it is deleted in db.

- Created endpoint to get scheduled appointments
- Modified method Name "GetCompletedByUserIdAsync" to reflect what it really does.
- Initialized cleanup in availability table on server start
@McFlink McFlink self-assigned this Jan 20, 2025
@McFlink McFlink linked an issue Jan 20, 2025 that may be closed by this pull request
Copy link
Collaborator

@noakwollsater noakwollsater left a comment

Choose a reason for hiding this comment

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

Looks good.

@noakwollsater noakwollsater merged commit e0bedb3 into dev Jan 20, 2025
1 check passed
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 User Dashboard

2 participants