Skip to content

[MWPW-195675] : Add clone event flow with Marketo integration dialogs#190

Open
sharmeebuilds wants to merge 7 commits into
devfrom
MWPW-195675
Open

[MWPW-195675] : Add clone event flow with Marketo integration dialogs#190
sharmeebuilds wants to merge 7 commits into
devfrom
MWPW-195675

Conversation

@sharmeebuilds

@sharmeebuilds sharmeebuilds commented Jun 18, 2026

Copy link
Copy Markdown
Collaborator

Summary

  • Extracts all clone logic from EventsDashboard into a dedicated CloneEvent component
  • Single dialog with step-based content (no stacking modals) — steps through name entry, then conditional Marketo flow based on event type/cloud
  • DX in-person (ExperienceCloud + InPerson): prompts "Do you need Marketo integration?" → optional Marketo config form (5 fields)
  • ExperienceCloud webinar: prompts for Marketo form URL/ID
  • CreativeCloud events (any type): clone directly after name entry
  • Validates event name against existing names with inline error state
  • Disables all buttons during pending API call to prevent duplicate submissions
  • Deduplicates Marketo option constants by exporting from MarketoIntegrationComponent
  • Uses S2 style() macro font token for headings; small muted dialog title
image image image image

Test plan

  • Clone a DX in-person (ExperienceCloud) event — verify Marketo prompt appears, Yes shows config form, No clones without Marketo
  • Clone an ExperienceCloud webinar — verify Marketo ID dialog appears
  • Clone a CreativeCloud event (any type) — verify clones directly after name entry
  • Enter a duplicate event name — verify "This name is already taken" error and Continue is disabled
  • Click No on Marketo prompt — verify button shows spinner and all buttons disable
  • Lint + type-check pass (npm run check)

🤖 Generated with Claude Code

sharmeebuilds and others added 4 commits June 16, 2026 11:36
Extracts clone logic from EventsDashboard into a dedicated CloneEvent
component with a single dialog that steps through name entry and
conditional Marketo configuration based on event type and cloud.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…nent

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Fix eventType casing using EVENT_TYPES constants (InPerson/Webinar)
- Reset step and pre-fill title when item changes via useEffect
- Single dialog with step-based content (no stacking modals)
- Validate event name against existing names with inline error state
- Disable all buttons during pending clone to prevent duplicates
- Use S2 style macro font token for headings; small muted dialog title
- Stretch Marketo config fields to full width with flex: 1

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sharmeebuilds sharmeebuilds changed the title Add clone event flow with Marketo integration dialogs [MWPW-195675] : Add clone event flow with Marketo integration dialogs Jun 18, 2026
@sharmeebuilds sharmeebuilds added this to the T3-26.26 milestone Jun 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants