Commit 5ed0fda
feat(calendar): wire custom repeat meta through to backend
Frontend:
- Store CalendarRepeatMeta from custom modal (was silently discarded)
- Map custom kind back to standard RepeatType (Day/Week/Month/Year)
- Send repeatEvery from meta.n (was hardcoded to 1)
- Include repeatEndMode, repeatOccurrences, repeatUntilDate in payload
Backend:
- CalendarTaskCreateRequestModel: add RepeatEndMode, RepeatOccurrences,
RepeatUntilDate fields
- CreateTask: write end mode fields to AreaRulePlanning after creation
- GetTasksForWeek: filter occurrences by RepeatEndMode — stop after N
occurrences (mode 1) or past until-date (mode 2)
- CalendarTaskResponseModel: add EformId + ItemPlanningTagId (missing
from host app copy)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 5992bd5 commit 5ed0fda
File tree
4 files changed
+1281
-4
lines changed- eFormAPI/Plugins/BackendConfiguration.Pn/BackendConfiguration.Pn
- Infrastructure/Models/Calendar
- Services/BackendConfigurationCalendarService
- eform-client/src/app/plugins/modules/backend-configuration-pn/modules/calendar/modals/task-create-edit-modal
4 files changed
+1281
-4
lines changedLines changed: 28 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
Lines changed: 30 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
0 commit comments