Skip to content

fix: Booking Page crash with prefilling guests#9566

Merged
emrysal merged 2 commits intomainfrom
fix/new-booker-crash-with-guests-prefill
Jun 16, 2023
Merged

fix: Booking Page crash with prefilling guests#9566
emrysal merged 2 commits intomainfrom
fix/new-booker-crash-with-guests-prefill

Conversation

@hariombalhara
Copy link
Copy Markdown
Member

@hariombalhara hariombalhara commented Jun 16, 2023

What does this PR do?

Fixes new booker crash when guests are prefilled.

This PR borrows the code from https://github.com/calcom/cal.com/pull/8671/files?diff=unified#r1185081708(a low priority PR which had this fix)

Before:
https://www.loom.com/share/6a223160687c4f52a2c16a1a6e5342af

After:
https://www.loom.com/share/0e362bac6d044b5ba74653975155ce95?from_recorder=1&focus_title=1

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

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

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 16, 2023

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

Name Status Preview Comments Updated (UTC)
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 0:32am
cal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 0:32am
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 0:32am
web-staging ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 16, 2023 0:32am

@hariombalhara hariombalhara force-pushed the fix/new-booker-crash-with-guests-prefill branch from df9da50 to f806bba Compare June 16, 2023 12:14
Comment thread packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx Outdated
@hariombalhara hariombalhara changed the title Fix Booking Page crash with prefilling guests fix: Booking Page crash with prefilling guests Jun 16, 2023
@github-actions
Copy link
Copy Markdown
Contributor

📦 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! 🙌

@deploysentinel
Copy link
Copy Markdown

Current Playwright Test Results Summary

✅ 98 Passing - ⚠️ 1 Flaky

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

(Last updated on 06/16/2023 12:25:37pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: cc3061b

Started: 06/16/2023 12:23:18pm 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 login flow user & logout using dashboard
Retry 2Retry 1Initial Attempt
5.54% (15) 15 / 271 runs
failed over last 7 days
28.41% (77) 77 / 271 runs
flaked over last 7 days

View Detailed Build Results


@emrysal emrysal merged commit 1343c8f into main Jun 16, 2023
@emrysal emrysal deleted the fix/new-booker-crash-with-guests-prefill branch June 16, 2023 13:03
iamr-kumar pushed a commit to iamr-kumar/cal.com that referenced this pull request Jun 18, 2023
* Fix Booking Page crash with prefilling guests

* Update packages/features/bookings/Booker/components/BookEventForm/BookEventForm.tsx
@PeerRich PeerRich added the core area: core, team members only label Jul 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants