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(editor): add ai experiments #4348

Draft
wants to merge 31 commits into
base: staging
Choose a base branch
from
Draft

Conversation

elbotho
Copy link
Member

@elbotho elbotho commented Dec 10, 2024

moving the experiments from #4064 over into the editor so we can test them also in integrations.
not meant for production.
i try to keep a clear separation between the experiments and the rest of the editor if possible.

status:

  • change and generate: improvements needed
  • autocomplete: not started

Demo

Copy link

vercel bot commented Dec 10, 2024

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

Name Status Preview Updated (UTC)
frontend ✅ Ready (Inspect) Visit Preview Feb 3, 2025 4:12pm

Copy link
Contributor

github-actions bot commented Dec 10, 2024

📦 Next.js Bundle Analysis for @serlo/frontend

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

Twenty-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
/[...slug] 106.5 KB (🟡 +508 B) 211.89 KB
/___bot_or_not 114.66 KB (🟡 +507 B) 220.05 KB
/___editor_preview 203.76 KB (🟡 +2.46 KB) 309.15 KB
/___old_comments 97.39 KB (-3 B) 202.78 KB
/biologie 175.25 KB (🟡 +508 B) 280.63 KB
/chemie 175.25 KB (🟡 +506 B) 280.63 KB
/content-only/[...slug] 95.49 KB (🟡 +507 B) 200.87 KB
/discussions 93.93 KB (-3 B) 199.32 KB
/editor 58.22 KB (🟡 +8 B) 163.61 KB
/entity/create/[type]/[taxonomyId] 225.46 KB (🟡 +2.47 KB) 330.84 KB
/entity/repository/add-revision/[...id] 225.12 KB (🟡 +2.47 KB) 330.51 KB
/entity/repository/compare/[entity_id]/[revision_id] 111.46 KB (🟡 +508 B) 216.84 KB
/gleichungs-app 162.19 KB (-3 B) 267.57 KB
/informatik 175.25 KB (🟡 +507 B) 280.63 KB
/lerntipps 175.25 KB (🟡 +508 B) 280.63 KB
/license/detail/[id] 82.65 KB (🟡 +508 B) 188.03 KB
/mathe 175.25 KB (🟡 +508 B) 280.63 KB
/nachhaltigkeit 175.26 KB (🟡 +507 B) 280.64 KB
/page/create 225.12 KB (🟡 +2.47 KB) 330.51 KB
/taxonomy/term/[copyOrMove]/batch/[id] 70.24 KB (🟡 +71 B) 175.62 KB
/taxonomy/term/create/[parent_id]/[id] 224.83 KB (🟡 +2.47 KB) 330.21 KB
/taxonomy/term/sort/entities/[id] 90.1 KB (🟡 +71 B) 195.48 KB
/taxonomy/term/update/[id] 224.75 KB (🟡 +2.47 KB) 330.13 KB
/user/profile/[username] 193.74 KB (🟡 +510 B) 299.12 KB
/user/settings 226.91 KB (🟡 +2.47 KB) 332.29 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.

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.

3 participants