Hide other attendees on event types with seats (#4766)

* Add seatsHideAttendees to schema

* Add migration

* Add frontend option to hide attendees

* Pass hide attendees to email

* Hide attendee names on success email

* Add types for existing attendees

* Hide other attendees if hidden

* Pass seatsHideAttendees to Google Cal

* Add translation

* Reduce redundancy

* Fix type error

* Change toggle to show attendee information

* Minor text change

* Fix type errors

* Update snapshots

* Merge branch 'main' into seats-hide-attendees

* Add back email

* Add close.com specific types

* Add eslint ignore comments

* Merge branch 'seats-hide-attendees' of https://github.com/calcom/cal.com into seats-hide-attendees

* Simplify tests

Co-authored-by: Peer Richelsen <[email protected]>
Co-authored-by: Alex van Andel <[email protected]>
This commit is contained in:
authored and GitHub committed 2022-10-18 13:41:50 -06:00
1 parent 7f2560e1e3
commit 8fc4d342fd
18 files changed
+125 -30

No files matched your search

+4 -1
View File
@@ -22,7 +22,9 @@ export type Person = {
timeZone: string;
language: { translate: TFunction; locale: string };
username?: string;
id?: string;
id?: number;
bookingId?: number;
locale?: string;
};
export type EventBusyDate = {
@@ -141,6 +143,7 @@ export interface CalendarEvent {
recurrence?: string;
recurringEvent?: RecurringEvent | null;
eventTypeId?: number | null;
seatsShowAttendees?: boolean | null;
}
export interface EntryPoint {