frontend icon indicating copy to clipboard operation
frontend copied to clipboard

refactor(editor): try replacing editorContent with normal child

Open elbotho opened this issue 11 months ago • 3 comments

(problem with event 145590, investigate after migration)

elbotho avatar Feb 13 '25 19:02 elbotho

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

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Feb 27, 2025 10:53am

vercel[bot] avatar Feb 13 '25 19:02 vercel[bot]

📦 Next.js Bundle Analysis for @serlo/frontend

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

🎉 Global Bundle Size Decreased

Page Size (compressed)
global 105.37 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!

Five Pages Changed Size

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

Page Size (compressed) First Load
/entity/create/[type]/[taxonomyId] 223.6 KB (🟢 -112 B) 328.97 KB
/entity/repository/add-revision/[...id] 223.26 KB (🟢 -113 B) 328.63 KB
/page/create 223.27 KB (🟢 -112 B) 328.64 KB
/taxonomy/term/create/[parent_id]/[id] 222.98 KB (🟢 -107 B) 328.34 KB
/user/settings 224.99 KB (🟢 -125 B) 330.36 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.

github-actions[bot] avatar Feb 13 '25 19:02 github-actions[bot]

@hejtful I added some adaptations and some more refactoring. Mind having another look?

elbotho avatar Feb 19 '25 00:02 elbotho