Skip to content

feat: Make Team Private#9870

Merged
pumfleet merged 3 commits intomainfrom
feat/make-team-private
Jul 6, 2023
Merged

feat: Make Team Private#9870
pumfleet merged 3 commits intomainfrom
feat/make-team-private

Conversation

@Udit-takkar
Copy link
Copy Markdown
Contributor

@Udit-takkar Udit-takkar commented Jul 1, 2023

What does this PR do?

Fixes #8974

  1. When user is admin
Screenshot 2023-07-03 at 6 45 50 PM
  1. When user is not admin and team is private
Screenshot 2023-07-03 at 6 47 15 PM
Screenshot 2023-07-03 at 6 51 56 PM

Type of change

  • 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.

Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
@vercel
Copy link
Copy Markdown

vercel Bot commented Jul 1, 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 Mar 19, 2024 2:47pm
cal ✅ Ready (Inspect) Visit Preview 💬 Add feedback Mar 19, 2024 2:47pm
web-staging 🔄 Building (Inspect) Mar 19, 2024 2:47pm
2 Ignored Deployments
Name Status Preview Comments Updated (UTC)
dev ⬜️ Ignored (Inspect) Mar 19, 2024 2:47pm
ui ⬜️ Ignored (Inspect) Visit Preview Mar 19, 2024 2:47pm

@github-actions github-actions Bot added ❗️ migrations contains migration files Medium priority Created by Linear-GitHub Sync ✨ feature New feature or request teams area: teams, round robin, collective, managed event-types labels Jul 1, 2023
@Udit-takkar Udit-takkar changed the title [WIP] feat: Make Team Private feat: Make Team Private [WIP] Jul 1, 2023
@calcom calcom deleted a comment from github-actions Bot Jul 1, 2023
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 1, 2023

Thank you for following the naming conventions! 🙏

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jul 1, 2023

📦 Next.js Bundle Analysis for @calcom/web

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

Two Pages Changed Size

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

Page Size (compressed) First Load % of Budget (350 KB)
/settings/organizations/appearance 282.09 KB 435.45 KB 124.41% (🟡 +0.53%)
/settings/teams/[id]/onboard-members 177.82 KB 331.18 KB 94.62% (🟡 +0.18%)
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 Jul 1, 2023

Current Playwright Test Results Summary

✅ 124 Passing - ⚠️ 4 Flaky

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

(Last updated on 07/03/2023 01:39:59pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 79b5c33

Started: 07/03/2023 01:38:09pm UTC

⚠️ Flakes

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

Top 1 Common Error Messages

null

3 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Popup Tests -- new-booker should be able to reschedule
Retry 1Initial Attempt
12.30% (15) 15 / 122 runs
failed over last 7 days
45.90% (56) 56 / 122 runs
flaked over last 7 days
Popup Tests -- new-booker should open Routing Forms embed on click
Retry 1Initial Attempt
0% (0) 0 / 122 runs
failed over last 7 days
12.30% (15) 15 / 122 runs
flaked over last 7 days
Popup Tests -- old-booker should open embed iframe on click - Configured with light theme
Retry 1Initial Attempt
0.82% (1) 1 / 122 run
failed over last 7 days
31.15% (38) 38 / 122 runs
flaked over last 7 days

📄   packages/app-store/routing-forms/playwright/tests/basic.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Routing Forms Seeded Routing Form Routing Link - Reporting and CSV Download
Retry 1Initial Attempt
3.07% (5) 5 / 163 runs
failed over last 7 days
34.97% (57) 57 / 163 runs
flaked over last 7 days

View Detailed Build Results


Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Copy link
Copy Markdown
Contributor Author

@Udit-takkar Udit-takkar left a comment

Choose a reason for hiding this comment

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

@Jaibles can you create a design for this page ? ( When a team is marked private but user still try to go the url of "Book a team member instead" Button on the team's page)

Screenshot 2023-07-03 at 6 55 06 PM

@Udit-takkar Udit-takkar changed the title feat: Make Team Private [WIP] feat: Make Team Private Jul 3, 2023
fix
Signed-off-by: Udit Takkar <udit.07814802719@cse.mait.ac.in>
Copy link
Copy Markdown
Contributor

@pumfleet pumfleet left a comment

Choose a reason for hiding this comment

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

Code looks good to me

@pumfleet pumfleet merged commit f755312 into main Jul 6, 2023
Copy link
Copy Markdown
Contributor

pumfleet commented Jul 6, 2023

@baileypumfleet merged this pull request with Graphite.

@pumfleet pumfleet deleted the feat/make-team-private branch July 6, 2023 09:55
@PeerRich
Copy link
Copy Markdown
Member

PeerRich commented Jul 6, 2023

@Jaibles can you create a design for this page ? ( When a team is marked private but user still try to go the url of "Book a team member instead" Button on the team's page)

Screenshot 2023-07-03 at 6 55 06 PM

this is good enough for sure. rarely people will visit this

@ciaranha ciaranha added the 🎨 needs design Before engineering kick-off, a designer needs to submit a mockup label Jul 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

✨ feature New feature or request Medium priority Created by Linear-GitHub Sync ❗️ migrations contains migration files 🎨 needs design Before engineering kick-off, a designer needs to submit a mockup teams area: teams, round robin, collective, managed event-types

Projects

No open projects
Status: No status

Development

Successfully merging this pull request may close these issues.

[CAL-1722] Private team so your team members won't see other team members

4 participants