Skip to content

feat: new privacy settings for orgs#13693

Merged
CarinaWolli merged 20 commits into
mainfrom
13691-cal-3143-privacy-tab-for-orgs
Mar 12, 2024
Merged

feat: new privacy settings for orgs#13693
CarinaWolli merged 20 commits into
mainfrom
13691-cal-3143-privacy-tab-for-orgs

Conversation

@PeerRich
Copy link
Copy Markdown
Member

CleanShot 2024-02-14 at 19 00 55@2x

@PeerRich PeerRich linked an issue Feb 14, 2024 that may be closed by this pull request
@linear
Copy link
Copy Markdown

linear Bot commented Feb 14, 2024

@github-actions github-actions Bot added enterprise area: enterprise, audit log, organisation, SAML, SSO ✨ feature New feature or request 🎨 needs design Before engineering kick-off, a designer needs to submit a mockup labels Feb 14, 2024
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 14, 2024

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

@keithwillcode keithwillcode added the core area: core, team members only label Feb 14, 2024
@vercel
Copy link
Copy Markdown

vercel Bot commented Feb 14, 2024

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

Name Status Preview Comments Updated (UTC)
cal 🛑 Canceled (Inspect) Mar 12, 2024 4:21pm
3 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2024 4:21pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2024 4:21pm
qa ⬜️ Ignored (Inspect) Visit Preview Mar 12, 2024 4:21pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Feb 14, 2024

📦 Next.js Bundle Analysis for @calcom/web

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

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/settings/organizations/privacy 270.66 KB 459.06 KB 131.16%

One Page Changed Size

The following page changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load % of Budget (350 KB)
/settings/organizations/members 433.98 KB 622.37 KB 177.82% (🟢 -1.31%)
Details

Only the gzipped size is provided here based on an expert tip.

First Load is the size of the global bundle plus the bundle for the individual page. If a user were to show up to your website and land on a given page, the first load size represents the amount of javascript that user would need to download. If next/link is used, subsequent page loads would only need to download that page's bundle (the number in the "Size" column), since the global bundle has already been downloaded.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 20% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.

@deploysentinel
Copy link
Copy Markdown

deploysentinel Bot commented Feb 14, 2024

Current Playwright Test Results Summary

✅ 311 Passing - ⚠️ 12 Flaky

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

(Last updated on 03/12/2024 03:55:35pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: c309bc5

Started: 03/12/2024 03:51:22pm 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
0.95% (2) 2 / 211 runs
failed over last 7 days
26.07% (55) 55 / 211 runs
flaked over last 7 days

📄   apps/web/playwright/event-types.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Event Types tests -- future user Different Locations Tests can add Attendee Phone Number location and book with it
Retry 1Initial Attempt
4.42% (10) 10 / 226 runs
failed over last 7 days
3.98% (9) 9 / 226 runs
flaked over last 7 days

📄   packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 8 Flakes

Top 1 Common Error Messages

null

8 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests should open embed iframe on click - Configured with light theme
Retry 1Initial Attempt
5.29% (12) 12 / 227 runs
failed over last 7 days
44.05% (100) 100 / 227 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-86.96% (-100) -100 / 115 runs
failed over last 7 days
86.96% (100) 100 / 115 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-86.09% (-99) -99 / 115 runs
failed over last 7 days
86.09% (99) 99 / 115 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when no theme is configured through Embed API
Retry 1Initial Attempt
-86.09% (-99) -99 / 115 runs
failed over last 7 days
86.09% (99) 99 / 115 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe according to system theme when configured with 'auto' theme using Embed API
Retry 1Initial Attempt
-86.09% (-99) -99 / 115 runs
failed over last 7 days
86.09% (99) 99 / 115 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Booker Profile Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-86.09% (-99) -99 / 115 runs
failed over last 7 days
86.09% (99) 99 / 115 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-86.09% (-99) -99 / 115 runs
failed over last 7 days
86.09% (99) 99 / 115 runs
flaked over last 7 days
Popup Tests Floating Button Popup Pro User - Configured in App with default setting of system theme should open embed iframe(Event Booking Page) with dark theme when configured with dark theme using Embed API
Retry 1Initial Attempt
-86.09% (-99) -99 / 115 runs
failed over last 7 days
86.09% (99) 99 / 115 runs
flaked over last 7 days

📄   apps/web/playwright/integrations-stripe.e2e.ts • 2 Flakes

Top 1 Common Error Messages

null

2 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Stripe integration Can book a paid booking
Retry 1Initial Attempt
6.19% (14) 14 / 226 runs
failed over last 7 days
30.97% (70) 70 / 226 runs
flaked over last 7 days
Stripe integration Pending payment booking should not be confirmed by default
Retry 1Initial Attempt
5.75% (13) 13 / 226 runs
failed over last 7 days
21.24% (48) 48 / 226 runs
flaked over last 7 days

View Detailed Build Results


Comment on lines +49 to +60
{/* TODO: add mutations and logic
{isOrg && (
<>
<SettingsToggle
toggleSwitchAtTheEnd={true}
title={t("hide_all_teams")}
disabled={disabled || mutation?.isPending}
description={t("hide_all_teams_description")}
checked={isTeamPrivate}
onCheckedChange={(checked) => {
setTeamPrivate(checked);
mutation.mutate({ id: teamId, isPrivate: checked });
Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

need help here. can be a follow up PR

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

@PeerRich I think i already implemented hiding members for team. if you check the 'make team private' switch then you won't be able to see members

Screenshot 2024-02-22 at 1 26 35 AM

Copy link
Copy Markdown
Contributor

@Udit-takkar Udit-takkar Feb 21, 2024

Choose a reason for hiding this comment

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

should i create separate switches for 'hiding event types', 'hiding members' and 'hiding team in orgs'? then what would 'Make team private switch' do?

@github-actions github-actions Bot added the High priority Created by Linear-GitHub Sync label Feb 21, 2024
Copy link
Copy Markdown
Member

@CarinaWolli CarinaWolli left a comment

Choose a reason for hiding this comment

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

I fixed a type error but there are more, @Udit-takkar can you fix them? Added some minor clean up comments, but other than that it looks good 🙏

Comment thread apps/web/public/static/locales/en/common.json Outdated
Comment thread packages/features/ee/organizations/pages/settings/members.tsx Outdated
Comment thread packages/features/ee/teams/components/MakeTeamPrivateSwitch.tsx Outdated
Copy link
Copy Markdown
Member

@CarinaWolli CarinaWolli left a comment

Choose a reason for hiding this comment

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

Looks good 🙏

@CarinaWolli CarinaWolli enabled auto-merge (squash) March 12, 2024 15:28
@PeerRich
Copy link
Copy Markdown
Member Author

thank you @Udit-takkar for taking this over 🙏

@PeerRich PeerRich modified the milestones: v4.0, v3.9 Mar 12, 2024
@PeerRich PeerRich added Medium priority Created by Linear-GitHub Sync and removed High priority Created by Linear-GitHub Sync labels Mar 12, 2024
@PeerRich
Copy link
Copy Markdown
Member Author

fixes #13421

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 enterprise area: enterprise, audit log, organisation, SAML, SSO ✨ feature New feature or request High priority Created by Linear-GitHub Sync Medium priority Created by Linear-GitHub Sync 🎨 needs design Before engineering kick-off, a designer needs to submit a mockup

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CAL-3143] "Privacy" tab for Orgs

5 participants