feat: round robin reset interval for teams (#19441)

* add component to set interval

* fix variable namings

* fetch data for given interval

* migration

* fix type errors in test

* test correct filtering for interval

* fix start end end times to interval

* fix type error

* pass rrResetInterval to getOrderedListOfLuckyUsers

* fix imports

* add translations

* add missing translation

* code clean up

* fix type errors

* fix type error

* fix import

* add translation

---------

Co-authored-by: CarinaWolli <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2025-03-10 17:34:47 +00:00
1 parent 1e86f1046b
commit 6758654796
17 files changed
+357 -98

No files matched your search

@@ -2988,6 +2988,10 @@
"desc": "Desc",
"verify_email": "Verify email",
"verify_email_change": "Verify email change",
"rr_reset_interval": "Round Robin Reset Interval",
"interval": "Interval",
"rr_reset_interval_description": "Determines how often the round robin booking count resets to ensure balanced distribution.",
"daily": "Daily",
"end_date_not_selected": "You didn't set an end date for your OOO",
"my_ooo": "My OOO",
"team_ooo": "Team OOO",
@@ -3001,6 +3005,7 @@
"ooo_team_redirect_infinite_not_allowed": "There is already a reverse forwarding between these users.",
"previous_ooo_empty_title": "No previous OOO found",
"previous": "Previous",
"rr_interval_successfully_updated":"Round Robin interval successfully updated",
"trial_mode": "Trial mode",
"inactive_team_plan": "Inactive team plan",
"inactive_team_plan_description": "Your team plan is inactive. Check your subcription or reach out to customer support",