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: Lernpfad prototype #4331

Closed
wants to merge 72 commits into from
Closed

feat: Lernpfad prototype #4331

wants to merge 72 commits into from

Conversation

hejtful
Copy link
Contributor

@hejtful hejtful commented Dec 3, 2024

Demo (optimized for 1194x834)

Copy link

vercel bot commented Dec 3, 2024

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

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Dec 9, 2024 3:33pm

Copy link
Contributor

github-actions bot commented Dec 3, 2024

📦 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 105.23 KB (🟡 +375 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!

New Page Added

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

Page Size (compressed) First Load
/___lernpfad_prototype 113.96 KB 219.19 KB

Twenty-one Pages Changed Size

The following pages changed size from the code in this PR compared to its base branch:

Page Size (compressed) First Load
/[...slug] 86.66 KB (🟢 -18 B) 191.9 KB
/___bot_or_not 98.15 KB (🟢 -18 B) 203.38 KB
/___editor_preview 637.2 KB (🟡 +49 B) 742.43 KB
/biologie 155.29 KB (🟢 -18 B) 260.52 KB
/chemie 155.29 KB (🟢 -18 B) 260.52 KB
/content-only/[...slug] 78.76 KB (🟢 -18 B) 183.99 KB
/editor 79.48 KB (🟢 -18 B) 184.71 KB
/entity/create/[type]/[taxonomyId] 657.42 KB (-7 B) 762.65 KB
/entity/repository/add-revision/[...id] 657.16 KB (-6 B) 762.39 KB
/entity/repository/compare/[entity_id]/[revision_id] 91.32 KB (🟢 -18 B) 196.55 KB
/gleichungs-app 164.24 KB (🟢 -51 B) 269.48 KB
/informatik 155.29 KB (🟢 -18 B) 260.52 KB
/lerntipps 155.29 KB (🟢 -18 B) 260.52 KB
/license/detail/[id] 66.65 KB (🟢 -18 B) 171.88 KB
/mathe 155.29 KB (🟢 -18 B) 260.52 KB
/nachhaltigkeit 155.3 KB (🟢 -18 B) 260.53 KB
/page/create 657.14 KB (-7 B) 762.37 KB
/taxonomy/term/create/[parent_id]/[id] 656.89 KB (-7 B) 762.12 KB
/taxonomy/term/update/[id] 656.84 KB (-7 B) 762.07 KB
/user/profile/[username] 174.33 KB (🟢 -18 B) 279.56 KB
/user/settings 658.81 KB (-7 B) 764.04 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
Copy link
Member

elbotho commented Dec 13, 2024

(closing PR, keeping branch and preview)

@elbotho elbotho closed this Dec 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants