nextcloud / nextcloud/calendar
Appointments: grey out date when no time slots
Nobody has claimed this yet.
- 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.
When a specific day does not have time slots, e.g. Saturday and Sunday in this case:
... the day is still clickable in the date picker:
... but no time slots can be chosen:
Describe the solution you'd like
I believe that from a UX standpoint, it would be better to simply grey out the dates in the date picker, as is done with past dates:
With the current behaviour, the user will have to mentally process why no time slots are available for the chosen date. Which is not the case when the date cannot be picked at all.
Describe alternatives you've considered
No response
Additional context
No response
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the appointment flow in the date picker, comparing dates with no available time slots to past dates that are already disabled. Trace how date availability and time-slot results are determined; done means dates without slots are greyed out and cannot be selected, matching the requested UX.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100