Skip to content

fix: Booker shows toggle external calendar on external links#13395

Merged
ThyMinimalDev merged 1 commit intomainfrom
CAL-3014-fix-is-my-link
Jan 24, 2024
Merged

fix: Booker shows toggle external calendar on external links#13395
ThyMinimalDev merged 1 commit intomainfrom
CAL-3014-fix-is-my-link

Conversation

@ThyMinimalDev
Copy link
Copy Markdown
Contributor

@ThyMinimalDev ThyMinimalDev commented Jan 24, 2024

What does this PR do?

Fixes #13393

Type of change

  • Bug fix (non-breaking change which fixes an issue)

How should this be tested?

  • go on your booking public page, shows need help button
  • go on somebody else's booking public page, shows the overlay calendar button

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

@linear
Copy link
Copy Markdown

linear Bot commented Jan 24, 2024

@vercel
Copy link
Copy Markdown

vercel Bot commented Jan 24, 2024

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

Name Status Preview Comments Updated (UTC)
ai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 6:28pm
api ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 6:28pm
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jan 24, 2024 6:28pm
4 Ignored Deployments
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2024 6:28pm
cal-demo ⬜️ Ignored (Inspect) Jan 24, 2024 6:28pm
calcom-web-canary ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2024 6:28pm
ui ⬜️ Ignored (Inspect) Visit Preview Jan 24, 2024 6:28pm

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jan 24, 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 High priority Created by Linear-GitHub Sync 🐛 bug Something isn't working 📉 regressing This used to work. Now it doesn't anymore. labels Jan 24, 2024
@keithwillcode keithwillcode added api area: API, enterprise API, access token, OAuth core area: core, team members only labels Jan 24, 2024
@ThyMinimalDev ThyMinimalDev requested review from a team and PeerRich January 24, 2024 18:16
@ThyMinimalDev ThyMinimalDev enabled auto-merge (squash) January 24, 2024 18:18
"bg-default dark:bg-muted sticky top-0 z-10"
)}>
<Header
isMyLink={Boolean(username === event?.data?.owner?.username)}
Copy link
Copy Markdown
Contributor

@keithwillcode keithwillcode Jan 24, 2024

Choose a reason for hiding this comment

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

So that means somehow isMyLink was getting set to true somehow even using the username from the event?

@github-actions
Copy link
Copy Markdown
Contributor

📦 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! 🙌

@deploysentinel
Copy link
Copy Markdown

deploysentinel Bot commented Jan 24, 2024

Current Playwright Test Results Summary

✅ 419 Passing - ⚠️ 18 Flaky

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

(Last updated on 01/24/2024 06:33:42pm UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: 7bfd7f5

Started: 01/24/2024 06:23:24pm UTC

⚠️ Flakes

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Phone Question and Each Other Question Booking With Select Question and Short text question Select and Short text not required
Retry 1Initial Attempt
0.57% (2) 2 / 351 runs
failed over last 7 days
2.28% (8) 8 / 351 runs
flaked over last 7 days

📄   apps/web/playwright/login.2fa.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
2FA Tests should allow a user to enable 2FA and login using 2FA
Retry 1Initial Attempt
0.85% (3) 3 / 351 runs
failed over last 7 days
35.90% (126) 126 / 351 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 2Retry 1Initial Attempt
39.85% (53) 53 / 133 runs
failed over last 7 days
34.59% (46) 46 / 133 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking page with no questions Booking page with 640x480 resolution
Retry 1Initial Attempt
0% (0) 0 / 5 runs
failed over last 7 days
20% (1) 1 / 5 run
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 Number Question Radio and Number not required
Retry 1Initial Attempt
0% (0) 0 / 358 runs
failed over last 7 days
3.63% (13) 13 / 358 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 Phone Question Radio required and Phone required
Retry 1Initial Attempt
0% (0) 0 / 358 runs
failed over last 7 days
2.51% (9) 9 / 358 runs
flaked over last 7 days

📄   apps/web/playwright/workflow.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Workflow Tab - Event Type Check the functionalities of the Workflow Tab User Workflows Create an action and check if workflow is triggered
Retry 1Initial Attempt
2.56% (9) 9 / 351 runs
failed over last 7 days
11.68% (41) 41 / 351 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 -- legacy user enabling recurring event comes with default options
Retry 1Initial Attempt
0% (0) 0 / 228 runs
failed over last 7 days
5.26% (12) 12 / 228 runs
flaked over last 7 days

📄   apps/web/playwright/signup.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Signup Flow Test Username is taken
Retry 1Initial Attempt
0% (0) 0 / 386 runs
failed over last 7 days
0.52% (2) 2 / 386 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
1.03% (4) 4 / 388 runs
failed over last 7 days
55.93% (217) 217 / 388 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 1Initial Attempt
-83.01% (-171) -171 / 206 runs
failed over last 7 days
114.56% (236) 236 / 206 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
-86.76% (-177) -177 / 204 runs
failed over last 7 days
100% (204) 204 / 204 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.27% (-176) -176 / 204 runs
failed over last 7 days
110.78% (226) 226 / 204 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.27% (-176) -176 / 204 runs
failed over last 7 days
86.27% (176) 176 / 204 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.27% (-176) -176 / 204 runs
failed over last 7 days
86.27% (176) 176 / 204 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.27% (-176) -176 / 204 runs
failed over last 7 days
86.27% (176) 176 / 204 runs
flaked over last 7 days
Popup Tests prendered embed should be loaded and apply the config given to it
Retry 1Initial Attempt
-86.70% (-176) -176 / 203 runs
failed over last 7 days
86.70% (176) 176 / 203 runs
flaked over last 7 days

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

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
Booking With Address Question and Each Other Question Booking With Address Question and Long text Question Address and Long Text not required
Retry 1Initial Attempt
0.83% (3) 3 / 362 runs
failed over last 7 days
2.76% (10) 10 / 362 runs
flaked over last 7 days

View Detailed Build Results


@ThyMinimalDev ThyMinimalDev merged commit c84f75d into main Jan 24, 2024
@ThyMinimalDev ThyMinimalDev deleted the CAL-3014-fix-is-my-link branch January 24, 2024 18:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api area: API, enterprise API, access token, OAuth 🐛 bug Something isn't working core area: core, team members only foundation High priority Created by Linear-GitHub Sync 📉 regressing This used to work. Now it doesn't anymore.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[CAL-3014] regression: show "Overlay my calendar" for external links and "Need help?" for my own

2 participants