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

Implement Date Availability Check for Appointment Bookings in Medica App #218

Merged
merged 1 commit into from
Jul 17, 2024

Conversation

23nosurrend
Copy link
Collaborator

Pull Request: Prevent Booking on Already Reserved Dates in Medica App

Summary

This pull request introduces a feature in the Medica app that prevents users from selecting appointment dates that have already been booked by other patients. This ensures that users can only book available dates, improving the booking process's efficiency and user experience.

Changes

Date Availability Check

  • Implemented a mechanism to check the availability of appointment dates.

  • Added functionality to disable selection of already booked dates.

  • Integrated with the backend to fetch and verify booked dates in real-time.

Date Picker Component

  • Enhanced the date picker to display booked dates as disabled.

Sorry, something went wrong.

@23nosurrend 23nosurrend added the Need Review Requires reviews label Jul 16, 2024
@23nosurrend 23nosurrend self-assigned this Jul 16, 2024
@23nosurrend 23nosurrend linked an issue Jul 16, 2024 that may be closed by this pull request
@codecov-commenter
Copy link

codecov-commenter commented Jul 16, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 72.22%. Comparing base (7634e1c) to head (ce40bcd).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop     #218   +/-   ##
========================================
  Coverage    72.22%   72.22%           
========================================
  Files            3        3           
  Lines           18       18           
  Branches         3        3           
========================================
  Hits            13       13           
  Misses           5        5           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@23nosurrend 23nosurrend force-pushed the ft-refine-DatePicker branch from 2e2a689 to cc263ad Compare July 16, 2024 14:20
@23nosurrend 23nosurrend requested a review from aimeudoxie July 16, 2024 14:20
@23nosurrend 23nosurrend force-pushed the ft-refine-DatePicker branch from cc263ad to ce40bcd Compare July 16, 2024 14:46
Copy link
Contributor

@munezeromicha munezeromicha left a comment

Choose a reason for hiding this comment

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

Good Job!

Copy link
Contributor

@Irirwanirira Irirwanirira left a comment

Choose a reason for hiding this comment

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

Good job on refining the scheduling appointment process.

@Nkbtemmy Nkbtemmy merged commit 2832cb3 into develop Jul 17, 2024
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Need Review Requires reviews
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Refactor: Date picker while booking appointment
5 participants