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

fix(interactive-video): bugfixes/improvements #4392

Merged
merged 3 commits into from
Jan 13, 2025

Conversation

elbotho
Copy link
Member

@elbotho elbotho commented Jan 13, 2025

Some bugfixes/improvements following Bastis feedback

Demo

Copy link

vercel bot commented Jan 13, 2025

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

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Jan 13, 2025 11:36am

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.92 KB (🟡 +1 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!

Twenty-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
/[...slug] 94.91 KB (-1 B) 199.83 KB
/___bot_or_not 106.37 KB (-1 B) 211.28 KB
/___editor_preview 663.82 KB (🟡 +5 B) 768.73 KB
/auth/login 89.86 KB (🟡 +2 B) 194.78 KB
/auth/oauth/login 89.87 KB (🟡 +2 B) 194.78 KB
/auth/recovery 74.63 KB (🟡 +2 B) 179.54 KB
/auth/registration 75.43 KB (🟡 +2 B) 180.34 KB
/auth/settings 75.51 KB (🟡 +2 B) 180.42 KB
/auth/verification 74.79 KB (🟡 +2 B) 179.7 KB
/biologie 163.59 KB (-1 B) 268.51 KB
/chemie 163.59 KB (-1 B) 268.5 KB
/content-only/[...slug] 87.01 KB (-1 B) 191.92 KB
/discussions 96.05 KB (-1 B) 200.96 KB
/editor 87.94 KB (-1 B) 192.86 KB
/entity/create/[type]/[taxonomyId] 684.1 KB (🟡 +5 B) 789.01 KB
/entity/repository/add-revision/[...id] 683.83 KB (🟡 +5 B) 788.75 KB
/entity/repository/compare/[entity_id]/[revision_id] 99.57 KB (-1 B) 204.48 KB
/informatik 163.59 KB (-1 B) 268.51 KB
/lerntipps 163.59 KB (-1 B) 268.51 KB
/license/detail/[id] 74.87 KB (-1 B) 179.78 KB
/mathe 163.59 KB (-1 B) 268.5 KB
/nachhaltigkeit 163.6 KB (-1 B) 268.51 KB
/page/create 683.82 KB (🟡 +5 B) 788.73 KB
/privacy 44.17 KB (🟡 +2 B) 149.09 KB
/taxonomy/term/[copyOrMove]/batch/[id] 84.22 KB (-3 B) 189.13 KB
/taxonomy/term/create/[parent_id]/[id] 683.56 KB (🟡 +5 B) 788.48 KB
/taxonomy/term/update/[id] 683.51 KB (🟡 +5 B) 788.43 KB
/user/profile/[username] 182.66 KB (-1 B) 287.57 KB
/user/settings 685.48 KB (🟡 +5 B) 790.4 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 merged commit 3247927 into staging Jan 13, 2025
9 checks passed
@elbotho elbotho deleted the fix/interactive-vid-bugs branch January 13, 2025 13:30
@github-actions github-actions bot mentioned this pull request Jan 13, 2025
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