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

feat(editor): Add basic canvas plugin with tldraw #4375

Draft
wants to merge 1 commit into
base: staging
Choose a base branch
from

Conversation

CodingDive
Copy link
Contributor

@CodingDive CodingDive commented Dec 23, 2024

Screenshot from 2024-12-23 02-04-38

Copy link

vercel bot commented Dec 23, 2024

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

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Dec 23, 2024 1:13am

Copy link
Contributor

📦 Next.js Bundle Analysis for @serlo/frontend

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

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 104.88 KB (🟡 +8 B)
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!

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
/ 85.46 KB (🟢 -70 B) 190.34 KB
/404 42.16 KB (🟢 -70 B) 147.04 KB
/500 42.15 KB (🟢 -69 B) 147.03 KB
/[...slug] 417.95 KB (🔴 +323.22 KB) 522.84 KB
/___bot_or_not 429.42 KB (🔴 +323.23 KB) 534.3 KB
/___cf_not_found 40.37 KB (🟢 -70 B) 145.25 KB
/___design 145.67 KB (🟢 -70 B) 250.55 KB
/___editor_preview 973.79 KB (🔴 +310.2 KB) 1.05 MB
/___old_comments 99.44 KB (🟢 -69 B) 204.32 KB
/auth/___activate_vidis 40.66 KB (🟢 -70 B) 145.54 KB
/auth/error 65.19 KB (🟢 -69 B) 170.08 KB
/auth/login 89.79 KB (🟢 -70 B) 194.68 KB
/auth/logout 80.5 KB (🟢 -71 B) 185.38 KB
/auth/oauth/consent 55.11 KB (🟢 -70 B) 159.99 KB
/auth/oauth/login 89.8 KB (🟢 -70 B) 194.68 KB
/auth/oauth/logout 80.51 KB (🟢 -70 B) 185.39 KB
/auth/recovery 74.56 KB (🟢 -69 B) 179.44 KB
/auth/registration 75.36 KB (🟢 -70 B) 180.24 KB
/auth/settings 75.44 KB (🟢 -70 B) 180.32 KB
/auth/verification 74.72 KB (🟢 -70 B) 179.6 KB
/authorization/roles 66.82 KB (🟢 -69 B) 171.7 KB
/backend 42.43 KB (🟢 -68 B) 147.32 KB
/biologie 486.64 KB (🔴 +323.23 KB) 591.53 KB
/chemie 486.64 KB (🔴 +323.23 KB) 591.52 KB
/consent 40.95 KB (🟢 -71 B) 145.83 KB
/content-only/[...slug] 410.06 KB (🔴 +323.22 KB) 514.94 KB
/discussions 95.98 KB (🟢 -71 B) 200.86 KB
/editor 410.86 KB (🔴 +323.21 KB) 515.74 KB
/entity/create/[type]/[taxonomyId] 994.07 KB (🔴 +310.19 KB) 1.07 MB
/entity/license/update/[id] 57.14 KB (🟢 -71 B) 162.03 KB
/entity/repository/add-revision/[...id] 993.8 KB (🔴 +310.19 KB) 1.07 MB
/entity/repository/compare/[entity_id]/[revision_id] 422.61 KB (🔴 +323.22 KB) 527.49 KB
/entity/repository/history/[id] 69.9 KB (🟢 -70 B) 174.79 KB
/entity/taxonomy/update/[id] 69.45 KB (🟢 -71 B) 174.34 KB
/entity/unrevised 47.21 KB (🟢 -70 B) 152.09 KB
/event/history 123.25 KB (🟢 -71 B) 228.13 KB
/event/history/[...slug] 124.23 KB (🟢 -70 B) 229.11 KB
/event/history/user/profile/[username] 126.62 KB (🟢 -71 B) 231.5 KB
/gleichungs-app 164.22 KB (🟢 -71 B) 269.11 KB
/informatik 486.64 KB (🔴 +323.23 KB) 591.53 KB
/jobs/[[...jobId]] 51.64 KB (🟢 -71 B) 156.53 KB
/legal 40.43 KB (🟢 -70 B) 145.32 KB
/lerntipps 486.64 KB (🔴 +323.23 KB) 591.53 KB
/license/detail/[id] 397.91 KB (🔴 +323.22 KB) 502.8 KB
/mathe 486.64 KB (🔴 +323.23 KB) 591.52 KB
/mathe-aufgaben 41.17 KB (🟢 -70 B) 146.06 KB
/mathe-pruefungen/[region] 77.54 KB (🟢 -69 B) 182.43 KB
/metadata 50.08 KB (🟢 -73 B) 154.96 KB
/nachhaltigkeit 486.65 KB (🔴 +323.23 KB) 591.53 KB
/page/create 993.78 KB (🔴 +310.19 KB) 1.07 MB
/pages 58.46 KB (🟢 -70 B) 163.34 KB
/privacy 44.1 KB (🟢 -70 B) 148.98 KB
/search 42.43 KB (🟢 -69 B) 147.32 KB
/spenden 54.77 KB (🟢 -70 B) 159.65 KB
/subscriptions/manage 106.33 KB (🟢 -69 B) 211.21 KB
/taxonomy/term/[copyOrMove]/batch/[id] 84.21 KB (🟢 -14 B) 189.09 KB
/taxonomy/term/create/[parent_id]/[id] 993.53 KB (🔴 +310.19 KB) 1.07 MB
/taxonomy/term/sort/entities/[id] 91.92 KB (🟢 -61 B) 196.8 KB
/taxonomy/term/update/[id] 993.48 KB (🔴 +310.19 KB) 1.07 MB
/team 48.17 KB (🟢 -70 B) 153.06 KB
/terms 40.46 KB (🟢 -68 B) 145.34 KB
/user/[...userslug] 40.26 KB (🟢 -69 B) 145.14 KB
/user/me 40.25 KB (🟢 -69 B) 145.13 KB
/user/notifications 125.58 KB (🟢 -70 B) 230.47 KB
/user/profile/[username] 503.51 KB (🔴 +321.03 KB) 608.39 KB
/user/settings 995.45 KB (🔴 +310.19 KB) 1.07 MB
/uuid/recycle-bin 80.57 KB (🟢 -70 B) 185.45 KB
/wallet 43.16 KB (🟢 -69 B) 148.04 KB
/willkommen 86.79 KB (🟡 +101 B) 191.67 KB
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

Next to the size is how much the size has increased or decreased compared with the base branch of this 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.

@elbotho elbotho marked this pull request as draft December 23, 2024 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant