serlo / frontend

Next.js app that serves serlo.org
https://serlo.org
Apache License 2.0
36 stars 9 forks source link

refactor(taxonomy): Remove `taxonomyId` #3882

Closed kulla closed 1 month ago

kulla commented 1 month ago

After https://github.com/serlo/db-migrations/issues/346 there is no taxonomy table / taxonomy ID for a taxonomy term => Thus I would delete the quest of it in the query so that I can delete this field in the API in https://github.com/serlo/api.serlo.org/pull/1561

vercel[bot] commented 1 month ago

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

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Jun 12, 2024 3:29pm
github-actions[bot] commented 1 month ago

📦 Next.js Bundle Analysis for @serlo/frontend

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

Seven Pages Changed Size

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

Page Size (compressed) First Load
/___editor_preview 484.79 KB (-20 B) 588.64 KB
/entity/create/[type]/[taxonomyId] 486.17 KB (-19 B) 590.03 KB
/entity/repository/add-revision/[...id] 485.47 KB (-16 B) 589.33 KB
/page/create 485.46 KB (-19 B) 589.32 KB
/taxonomy/term/create/[parent_id]/[id] 485.22 KB (-20 B) 589.08 KB
/taxonomy/term/update/[id] 485.17 KB (-15 B) 589.03 KB
/user/settings 484.13 KB (-23 B) 587.98 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.