feat: add duplicate functionality for managed event types (#26792)

* feat: add duplicate functionality for managed event types

Co-Authored-By: [email protected] <[email protected]>

* feat: add disclaimer and redirect for managed event type duplication

- Add info alert disclaimer in duplicate modal for managed event types
- Pass schedulingType to duplicate dialog via query params
- Redirect to assignment tab after duplicating managed event types
- Add translation key for managed event type duplicate disclaimer

Co-Authored-By: [email protected] <[email protected]>

* test: add tests for managed event type duplication

Co-Authored-By: [email protected] <[email protected]>

* refactor: replace PrismaMock unit test with Prisma integration test for duplicate handler (#27973)

* refactor: replace PrismaMock unit test with Prisma integration test for duplicate handler

Co-Authored-By: [email protected] <[email protected]>

* fix: re-throw TRPCErrors in duplicate handler catch block and assert specific error codes in tests

Co-Authored-By: [email protected] <[email protected]>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>

---------

Co-authored-by: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
Co-authored-by: Hariom Balhara <[email protected]>
Co-authored-by: Syed Ali Shahbaz <[email protected]>
This commit is contained in:
authored and GitHub committed 2026-02-18 16:49:23 +04:00
1 parent 8908a66c23
commit eef47ddefd
5 files changed
+322 -24

No files matched your search

@@ -228,6 +228,7 @@
"time_left": "Time left",
"event_type": "Event type",
"duplicate_event_type": "Duplicate event type",
"managed_event_type_duplicate_disclaimer": "User assignments are not copied when duplicating a managed event type. You will need to add team members manually after duplication.",
"enter_meeting": "Enter meeting",
"video_call_provider": "Video call provider",
"meeting_id": "Meeting ID",