Skip to content

Absence reasons list in settings, pick-or-type reason field - #246

Merged
buzz-code merged 1 commit into
mainfrom
claude/project-thread-xkddr4
Oct 28, 2026
Merged

buzz-code merged 1 commit into
mainfrom
claude/project-thread-xkddr4

Conversation

@buzz-code

Copy link
Copy Markdown
Owner

Requested by הדסה · project thread

What

  • New "סיבות חיסור" list (additionalData.absenceReasons) in general settings.
  • New AbsenceReasonInput (react-admin) / AbsenceReasonAutocomplete (plain MUI): free-solo autocomplete that suggests the settings reasons and still accepts any text.
  • Used for the approved-absence reason field in create/edit, bulk edit, "אישור ימים מלאים" dialog, and approved absences upload config.
  • Same reason text column, so there's no server change or migration, and reports, exports and filters stay unchanged.
  • Roadmap entry + unit tests.

absence_type (permission-gated, quotas) is untouched. It's a separate concept.

Testing

  • cd client && yarn test: 43 suites, 255 tests pass
  • vite build ok

Not tracked in buzz-code/ops because that repo wasn't accessible from this session.


Generated by Claude Code

…on input

Add an "absenceReasons" list to general settings. The approved-absence
reason field (create/edit form, bulk edit, approve full days dialog and
approved absences upload) now suggests these reasons and still accepts
free text, saving plain text to the same reason column.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012GTicuB3vnugkvhCLrFfXT
@buzz-code buzz-code self-assigned this Oct 28, 2026
@buzz-code
buzz-code merged commit 1a44670 into main Oct 28, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants