-
Notifications
You must be signed in to change notification settings - Fork 9.1k
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
feat: use-primary-by-default-overlay #11935
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
1 Ignored Deployment
|
Current dependencies on/for this PR: This comment was auto-generated by Graphite. |
Thank you for following the naming conventions! 🙏 Feel free to join our discord and post your PR link to collect XP and win prizes! |
📦 Next.js Bundle Analysis for @calcom/webThis analysis was generated by the Next.js Bundle Analysis action. 🤖 This PR introduced no changes to the JavaScript bundle! 🙌 |
Current Playwright Test Results Summary✅ 162 Passing - Run may still be in progress, this comment will be updated as current testing workflow or job completes... (Last updated on 10/19/2023 08:37:45am UTC) Run DetailsRunning Workflow PR Update on Github Actions Commit: f346a86 Started: 10/19/2023 08:35:36am UTC
|
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Event Types tests user Different Locations Tests can add Attendee Phone Number location and book with it
Retry 1 • Initial Attempt |
2.43% (7)7 / 288 runsfailed over last 7 days |
2.08% (6)6 / 288 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 on submitting team form, triggers team webhook
Retry 1 • Initial Attempt |
1.07% (3)3 / 281 runsfailed over last 7 days |
8.90% (25)25 / 281 runsflaked over last 7 days |
📄 apps/web/playwright/profile.e2e.ts • 1 Flake
Test Case Results
Test Case | Last 7 days Failures | Last 7 days Flakes |
---|---|---|
Teams Profile page is loaded for users in Organization
Retry 1 • Initial Attempt |
0.71% (2)2 / 281 runsfailed over last 7 days |
29.89% (84)84 / 281 runsflaked over last 7 days |
📄 packages/embeds/embed-core/playwright/tests/action-based.e2e.ts • 2 Flakes
Top 1 Common Error Messages
|
2 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 1 • Initial Attempt |
3.41% (10)10 / 293 runsfailed over last 7 days |
36.18% (106)106 / 293 runsflaked over last 7 days |
Popup Tests should be able to reschedule
Retry 2 • Retry 1 • Initial Attempt |
8.22% (24)24 / 292 runsfailed over last 7 days |
90.07% (263)263 / 292 runsflaked over last 7 days |
if (data?.connectedCalendars && set.size === 0 && !initalised) { | ||
data?.connectedCalendars.forEach((item) => { | ||
item.calendars?.forEach((cal) => { | ||
const id = { credentialId: item.credentialId, externalId: cal.externalId }; | ||
if (cal.primary) { | ||
toggleValue(id); | ||
} | ||
}); | ||
}); | ||
setInitalised(true); | ||
} | ||
// eslint-disable-next-line react-hooks/exhaustive-deps | ||
}, [data, hasItem, set, initalised]); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have to use initialised here to ensure this only runs ONCE after the primary has been selected - allowing users to deselect the calendar if they wish
69a6b04
to
2f4b6f6
Compare
…y-by-default-overlay
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Tested and works as expected
Select primary calendar item by default in overlay calendar
Loom: https://www.loom.com/share/dc943ff5c1a64fd5a40acf96bec7e1a2