nextcloud / nextcloud/calendar

Appointment booking date picker should respect availability

Open
#3,787 5 comments 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement Feature: Appointments
Dominant language
JavaScript
Stars
1.2k
Forks
332
Avg merge
16h 13m
Merged PRs (30d)
137

Description

Is your feature request related to a problem? Please describe.

As a user I typically configure my appointments Mo-Fr at my working hours, or even more restricted. When someone opens the booking page they are only able to pick dates in the future and past the minimum time before the next slot. However, days that are not available in general are also selectable. The more restrictive my availability, the more prominent that problem becomes. E.g. if I only put my appointment as available on a Wednesday, Thu-Tue "look" available to the booking person.

Describe the solution you'd like

Disable fully unavailable days from the booking date picker.

Describe alternatives you've considered

N/a

Additional context

We have to factor in time zones for this. E.g. first determine what day of the week the local time stamp will be for the organizer, then translated this into day for the booking person and exclude those days.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start at the appointment booking page and its date picker, then trace how organizer availability and booking-person time zones are evaluated. Confirm the change by checking that fully unavailable weekdays cannot be selected while valid days remain selectable.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, web-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
50/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.