Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: use org logo for sub teams #13632

Merged

Conversation

sean-brydon
Copy link
Member

Fixes: #12956

Use org logo for any org sub teams.

CleanShot 2024-02-10 at 16 17 45@2x

Copy link

linear bot commented Feb 10, 2024

Copy link

vercel bot commented Feb 10, 2024

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

Name Status Preview Comments Updated (UTC)
ai ❌ Failed (Inspect) Feb 12, 2024 2:03pm
api 🔄 Building (Inspect) Visit Preview Feb 12, 2024 2:03pm
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2024 2:03pm
cal-demo ⬜️ Ignored (Inspect) Feb 12, 2024 2:03pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2024 2:03pm
qa ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2024 2:03pm
ui ⬜️ Ignored (Inspect) Visit Preview Feb 12, 2024 2:03pm

Copy link
Contributor

github-actions bot commented Feb 10, 2024

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

@github-actions github-actions bot added enterprise area: enterprise, audit log, organisation, SAML, SSO Medium priority Created by Linear-GitHub Sync organizations area: organizations, orgs 🧹 Improvements Improvements to existing features. Mostly UX/UI labels Feb 10, 2024
@keithwillcode keithwillcode added consumer core area: core, team members only labels Feb 10, 2024
Copy link
Contributor

github-actions bot commented Feb 10, 2024

📦 Next.js Bundle Analysis for @calcom/web

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

This PR introduced no changes to the JavaScript bundle! 🙌

Copy link

deploysentinel bot commented Feb 10, 2024

Current Playwright Test Results Summary

✅ 447 Passing - ⚠️ 14 Flaky

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

(Last updated on 02/12/2024 02:06:11pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 312f523

Started: 02/12/2024 01:55:46pm UTC

⚠️ Flakes

📄   apps/web/playwright/booking/multipleEmailQuestion.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Multiple Email Question and Each Other Question Booking With Multiple Email Question and Radio group Question Booking With Multiple Email Question and select Question Multiple Email and select not required
Retry 1Initial Attempt
0% (0) 0 / 279 runs
failed over last 7 days
3.58% (10) 10 / 279 runs
flaked over last 7 days

📄   apps/web/playwright/booking-pages.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
pro user -- future Time slots should be reserved when selected
Retry 1Initial Attempt
0.36% (1) 1 / 278 run
failed over last 7 days
8.63% (24) 24 / 278 runs
flaked over last 7 days

📄   apps/web/playwright/booking/longTextQuestion.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Long Text Question and Each Other Question Booking With Long Text Question and checkbox Question Long Text and checkbox required
Retry 1Initial Attempt
0.35% (1) 1 / 287 run
failed over last 7 days
5.57% (16) 16 / 287 runs
flaked over last 7 days

📄   apps/web/playwright/booking/checkboxGroupQuestion.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
Booking With Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Booking With Checkbox Group Question and checkbox Question Checkbox Group required and checkbox required
Retry 1Initial Attempt
0% (0) 0 / 291 runs
failed over last 7 days
7.22% (21) 21 / 291 runs
flaked over last 7 days
Booking With Checkbox Group Question and Each Other Question Booking With Checkbox Group Question and Address Question Booking With Checkbox Group Question and Short text question Checkbox Group required and Short Text required
Retry 1Initial Attempt
0% (0) 0 / 288 runs
failed over last 7 days
7.99% (23) 23 / 288 runs
flaked over last 7 days

📄   apps/web/playwright/booking/radioGroupQuestion.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
Booking With Radio Question and Each Other Question Booking With Radio Question and Address Question Booking With Radio Question and Long text Question Radio and Long text not required
Retry 1Initial Attempt
0% (0) 0 / 288 runs
failed over last 7 days
7.29% (21) 21 / 288 runs
flaked over last 7 days
Booking With Radio Question and Each Other Question Booking With Radio Question and Address Question Booking With Radio Question and select Question Radio and select not required
Retry 1Initial Attempt
0% (0) 0 / 285 runs
failed over last 7 days
5.61% (16) 16 / 285 runs
flaked over last 7 days

📄   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
4.88% (14) 14 / 287 runs
failed over last 7 days
39.02% (112) 112 / 287 runs
flaked 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
Webhook tests FORM_SUBMITTED on submitting team form, triggers team webhook
Retry 1Initial Attempt
3.46% (10) 10 / 289 runs
failed over last 7 days
14.53% (42) 42 / 289 runs
flaked over last 7 days

📄   apps/web/playwright/booking/phoneQuestion.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
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and Long text Question Phone and Long text required
Retry 1Initial Attempt
0.34% (1) 1 / 295 run
failed over last 7 days
7.12% (21) 21 / 295 runs
flaked over last 7 days
Booking With Phone Question and Each Other Question Booking With Phone Question and Address Question Booking With Phone Question and multiselect Question Phone required and multiselect text not required
Retry 1Initial Attempt
0.34% (1) 1 / 293 run
failed over last 7 days
4.78% (14) 14 / 293 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 Link Meeting as location and book with it
Retry 1Initial Attempt
0% (0) 0 / 308 runs
failed over last 7 days
6.49% (20) 20 / 308 runs
flaked over last 7 days

📄   apps/web/playwright/profile.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
Update Profile Cannot update a users email when existing user has same email (verification enabled)
Retry 1Initial Attempt
0% (0) 0 / 128 runs
failed over last 7 days
50.78% (65) 65 / 128 runs
flaked over last 7 days
Update Profile Can update a users email (verification enabled)
Retry 1Initial Attempt
13.04% (18) 18 / 138 runs
failed over last 7 days
53.62% (74) 74 / 138 runs
flaked over last 7 days

View Detailed Build Results


PeerRich
PeerRich previously approved these changes Feb 10, 2024
@PeerRich PeerRich added this to the v3.8 milestone Feb 10, 2024
: getTeamAvatarUrl({
slug: team.slug,
requestedSlug: team.metadata?.requestedSlug ?? null,
organizationId: team.parentId,
Copy link
Contributor

Choose a reason for hiding this comment

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

Seems odd that we are in the else of the ternary that is getting a non-org URL but yet we are passing an organizationId.

Is this still needed or can we refactor?

Copy link
Member Author

Choose a reason for hiding this comment

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

Let me see what I can do

Copy link
Member Author

Choose a reason for hiding this comment

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

We’re not necessarily in a non org situation - we’re just in a situation where a sub team has a org as a parent 🤔

@keithwillcode keithwillcode merged commit 41046aa into main Feb 12, 2024
38 of 39 checks passed
@keithwillcode keithwillcode deleted the sean/cal-2844-organisation-subteams-should-have-org-logo branch February 12, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
consumer core area: core, team members only enterprise area: enterprise, audit log, organisation, SAML, SSO 🧹 Improvements Improvements to existing features. Mostly UX/UI Medium priority Created by Linear-GitHub Sync organizations area: organizations, orgs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-2844] organisation subteams should have org logo
3 participants