cal.pub0.org/packages/features/ee/teams/components
Udit Takkar f755312ed7
feat: Make Team Private
## What does this PR do?

Fixes https://github.com/calcom/cal.com/issues/8974

1) When user is admin

<img width="1440" alt="Screenshot 2023-07-03 at 6 45 50 PM" src="https://github.com/calcom/cal.com/assets/53316345/ce15158f-d278-4f1a-ba2e-8b63e4274793">

2) When user is not admin and team is private

<img width="1440" alt="Screenshot 2023-07-03 at 6 47 15 PM" src="https://github.com/calcom/cal.com/assets/53316345/ce23560e-690a-4c42-a76d-49691260aa4d">

3) 
<img width="1440" alt="Screenshot 2023-07-03 at 6 51 56 PM" src="https://github.com/calcom/cal.com/assets/53316345/13af38f8-5618-4dae-b359-b24dc91e4eb4">


## Type of change

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

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

## How should this be tested?

1) go to Team members page and turn on switch Make Team Private.

Now after making the team private only admin would be able to see all the members list in the settings. There will not be a button to Book a team member instead on the team page like before.


## Mandatory Tasks

- [ ] Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.
2023-07-06 11:55:12 +02:00
..
AddNewTeamMembers.tsx feat: Fix invite bug - added tests (#9945) 2023-07-06 15:03:31 +05:30
CreateANewTeamForm.tsx fix: Creating team and preview URL fixes [CAL-1997] [CAL-1998] (#9648) 2023-07-03 08:06:12 +00:00
DisableTeamImpersonation.tsx Feat/tokens + darkmode + theme support (#7876) 2023-04-05 18:14:46 +00:00
GoogleWorkspaceInviteButton.tsx [Feat] Bulk Invite of Users + Google Workspace (#8969) 2023-05-24 01:01:31 +00:00
InviteLinkSettingsModal.tsx feat: Add divider and set spacing on modals with the type=creation prop (feat-add-divider) 2023-06-29 08:47:16 +01:00
MakeTeamPrivateSwitch.tsx feat: Make Team Private 2023-07-06 11:55:12 +02:00
MemberChangeRoleModal.tsx feat: Add divider and set spacing on modals with the type=creation prop (feat-add-divider) 2023-06-29 08:47:16 +01:00
MemberInvitationModal.tsx feat: Fix invite bug - added tests (#9945) 2023-07-06 15:03:31 +05:30
MemberListItem.tsx feat: Add divider and set spacing on modals with the type=creation prop (feat-add-divider) 2023-06-29 08:47:16 +01:00
SkeletonLoaderAvailabilityTimes.tsx perf: reduce bundle size (#8337) 2023-04-19 19:45:08 +05:30
SkeletonloaderTeamList.tsx chore: Sync packages mismatches (#9725) 2023-06-22 15:25:37 -07:00
TeamAvailabilityModal.tsx chore: Sync packages mismatches (#9725) 2023-06-22 15:25:37 -07:00
TeamAvailabilityTimes.tsx Add feature to offset start times for event types (#8506) 2023-05-17 11:56:55 +00:00
TeamInviteList.tsx feat: Org settings - profile,appearance, child teams, create new child (#9231) 2023-06-15 10:27:39 -07:00
TeamInviteListItem.tsx feat: Org settings - profile,appearance, child teams, create new child (#9231) 2023-06-15 10:27:39 -07:00
TeamList.tsx chore: small changes to dropdown & main sidebar (#9719) 2023-07-02 10:12:50 +00:00
TeamListItem.tsx feat: Fix invite bug - added tests (#9945) 2023-07-06 15:03:31 +05:30
TeamPill.tsx add an enum generator, stop importing from @prisma/client (#8548) 2023-05-02 13:44:05 +02:00
TeamsListing.tsx feat: Add copy invite link (#8355) 2023-06-06 23:34:14 +00:00
TeamsUpgradeBanner.tsx fix: [CAL-1959] Removed duplicate value warnings on starting dev server(#1959) (#9596) 2023-06-30 04:06:01 +00:00
index.ts Adds team upgrade banner (#5541) 2022-11-16 21:07:20 +00:00