Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: In Embed, Fire 'routed' event when Routing Form routes #14470

Merged
merged 2 commits into from Apr 11, 2024

Conversation

hariombalhara
Copy link
Member

@hariombalhara hariombalhara commented Apr 9, 2024

What does this PR do?

Fixes #14469
Loom Demo

This is how one can listen to the event.
https://github.com/calcom/cal.com/blob/04-09-add_routed_event/packages/embeds/embed-core/playground.ts#L374

If no, namespace is being used. The API simply becomes Cal('on')

Type of change

  • New feature (non-breaking change which adds functionality)

How should this be tested?

See Loom

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Checklist

  • I haven't added tests that prove my fix is effective or that my feature works

Copy link

vercel bot commented Apr 9, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 10, 2024 9:34pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Apr 10, 2024 9:34pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Apr 10, 2024 9:34pm
qa ⬜️ Ignored (Inspect) Visit Preview Apr 10, 2024 9:34pm

Copy link
Contributor

github-actions bot commented Apr 9, 2024

Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link.

@keithwillcode keithwillcode added consumer core area: core, team members only labels Apr 9, 2024
Copy link
Member Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @hariombalhara and the rest of your teammates on Graphite Graphite

@hariombalhara hariombalhara requested review from PeerRich and a team April 9, 2024 08:37
@hariombalhara hariombalhara changed the title Add 'routed' event feat: Fire 'routed' event when Routing Form routes Apr 9, 2024
@hariombalhara hariombalhara changed the title feat: Fire 'routed' event when Routing Form routes feat: In Embed, Fire 'routed' event when Routing Form routes Apr 9, 2024
@hariombalhara hariombalhara marked this pull request as ready for review April 9, 2024 08:40
@dosubot dosubot bot added embed area: embed, widget, react embed routing-forms area: routing forms, routing, forms ✨ feature New feature or request labels Apr 9, 2024
Copy link

deploysentinel bot commented Apr 9, 2024

Current Playwright Test Results Summary

✅ 48 Passing - ⚠️ 1 Flaky

Run may still be in progress, this comment will be updated as current testing workflow or job completes...

(Last updated on 04/11/2024 03:38:30am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: b640e45

Started: 04/11/2024 03:35:15am UTC

⚠️ Flakes

📄   apps/web/playwright/login.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
user can login & logout succesfully -- future login flow user & logout using dashboard
Retry 1Initial Attempt
5.57% (16) 16 / 287 runs
failed over last 7 days
23.69% (68) 68 / 287 runs
flaked over last 7 days

View Detailed Build Results


Copy link
Contributor

github-actions bot commented Apr 9, 2024

📦 Next.js Bundle Analysis for @calcom/web

This analysis was generated by the Next.js Bundle Analysis action. 🤖

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link
Member

@sean-brydon sean-brydon left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested - can confirm the routing form fires in playground

@dosubot dosubot bot removed this from the v4.1 milestone Apr 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consumer core area: core, team members only embed area: embed, widget, react embed ✨ feature New feature or request routing-forms area: routing forms, routing, forms
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-3375] Add routedevent for when Routing form routes to an event
4 participants