cal.pub0.org/packages/core
Joe Au-Yeung a5b5382306
fix: seats regression [CAL-2041]
## What does this PR do?

<!-- Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change. -->

- Passes the proper seats data in the new booker component between states and to the backend

Fixes #9779
Fixes #9749
Fixes #7967 
Fixes #9942 

<!-- Please provide a loom video for visual changes to speed up reviews
 Loom Video: https://www.loom.com/
-->

## Type of change

<!-- Please delete bullets that are not relevant. -->

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

## How should this be tested?

<!-- Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration -->

**As the organizer** 
- Create a seated event type
- Book at least 2 seats
- Reschedule the booking
    - All attendees should be moved to the new booking
- Cancel the booking
    - The event should be cancelled for all attendees

**As an attendee**
- [x] Book a seated event
- [x] Reschedule that booking to an empty slot
    - [x] The attendee should be moved to that new slot
- [x] Reschedule onto a booking with occupied seats
    - [x] The attendees should be merged
- [x] On that slot reschedule all attendees to a new slot
    - [x] The former booking should be deleted
- [x] As the attendee cancel the booking
    - [x] Only that attendee should be removed 

## Mandatory Tasks

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

## Checklist

<!-- Please remove all the irrelevant bullets to your PR -->
2023-07-11 20:41:08 +05:30
..
builders/CalendarEvent Fix - add team members to emails (#7207) 2023-02-27 13:45:40 -07:00
components Wrap useSuspense with NoSSR (#8079) 2023-04-11 21:49:27 +05:30
CalendarManager.test.ts chore: Added unit tests for CalendarManager->getCalendarCredentials (#9618) 2023-06-19 16:10:06 +02:00
CalendarManager.ts chore: Removing the calendar-cache because of perf issues (#9808) 2023-06-27 00:32:05 +02:00
EventManager.ts fix: Credential of type video wrong id on bookingReference (#9281) 2023-07-06 21:39:33 +00:00
event.ts fix: add older variables to whitelist (#8095) 2023-04-05 10:35:32 +02:00
getAggregateWorkingHours.ts feat: date range overhaul (#9802) 2023-07-05 09:47:41 -07:00
getAggregatedAvailability.ts feat: date range overhaul (#9802) 2023-07-05 09:47:41 -07:00
getBusyTimes.ts fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
getCalendarsEvents.ts perf: Avoid useless dependencies in calendar cache page (#9290) 2023-06-06 18:30:29 +00:00
getUserAvailability.ts fix: seats regression [CAL-2041] 2023-07-11 20:41:08 +05:30
index.ts Availabilty consolitadion (#3010) 2022-06-10 12:38:46 -06:00
location.ts Fixes/locations (#2383) 2022-04-05 18:03:22 +00:00
package.json Update all Yarn dependencies (2022-07-29) (#3599) 2022-08-17 11:38:21 -06:00
tsconfig.json Prevent flatMap type errors in @calcom/core 2022-06-08 12:04:42 -06:00
videoClient.ts fix: Credential of type video wrong id on bookingReference (#9281) 2023-07-06 21:39:33 +00:00