Closed valerydluski closed 5 months ago
This analysis was generated by the Next.js Bundle Analysis action. 🤖
Page | Size (compressed) |
---|---|
global |
111 KB (-1 B) |
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!
The following page changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (500 KB ) |
---|---|---|---|
/admin/courses |
388.52 KB |
499.52 KB | 99.90% (🟡 +0.03%) |
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
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
This analysis was generated by the Next.js Bundle Analysis action. 🤖
The following page changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (500 KB ) |
---|---|---|---|
/admin/courses |
388.52 KB |
499.52 KB | 99.90% (🟡 +0.03%) |
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
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
This update enhances the course management system by introducing a new certificateThreshold
property for courses, updating UI elements for better user interaction, and refining data handling in the backend. These changes aim to streamline the certification process and improve the overall user experience.
Files | Change Summary |
---|---|
.../api.ts , .../course.dto.ts , .../create-course.dto.ts , .../update-course.dto.ts , .../spec.json |
Added certificateThreshold property to course DTOs |
.../StudentsWithMentorsCard.tsx |
Changed displayed student count to activeStudentsCount |
.../admin/courses.tsx |
Added "Certificate Threshold" form item, updated layout, and modified functions for certificateThreshold handling |
.../interviews/interviews.service.ts |
Removed redundant condition for efficiency |
.../migrations/1712137476312-Course.ts , .../migrations/index.ts , .../models/course.ts |
Added certificateThreshold to the course model and migrations |
🐇🌟
In the realm of code, where changes abound,
A rabbit hopped in, with ideas profound.
"Let's refine and tweak, make the system sound,
Add thresholds for certs, where achievements are crowned.
With each line of code, solutions are found."
🎓🐾
certificateThreshold
and adding a tooltip in the form for clarity and functionality.Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
This analysis was generated by the Next.js Bundle Analysis action. 🤖
Page | Size (compressed) |
---|---|
global |
111 KB (🟡 +2 B) |
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!
The following page changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (500 KB ) |
---|---|---|---|
/admin/courses |
388.52 KB |
499.52 KB | 99.90% (🟡 +0.03%) |
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
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
This analysis was generated by the Next.js Bundle Analysis action. 🤖
Page | Size (compressed) |
---|---|
global |
111 KB (🟡 +1 B) |
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!
The following page changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (500 KB ) |
---|---|---|---|
/admin/courses |
388.52 KB |
499.52 KB | 99.90% (🟡 +0.03%) |
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
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
This analysis was generated by the Next.js Bundle Analysis action. 🤖
The following page changed size from the code in this PR compared to its base branch:
Page | Size (compressed) | First Load | % of Budget (500 KB ) |
---|---|---|---|
/admin/courses |
388.52 KB |
499.52 KB | 99.90% (🟡 +0.03%) |
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
The "Budget %" column shows what percentage of your performance budget the First Load total takes up. For example, if your budget was 100kb, and a given page's first load size was 10kb, it would be 10% of your budget. You can also see how much this has increased or decreased compared to the base branch of your PR. If this percentage has increased by 5% or more, there will be a red status indicator applied, indicating that special attention should be given to this. If you see "+/- <0.01%" it means that there was a change in bundle size, but it is a trivial enough amount that it can be ignored.
🟢 Add
deploy
label if you want to deploy this Pull Request to staging environment🧑⚖️ Pull Request Naming Convention
Title should follow Conventional Commits
Do not put issue id in title
Do not put WIP in title. Use Draft PR functionality
Consider to add
area:*
label(s)[x] I followed naming convention rules
🤔 This is a ...
🔗 Related issue link
2441
💡 Background and solution
☑️ Self Check before Merge
⚠️ Please check all items below before review. ⚠️
Summary by CodeRabbit
New Features
Bug Fixes
Refactor
Database Changes
certificateThreshold
column to thecourse
table with a migration strategy in place.