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(copy content button): make "de" only and add some explanation #4362

Conversation

elbotho
Copy link
Member

@elbotho elbotho commented Dec 18, 2024

Demo

text content now improved by vicky and good to go.

image

Copy link

vercel bot commented Dec 18, 2024

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

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Dec 19, 2024 11:46am

Copy link
Contributor

github-actions bot commented Dec 18, 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 104.87 KB (🟡 +2 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-three 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.71 KB (🟡 +16 B) 191.58 KB
/___editor_preview 643.08 KB (-46 B) 747.95 KB
/biologie 155.31 KB (🟢 -111 B) 260.18 KB
/chemie 155.3 KB (🟢 -111 B) 260.17 KB
/content-only/[...slug] 78.81 KB (🟡 +16 B) 183.68 KB
/entity/create/[type]/[taxonomyId] 663.36 KB (-46 B) 768.23 KB
/entity/repository/add-revision/[...id] 663.09 KB (-46 B) 767.96 KB
/entity/repository/compare/[entity_id]/[revision_id] 91.37 KB (🟡 +16 B) 196.24 KB
/event/history 123.23 KB (🟢 -105 B) 228.1 KB
/event/history/[...slug] 124.21 KB (🟢 -105 B) 229.08 KB
/event/history/user/profile/[username] 126.6 KB (🟢 -105 B) 231.47 KB
/informatik 155.31 KB (🟢 -111 B) 260.18 KB
/jobs/[[...jobId]] 51.71 KB (🟡 +15 B) 156.58 KB
/lerntipps 155.31 KB (🟢 -111 B) 260.18 KB
/mathe 155.3 KB (🟢 -111 B) 260.17 KB
/nachhaltigkeit 155.31 KB (🟢 -111 B) 260.18 KB
/page/create 663.08 KB (-46 B) 767.95 KB
/subscriptions/manage 106.31 KB (🟢 -111 B) 211.18 KB
/taxonomy/term/create/[parent_id]/[id] 662.83 KB (-46 B) 767.69 KB
/taxonomy/term/update/[id] 662.77 KB (-46 B) 767.64 KB
/user/notifications 125.57 KB (🟢 -105 B) 230.44 KB
/user/profile/[username] 174.37 KB (🟢 -89 B) 279.24 KB
/user/settings 664.74 KB (-46 B) 769.61 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.

@hejtful hejtful merged commit 66a7333 into feat/bildungsraum-share-copy-editor-content Dec 19, 2024
9 checks passed
@hejtful hejtful deleted the share-copy-button-add-explanation branch December 19, 2024 14:38
@github-actions github-actions bot mentioned this pull request Dec 19, 2024
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.

2 participants