feat: Org settings - profile,appearance, child teams, create new child#9231
Conversation
* Change scopedMembers to orgMembers * Change to orgUsers
….com into feat/organizations-onboarding
….com into feat/organizations-onboarding
…nto feat/org-settings
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 New Pages AddedThe following pages were added to the bundle from the code in this PR:
One Page Changed SizeThe following page changed size from the code in this PR compared to its base branch:
DetailsOnly 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 Any third party scripts you have added directly to your app using the 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. |
Current Playwright Test Results Summary✅ 114 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 06/15/2023 11:08:26am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: 84652b9 Started: 06/15/2023 11:06:02am UTC
|
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Managed Event Types tests Can create managed event type
Retry 2 • Retry 1 • Initial Attempt |
4.86% (12)12 / 247 runsfailed over last 7 days |
16.60% (41)41 / 247 runsflaked 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 user -- old-booker can add multiple organizer address
Retry 1 • Initial Attempt |
0.82% (2)2 / 243 runsfailed over last 7 days |
16.05% (39)39 / 243 runsflaked 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 2 • Retry 1 • Initial Attempt |
0% (0)0 / 141 runsfailed over last 7 days |
9.93% (14)14 / 141 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
Popup Tests should be able to reschedule
Retry 1 • Initial Attempt |
6% (9)9 / 150 runsfailed over last 7 days |
94% (141)141 / 150 runsflaked over last 7 days |
📄 apps/web/playwright/webhook.e2e.ts • 1 Flake
Test Case Results
| Test Case | Last 7 days Failures | Last 7 days Flakes |
|---|---|---|
|
FORM_SUBMITTED can submit a form and get a submission event
Retry 1 • Initial Attempt |
10.96% (8)8 / 73 runsfailed over last 7 days |
8.22% (6)6 / 73 runsflaked over last 7 days |
zomars
left a comment
There was a problem hiding this comment.
Fixed conflicts. Please double check them to see if I've missed something @sean-brydon 🙏🏽
|
|
||
| const isOrgAdmin = !!(await isOrganisationAdmin(ctx.user.id, ctx.user?.organization?.id ?? -1)); // Org id exists here as we're inside a conditional TS complaining for some reason | ||
|
|
||
| return membershipsWithoutParent.map(({ team, ...membership }) => ({ |
There was a problem hiding this comment.
This is breaking types in several places
|
Noticed that the owner of the organization can't see the teams he created(during onboarding) on /teams page. Happening because, we aren't creating the membership of that user with the teams. I think we need to fix it, so that he can add members to the teams later on. |



This is a stacked PR - it should be merged after #9202
Long winded loom: https://www.loom.com/share/32c4fbdbab8844568b541d48a01e95ba
Adds a few org settings pages
Profile
appearance
Create team now creates nested teams
hide billing on child teams
Hide team update pages if you are not owner|admin of team OR org owner/admin
Handle billing on newly created teams/ORGS