feat(event-types): implement duplication to teams and workflows#28054
Open
AritraDey-Dev wants to merge 4 commits intocalcom:mainfrom
Open
feat(event-types): implement duplication to teams and workflows#28054AritraDey-Dev wants to merge 4 commits intocalcom:mainfrom
AritraDey-Dev wants to merge 4 commits intocalcom:mainfrom
Conversation
Contributor
There was a problem hiding this comment.
2 issues found across 10 files
Prompt for AI agents (all issues)
Check if these issues are valid — if so, understand the root cause of each and fix them. If appropriate, use sub-agents to investigate and fix each issue separately.
<file name="apps/web/modules/ee/workflows/components/WorkflowListPage.tsx">
<violation number="1" location="apps/web/modules/ee/workflows/components/WorkflowListPage.tsx:289">
P2: The new duplicate action is added to the mobile dropdown, but the dropdown is still hidden for read‑only workflows. Desktop always allows duplicate, so mobile users can’t access the new feature on read‑only items.</violation>
</file>
<file name="apps/web/modules/event-types/components/DuplicateDialog.tsx">
<violation number="1" location="apps/web/modules/event-types/components/DuplicateDialog.tsx:63">
P3: Selecting the "Personal" duplicate target previews a team slug because the Personal option’s slug is set to pageSlug, which is populated from the current group’s (team) profile slug. The URL preview should use the authenticated user’s personal slug when targetTeamId is null.</violation>
</file>
Reply with feedback, questions, or to request a fix. Tag @cubic-dev-ai to re-run a review.
…loning Signed-off-by: Aritra Dey <adey01027@gmail.com>
43d1af1 to
14c86ca
Compare
Signed-off-by: Aritra Dey <adey01027@gmail.com>
Signed-off-by: Aritra Dey <adey01027@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Visual Demo (For contributors especially)
event type duplication feature:
Screencast.from.2026-02-19.00-31-12.webm
Workflows duplication feature:
Screencast.from.2026-02-19.00-42-24.webm
Image Demo (if applicable):
Mandatory Tasks (DO NOT REMOVE)
How should this be tested?
Summary by cubic
Adds cross-context duplication for event types and workflows with deep cloning and a team/personal destination selector. Aligns with CAL-5803.
New Features
Migration
Written for commit 09bcbbe. Summary will update on new commits.