Skip to content

Prefill "Working days" based on availability and public holidays#2

Merged
karlitschek merged 1 commit into
mainfrom
feat/absence-workingdays-prefill
Jul 15, 2026
Merged

Prefill "Working days" based on availability and public holidays#2
karlitschek merged 1 commit into
mainfrom
feat/absence-workingdays-prefill

Conversation

@jancborchardt

Copy link
Copy Markdown
Member

"Working days" are prefilled

  • Based on days of the week the person is working as well as public holidays (see below for logic)
  • Can be overridden manually
Screenshot From 2026-07-14 19-41-32

Extra settings added

Yes I know. ;) But in this case it had to be done because autodetecting helps a lot but maybe needs to be adjusted (and if so, usually only a single time).

Working days

  • Tries to get those from "Availability" if specific days are set
  • Uses Mon–Fri as reasonable default otherwise
  • In case "Availability" is not set, people are also prompted to add it as it is useful in general
  • Can be overridden manually

Public holidays

  • Gets holidays based on location. date-holidays is lazy-loaded, so the main bundle is unchanged, and the holiday data is a separate chunk loaded only when needed.
  • Country is inferred from profile (if set) or phone number (if set)
  • Can be overridden manually and/or specified in detail, like for German states
Screenshot From 2026-07-14 20-21-16

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI

Assisted-by: ClaudeCode:claude-opus-4-8
Signed-off-by: Jan C. Borchardt <925062+jancborchardt@users.noreply.github.com>
@jancborchardt jancborchardt self-assigned this Jul 14, 2026
@jancborchardt jancborchardt added 3. to review Waiting for reviews enhancement New feature request papercut Annoying recurring issue with possibly simple fix labels Jul 14, 2026
@jancborchardt jancborchardt moved this to 🏗️ At engineering in 🖍 Design team Jul 14, 2026
@jancborchardt jancborchardt added the design Related to design, interface, interaction design, UX, etc. label Jul 14, 2026
@karlitschek
karlitschek merged commit 949450e into main Jul 15, 2026
1 check passed
@github-project-automation github-project-automation Bot moved this from 🏗️ At engineering to 🎉 Done in 🖍 Design team Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review Waiting for reviews design Related to design, interface, interaction design, UX, etc. enhancement New feature request papercut Annoying recurring issue with possibly simple fix

Projects

Status: 🎉 Done

Development

Successfully merging this pull request may close these issues.

2 participants