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

Add a way to create slots for only the weekdays and include front-end validation on the slot creation form. #3610

Open
3 tasks
AnirudhAP2k opened this issue Apr 29, 2024 · 0 comments
Assignees

Comments

@AnirudhAP2k
Copy link
Contributor

AnirudhAP2k commented Apr 29, 2024

Problem statement

Currently, there are two major issues during slot creation.

  • Firstly, when a user creates a slot and selects daily as the slot recurrence, slots are added to all days of the week, including weekends. However, there is currently no facility available for including slots only on weekdays.
  • Second, if the user selects the recurrence of the slots for any option and does not put a date limit to it, the form is still getting submitted. Thus, there is no front-end validation for setting date limit.

Proposed Solution

  • We will first need to figure out the current working of the slot creation system.
  • Then we can add a new option in the recurrence dropdown with the term only weekdays, which will add slots only to the weekdays.
  • For the validation part, we can use the conditional statement to verify the value should not be a null value. If the value is null, the system will trigger an alert message and prevents the form submission.

To facilitate the solution, the following steps will be required:

  • Understanding and research on current working of the slot creation system.
  • Implementing the solutions and adding the new option and front-end validation to the form.
  • Self-testing as well as deploy in UAT environment.
@AnirudhAP2k AnirudhAP2k changed the title Adding a new ability for user to create slots for only the weekdays and adding the front-end validation on the Date limit in the slot creation form. Add a way to create slots for only the weekdays and include front-end validation on the slot creation form. Apr 29, 2024
@AnirudhAP2k AnirudhAP2k self-assigned this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant