cal.com icon indicating copy to clipboard operation
cal.com copied to clipboard

/insights

Open PeerRich opened this issue 2 years ago • 3 comments

  • [x] test https://www.tremor.so/
  • [ ] componentise
  • [ ] add data @leog

CleanShot 2023-01-16 at 16 40 07@2x

PeerRich avatar Jan 16 '23 15:01 PeerRich

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

Name Status Preview Comments Updated
cal ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 23, 2023 at 10:07PM (UTC)
ui ✅ Ready (Inspect) Visit Preview 💬 Add your feedback Mar 23, 2023 at 10:07PM (UTC)
1 Ignored Deployment
Name Status Preview Comments Updated
cal-com-storybook ⬜️ Ignored (Inspect) Mar 23, 2023 at 10:07PM (UTC)

vercel[bot] avatar Jan 16 '23 15:01 vercel[bot]

New dependency changes detected. Learn more about Socket for GitHub ↗︎

👍 No new dependency issues detected in pull request

Bot Commands

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of package-name@version specifiers. e.g. @SocketSecurity ignore [email protected] bar@* or ignore all packages with @SocketSecurity ignore-all

Pull request report summary
Issue Status
Install scripts ✅ 0 issues
Native code ✅ 0 issues
Bin script shell injection ✅ 0 issues
Unresolved require ✅ 0 issues
Invalid package.json ✅ 0 issues
HTTP dependency ✅ 0 issues
Git dependency ✅ 0 issues
Potential typo squat ✅ 0 issues
Known Malware ✅ 0 issues
Telemetry ✅ 0 issues
Protestware/Troll package ✅ 0 issues

socket-security[bot] avatar Feb 12 '23 11:02 socket-security[bot]

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 233.06 KB (🟡 +22.18 KB)
Details

The global bundle is the javascript bundle that loads alongside every page. It is in its own category because its impact is much higher - an increase to its size means that every page on your website loads slower, and a decrease means every page loads faster.

Any third party scripts you have added directly to your app using the <script> tag are not accounted for in this analysis

If you want further insight into what is behind the changes, give @next/bundle-analyzer a try!

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (350 KB)
/insights 385.9 KB 618.96 KB 176.85%

Sixty-nine 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)
/404 8.37 KB 241.42 KB 68.98% (+/- <0.01%)
/[user] 103.22 KB 336.28 KB 96.08% (+/- <0.01%)
/[user]/[type] 91.71 KB 324.77 KB 92.79% (+/- <0.01%)
/[user]/[type]/embed 91.74 KB 324.8 KB 92.80% (+/- <0.01%)
/[user]/book 183.12 KB 416.18 KB 118.91% (+/- <0.01%)
/[user]/embed 103.29 KB 336.35 KB 96.10% (+/- <0.01%)
/apps 166.9 KB 399.96 KB 114.27% (🟡 +1.06%)
/apps/[slug] 190.63 KB 423.68 KB 121.05% (🟡 +1.06%)
/apps/[slug]/[...pages] 392.04 KB 625.1 KB 178.60% (🟡 +1.00%)
/apps/[slug]/setup 926 B 233.96 KB 66.85% (+/- <0.01%)
/apps/categories 151.8 KB 384.86 KB 109.96% (🟡 +1.06%)
/apps/categories/[category] 155.67 KB 388.72 KB 111.06% (🟡 +1.06%)
/apps/installed/[category] 196.77 KB 429.82 KB 122.81% (🟡 +1.04%)
/auth/error 19.24 KB 252.3 KB 72.09% (+/- <0.01%)
/auth/forgot-password 25.58 KB 258.64 KB 73.90% (+/- <0.01%)
/auth/forgot-password/[id] 32.78 KB 265.84 KB 75.95% (+/- <0.01%)
/auth/login 40.05 KB 273.11 KB 78.03% (+/- <0.01%)
/auth/logout 7.56 KB 240.62 KB 68.75% (+/- <0.01%)
/auth/setup 79.3 KB 312.36 KB 89.25% (🟢 -0.01%)
/availability 155.01 KB 388.07 KB 110.88% (🟡 +1.05%)
/availability/[schedule] 271.72 KB 504.78 KB 144.22% (🟡 +1.06%)
/availability/troubleshoot 152.49 KB 385.55 KB 110.16% (🟡 +1.05%)
/booking/[uid] 123.31 KB 356.37 KB 101.82% (+/- <0.01%)
/bookings/[status] 272.15 KB 505.2 KB 144.34% (🟡 +0.84%)
/d/[link]/[slug] 91.36 KB 324.42 KB 92.69% (+/- <0.01%)
/d/[link]/[slug]/embed 91.39 KB 324.45 KB 92.70% (+/- <0.01%)
/d/[link]/book 182.78 KB 415.83 KB 118.81% (+/- <0.01%)
/event-types 349.04 KB 582.1 KB 166.31% (🟡 +0.89%)
/event-types/[type] 382.09 KB 615.15 KB 175.76% (🟡 +0.99%)
/getting-started/[[...step]] 302.9 KB 535.96 KB 153.13% (🟢 -0.23%)
/more 151.43 KB 384.48 KB 109.85% (🟡 +1.06%)
/settings/admin 156.87 KB 389.92 KB 111.41% (🟡 +1.05%)
/settings/admin/apps 165.55 KB 398.61 KB 113.89% (🟡 +1.05%)
/settings/admin/apps/[category] 165.54 KB 398.59 KB 113.88% (🟡 +1.05%)
/settings/admin/impersonation 157.15 KB 390.21 KB 111.49% (🟡 +1.05%)
/settings/billing 156.98 KB 390.04 KB 111.44% (🟡 +1.05%)
/settings/developer/api-keys 186.13 KB 419.19 KB 119.77% (🟡 +1.05%)
/settings/developer/webhooks 159.47 KB 392.53 KB 112.15% (🟡 +1.06%)
/settings/developer/webhooks/[id] 190.32 KB 423.38 KB 120.96% (🟡 +1.06%)
/settings/developer/webhooks/new 190.18 KB 423.24 KB 120.92% (🟡 +1.06%)
/settings/my-account/appearance 170.95 KB 404 KB 115.43% (🟡 +1.06%)
/settings/my-account/calendars 191.17 KB 424.22 KB 121.21% (🟡 +1.05%)
/settings/my-account/conferencing 162.74 KB 395.8 KB 113.09% (🟡 +1.05%)
/settings/my-account/general 266.04 KB 499.1 KB 142.60% (🟡 +1.05%)
/settings/my-account/profile 274.03 KB 507.08 KB 144.88% (🟡 +0.89%)
/settings/security/impersonation 159.02 KB 392.08 KB 112.02% (🟡 +1.06%)
/settings/security/password 192.31 KB 425.37 KB 121.53% (🟡 +1.06%)
/settings/security/sso 166.71 KB 399.77 KB 114.22% (🟡 +1.06%)
/settings/security/two-factor-auth 161.47 KB 394.53 KB 112.72% (🟡 +1.06%)
/settings/teams 156.61 KB 389.67 KB 111.33% (🟡 +1.06%)
/settings/teams/[id]/appearance 170.97 KB 404.02 KB 115.44% (🟡 +1.05%)
/settings/teams/[id]/billing 156.85 KB 389.91 KB 111.40% (🟡 +1.06%)
/settings/teams/[id]/members 296.75 KB 529.81 KB 151.37% (🟡 +0.84%)
/settings/teams/[id]/onboard-members 49.94 KB 282.99 KB 80.85% (+/- <0.01%)
/settings/teams/[id]/profile 269.24 KB 502.29 KB 143.51% (🟡 +1.05%)
/settings/teams/[id]/sso 166.81 KB 399.87 KB 114.25% (🟡 +1.05%)
/settings/teams/new 92.57 KB 325.62 KB 93.04% (🟡 +0.96%)
/signup 25.45 KB 258.51 KB 73.86% (+/- <0.01%)
/team/[slug] 105.77 KB 338.82 KB 96.81% (+/- <0.01%)
/team/[slug]/[type] 91.36 KB 324.42 KB 92.69% (+/- <0.01%)
/team/[slug]/[type]/embed 91.39 KB 324.45 KB 92.70% (+/- <0.01%)
/team/[slug]/book 182.78 KB 415.84 KB 118.81% (+/- <0.01%)
/team/[slug]/embed 105.83 KB 338.89 KB 96.83% (+/- <0.01%)
/teams 151.65 KB 384.71 KB 109.92% (🟡 +1.05%)
/video/meeting-ended/[uid] 14.67 KB 247.72 KB 70.78% (+/- <0.01%)
/video/meeting-not-started/[uid] 14.3 KB 247.36 KB 70.67% (+/- <0.01%)
/video/no-meeting-found 6.6 KB 239.66 KB 68.47% (+/- <0.01%)
/workflows 164.54 KB 397.6 KB 113.60% (🟡 +1.06%)
/workflows/[workflow] 293.74 KB 526.79 KB 150.51% (🟡 +0.88%)
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 "+/-

github-actions[bot] avatar Feb 15 '23 19:02 github-actions[bot]

No failed tests 🎉

deploysentinel[bot] avatar Mar 16 '23 00:03 deploysentinel[bot]

Reviewing

zomars avatar Mar 23 '23 18:03 zomars

  • Missing code self-review
  • Missing proper testing instructions

zomars avatar Mar 23 '23 19:03 zomars

I see we use "analytics" and "insights" interchangeably. I propose we stick to "insights" everywhere.

zomars avatar Mar 23 '23 20:03 zomars

I see we use "analytics" and "insights" interchangeably. I propose we stick to "insights" everywhere.

agree! Insights everywhere

PeerRich avatar Mar 23 '23 20:03 PeerRich

oh shit, not sure if this should merge this quickly

PeerRich avatar Mar 23 '23 22:03 PeerRich