feat: round robin handover to specific host (#17215)

* frontend dialog

* handler + fe calling handler

* reafctors + start work on fix hosts tests

* restore rr

* update tests + fixing types

* use a getRRHostsToReasign handler + error handle + i18n

* typefixes

* assert type

* fix: adds missing translation

* Update roundRobinManualReassignment.ts

* Update roundRobinManualReassignment.ts

* Update apps/web/components/dialog/ReassignDialog.tsx

Co-authored-by: Carina Wollendorfer <[email protected]>

* Update roundRobinManualReassignment.ts

---------

Co-authored-by: Udit Takkar <[email protected]>
Co-authored-by: zomars <[email protected]>
Co-authored-by: Carina Wollendorfer <[email protected]>
This commit is contained in:
authored and GitHub committed 2024-10-21 19:52:09 -07:00
1 parent 93e93a9c7a
commit 6df994389b
13 files changed
+1104 -79

No files matched your search

@@ -2673,6 +2673,11 @@
"choose_hosts_schedule": "Choose host schedules",
"hosts_schedule_description": "You can select a different schedule for each host. Each host's default schedule is chosen by default.",
"no_hosts_description": "No hosts assigned, add hosts in assignment tab.",
"team_member_round_robin_reassign": "Manually reassign round robin host",
"team_member_round_robin_reassign_description": "Manually reassign round robin host to another available host",
"round_robin_reassign_description": "Reassign round robin host to another available host",
"invalid_round_robin_host": "New user is not a valid round-robin host for this event type",
"user_is_round_robin_fixed": "New user is a fixed host for this event type",
"reschedule_with_same_timeslot": "Reschedule with same timeslot",
"reschedule_with_same_timeslot_of_new_event": "Reschedule with same timeslot of the new event",
"reschedule_to_the_new_event_with_different_timeslot": "Reschedule to the new event with different timeslot",
@@ -2680,4 +2685,4 @@
"we_dont_have_id_for_the_new_event": "We don't have ID for the new event. Please go to the Routing Form and save it again.",
"rerouted_booking_successfully_redirecting_to_booking_page": "Rerouted booking successfully. Redirecting to booking page",
"ADD_NEW_STRINGS_ABOVE_THIS_LINE_TO_PREVENT_MERGE_CONFLICTS": "↑↑↑↑↑↑↑↑↑↑↑↑↑ Add your new strings above here ↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑↑"
}
}