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

refactor: Top Banner and add google calendar credential banner #12532

Merged
merged 15 commits into from
Dec 7, 2023

Conversation

Udit-takkar
Copy link
Contributor

@Udit-takkar Udit-takkar commented Nov 24, 2023

Fixes: #12473

TODO:

  • Fix Type error
Screenshot 2023-12-02 at 12 47 19 AM Screenshot 2023-12-02 at 12 47 39 AM

Copy link

vercel bot commented Nov 24, 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 Dec 7, 2023 7:40am
dev ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 7, 2023 7:40am
5 Ignored Deployments
Name Status Preview Comments Updated (UTC)
ai ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:40am
cal ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:40am
cal-demo ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:40am
qa ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:40am
ui ⬜️ Ignored (Inspect) Visit Preview Dec 7, 2023 7:40am

Copy link
Contributor

github-actions bot commented Nov 24, 2023

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

Copy link
Contributor

github-actions bot commented Nov 24, 2023

📦 Next.js Bundle Analysis for @calcom/web

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

Seventy 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)
/apps 267.27 KB 430.7 KB 123.06% (🟢 -0.32%)
/apps/[slug] 285.39 KB 448.82 KB 128.24% (🟢 -0.32%)
/apps/[slug]/[...pages] 542.5 KB 705.92 KB 201.69% (🟢 -0.86%)
/apps/categories 245.14 KB 408.57 KB 116.73% (🟢 -0.31%)
/apps/categories/[category] 249.8 KB 413.23 KB 118.07% (🟢 -0.32%)
/apps/installed/[category] 269.34 KB 432.77 KB 123.65% (🟢 -0.32%)
/auth/login 119.05 KB 282.48 KB 80.71% (🟡 +0.17%)
/auth/setup 150.24 KB 313.67 KB 89.62% (🟡 +0.15%)
/availability 382.86 KB 546.29 KB 156.08% (🟢 -0.32%)
/availability/[schedule] 348.76 KB 512.19 KB 146.34% (🟢 -0.32%)
/availability/troubleshoot 270.43 KB 433.86 KB 123.96% (🟢 -0.33%)
/bookings/[status] 314.93 KB 478.36 KB 136.67% (🟢 -0.33%)
/enterprise 245.6 KB 409.03 KB 116.87% (🟢 -0.32%)
/event-types 540.98 KB 704.41 KB 201.26% (🟢 -0.54%)
/event-types/[type] 417.8 KB 581.23 KB 166.06% (🟢 -0.52%)
/getting-started/[[...step]] 401.03 KB 564.46 KB 161.27% (🟢 -0.44%)
/insights 471.27 KB 634.7 KB 181.34% (🟢 -0.32%)
/more 244.77 KB 408.2 KB 116.63% (🟢 -0.31%)
/org/[orgSlug] 226.85 KB 390.28 KB 111.51% (🟢 -0.22%)
/org/[orgSlug]/[user] 233.39 KB 396.82 KB 113.38% (🟢 -0.22%)
/org/[orgSlug]/[user]/embed 233.42 KB 396.85 KB 113.38% (🟢 -0.21%)
/org/[orgSlug]/embed 226.87 KB 390.3 KB 111.51% (🟢 -0.22%)
/org/[orgSlug]/team/[slug] 226.86 KB 390.29 KB 111.51% (🟢 -0.22%)
/settings/admin 251.46 KB 414.89 KB 118.54% (🟢 -0.30%)
/settings/admin/apps 264.65 KB 428.08 KB 122.31% (🟢 -0.31%)
/settings/admin/apps/[category] 264.63 KB 428.06 KB 122.30% (🟢 -0.31%)
/settings/admin/flags 255.21 KB 418.64 KB 119.61% (🟢 -0.30%)
/settings/admin/impersonation 251.73 KB 415.16 KB 118.62% (🟢 -0.30%)
/settings/admin/oAuth 263.46 KB 426.89 KB 121.97% (🟢 -0.31%)
/settings/admin/oAuth/oAuthView 91.06 KB 254.49 KB 72.71% (🟢 -0.20%)
/settings/admin/organizations 252.76 KB 416.19 KB 118.91% (🟢 -0.30%)
/settings/admin/users 253.68 KB 417.11 KB 119.17% (🟢 -0.30%)
/settings/admin/users/[id]/edit 353.53 KB 516.96 KB 147.70% (🟢 -0.31%)
/settings/admin/users/add 353.27 KB 516.7 KB 147.63% (🟢 -0.32%)
/settings/billing 251.67 KB 415.1 KB 118.60% (🟢 -0.30%)
/settings/developer/api-keys 256.07 KB 419.5 KB 119.86% (🟢 -0.30%)
/settings/developer/webhooks 256 KB 419.43 KB 119.84% (🟢 -0.31%)
/settings/developer/webhooks/[id] 257.38 KB 420.81 KB 120.23% (🟢 -0.30%)
/settings/developer/webhooks/new 257.43 KB 420.86 KB 120.25% (🟢 -0.30%)
/settings/my-account/appearance 275.05 KB 438.48 KB 125.28% (🟢 -0.31%)
/settings/my-account/calendars 263.29 KB 426.72 KB 121.92% (🟢 -0.31%)
/settings/my-account/conferencing 263.58 KB 427.01 KB 122.00% (🟢 -0.31%)
/settings/my-account/general 339.87 KB 503.3 KB 143.80% (🟢 -0.30%)
/settings/my-account/profile 388.81 KB 552.24 KB 157.78% (🟢 -0.30%)
/settings/organizations/appearance 264.06 KB 427.49 KB 122.14% (🟢 -0.30%)
/settings/organizations/billing 251.7 KB 415.13 KB 118.61% (🟢 -0.30%)
/settings/organizations/general 332.37 KB 495.8 KB 141.66% (🟢 -0.30%)
/settings/organizations/members 380.42 KB 543.85 KB 155.39% (🟢 -0.31%)
/settings/organizations/profile 385.89 KB 549.32 KB 156.95% (🟢 -0.31%)
/settings/organizations/teams/other 252.54 KB 415.96 KB 118.85% (🟢 -0.30%)
/settings/organizations/teams/other/[id]/appearance 264.16 KB 427.59 KB 122.17% (🟢 -0.30%)
/settings/organizations/teams/other/[id]/members 258.53 KB 421.96 KB 120.56% (🟢 -0.30%)
/settings/organizations/teams/other/[id]/profile 456.83 KB 620.26 KB 177.22% (🟢 -0.74%)
/settings/security/impersonation 256.75 KB 420.18 KB 120.05% (🟢 -0.30%)
/settings/security/password 265.53 KB 428.96 KB 122.56% (🟢 -0.31%)
/settings/security/sso 260.71 KB 424.14 KB 121.18% (🟢 -0.61%)
/settings/security/two-factor-auth 260.62 KB 424.05 KB 121.16% (🟢 -0.30%)
/settings/teams 251.2 KB 414.63 KB 118.47% (🟢 -0.30%)
/settings/teams/[id]/appearance 264.14 KB 427.57 KB 122.16% (🟢 -0.30%)
/settings/teams/[id]/billing 251.7 KB 415.13 KB 118.61% (🟢 -0.30%)
/settings/teams/[id]/members 377.44 KB 540.87 KB 154.54% (🟢 -0.32%)
/settings/teams/[id]/onboard-members 155.51 KB 318.94 KB 91.13% (🟢 -0.15%)
/settings/teams/[id]/profile 457.65 KB 621.08 KB 177.45% (🟢 -0.74%)
/settings/teams/[id]/sso 261.22 KB 424.65 KB 121.33% (🟢 -0.61%)
/team/[slug] 226.81 KB 390.24 KB 111.50% (🟢 -0.22%)
/team/[slug]/embed 226.86 KB 390.29 KB 111.51% (🟢 -0.22%)
/teams 245.05 KB 408.48 KB 116.71% (🟢 -0.31%)
/video/[uid] 244.52 KB 407.95 KB 116.56% (🟢 -0.38%)
/workflows 283.14 KB 446.57 KB 127.59% (🟢 -0.33%)
/workflows/[workflow] 396.54 KB 559.96 KB 159.99% (🟢 -0.33%)
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.

Copy link

deploysentinel bot commented Nov 24, 2023

Current Playwright Test Results Summary

✅ 335 Passing - ⚠️ 20 Flaky

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

(Last updated on 12/07/2023 07:46:56am UTC)

Run Details

Running Workflow PR Update on Github Actions

Commit: b4f4d1d

Started: 12/07/2023 07:40:33am UTC

⚠️ Flakes

📄   apps/web/playwright/locale.e2e.ts • 13 Flakes

Top 1 Common Error Messages

null

13 Test Cases Affected

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
unauthorized user sees correct translations (de) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-80.45% (-177) -177 / 220 runs
failed over last 7 days
81.82% (180) 180 / 220 runs
flaked over last 7 days
unauthorized user sees correct translations (ar) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-82.49% (-179) -179 / 217 runs
failed over last 7 days
82.95% (180) 180 / 217 runs
flaked over last 7 days
unauthorized user sees correct translations (zh) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-83.33% (-180) -180 / 216 runs
failed over last 7 days
83.33% (180) 180 / 216 runs
flaked over last 7 days
unauthorized user sees correct translations (zh-CN) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-83.33% (-180) -180 / 216 runs
failed over last 7 days
83.33% (180) 180 / 216 runs
flaked over last 7 days
unauthorized user sees correct translations (zh-TW) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-82.87% (-179) -179 / 216 runs
failed over last 7 days
83.33% (180) 180 / 216 runs
flaked over last 7 days
unauthorized user sees correct translations (pt) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-83.72% (-180) -180 / 215 runs
failed over last 7 days
83.72% (180) 180 / 215 runs
flaked over last 7 days
unauthorized user sees correct translations (pt-br) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-83.26% (-179) -179 / 215 runs
failed over last 7 days
83.72% (180) 180 / 215 runs
flaked over last 7 days
unauthorized user sees correct translations (es-419) should use correct translations and html attributes
Retry 2Retry 1Initial Attempt
-84.11% (-180) -180 / 214 runs
failed over last 7 days
84.11% (180) 180 / 214 runs
flaked over last 7 days
authorized user sees correct translations (de) should return correct translations and html attributes
Retry 2Retry 1Initial Attempt
-83.18% (-178) -178 / 214 runs
failed over last 7 days
84.11% (180) 180 / 214 runs
flaked over last 7 days
authorized user sees correct translations (pt-br) should return correct translations and html attributes
Retry 2Retry 1Initial Attempt
-84.91% (-180) -180 / 212 runs
failed over last 7 days
84.91% (180) 180 / 212 runs
flaked over last 7 days
authorized user sees correct translations (ar) should return correct translations and html attributes
Retry 2Retry 1Initial Attempt
-84.43% (-179) -179 / 212 runs
failed over last 7 days
84.91% (180) 180 / 212 runs
flaked over last 7 days
authorized user sees changed translations (de->ar) should return correct translations and html attributes
Retry 2Retry 1Initial Attempt
-22.27% (-47) -47 / 211 runs
failed over last 7 days
54.98% (116) 116 / 211 runs
flaked over last 7 days
authorized user sees changed translations (de->pt-BR) [locale1] should return correct translations and html attributes
Retry 2Retry 1Initial Attempt
-29.08% (-41) -41 / 141 runs
failed over last 7 days
58.16% (82) 82 / 141 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 2Retry 1Initial Attempt
1.80% (4) 4 / 222 runs
failed over last 7 days
27.03% (60) 60 / 222 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 user -- legacy Different Locations Tests can add Attendee Phone Number location and book with it
Retry 1Initial Attempt
0% (0) 0 / 215 runs
failed over last 7 days
2.33% (5) 5 / 215 runs
flaked over last 7 days

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

Top 1 Common Error Messages

null

4 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
3.85% (9) 9 / 234 runs
failed over last 7 days
58.55% (137) 137 / 234 runs
flaked over last 7 days
Popup Tests should open Routing Forms embed on click
Retry 1Initial Attempt
1.29% (3) 3 / 233 runs
failed over last 7 days
45.06% (105) 105 / 233 runs
flaked over last 7 days
Popup Tests should be able to reschedule
Retry 2Retry 1Initial Attempt
6.84% (16) 16 / 234 runs
failed over last 7 days
87.18% (204) 204 / 234 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
3.85% (9) 9 / 234 runs
failed over last 7 days
76.92% (180) 180 / 234 runs
flaked over last 7 days

📄   apps/web/playwright/oauth-provider.e2e.ts • 1 Flake

Test Case Results

Test Case Last 7 days Failures Last 7 days Flakes
OAuth Provider should create valid access toke & refresh token for team
Retry 1Initial Attempt
1.24% (3) 3 / 241 runs
failed over last 7 days
21.16% (51) 51 / 241 runs
flaked over last 7 days

View Detailed Build Results


@Udit-takkar Udit-takkar changed the title refactor: Top Banner refactor: Top Banner and add google calendar credential banner Dec 1, 2023
@Udit-takkar Udit-takkar added the High priority Created by Linear-GitHub Sync label Dec 1, 2023
ThyMinimalDev
ThyMinimalDev previously approved these changes Dec 5, 2023
Copy link
Contributor

@ThyMinimalDev ThyMinimalDev left a comment

Choose a reason for hiding this comment

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

LGTM

@CarinaWolli
Copy link
Member

Type check is failing, can you take a look @Udit-takkar

Copy link
Member

@zomars zomars left a comment

Choose a reason for hiding this comment

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

Hey @Udit-takkar it seems we have a type error

image

@zomars zomars merged commit 90a6fc3 into main Dec 7, 2023
43 checks passed
@zomars
Copy link
Member

zomars commented Dec 7, 2023

Merge activity

@zomars zomars deleted the refactor/banner branch December 7, 2023 22:32
hbjORbj pushed a commit to codemod-com/cal.com-demo that referenced this pull request Dec 21, 2023
…m#12532)

Fixes: calcom#12473

TODO:
- [x] Fix Type error

<img width="1512" alt="Screenshot 2023-12-02 at 12 47 19 AM" src="https://github.com/calcom/cal.com/assets/53316345/8a5c6dd0-6095-482b-b4d0-81653607a270">


<img width="1512" alt="Screenshot 2023-12-02 at 12 47 39 AM" src="https://github.com/calcom/cal.com/assets/53316345/fc64edb9-27b3-438f-b42d-75b200ac96e9">
haranrk pushed a commit to haranrk/cal.com that referenced this pull request Jan 4, 2024
…m#12532)

Fixes: calcom#12473

TODO:
- [x] Fix Type error

<img width="1512" alt="Screenshot 2023-12-02 at 12 47 19 AM" src="https://github.com/calcom/cal.com/assets/53316345/8a5c6dd0-6095-482b-b4d0-81653607a270">


<img width="1512" alt="Screenshot 2023-12-02 at 12 47 39 AM" src="https://github.com/calcom/cal.com/assets/53316345/fc64edb9-27b3-438f-b42d-75b200ac96e9">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
core area: core, team members only High priority Created by Linear-GitHub Sync
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CAL-2744] Email and Banners after google calendar integration has been expired/not working
4 participants