rolling-scopes / rsschool-app

An application for the RS School education process
https://app.rs.school
Mozilla Public License 2.0
9.88k stars 202 forks source link

feat: add new badges #2469

Closed valerydluski closed 2 months ago

valerydluski commented 2 months ago

🟢 Add deploy label if you want to deploy this Pull Request to staging environment

🧑‍⚖️ Pull Request Naming Convention


🤔 This is a ...

🔗 Related issue link

Describe the source of requirement, like related issue link.

💡 Background and solution

image

☑️ Self Check before Merge

⚠️ Please check all items below before review. ⚠️

github-actions[bot] commented 2 months ago

📦 Next.js Bundle Analysis for client

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

Fifty-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 % of Budget (500 KB)
/ 292.96 KB 403.98 KB 80.80% (+/- <0.01%)
/404 227.7 KB 338.72 KB 67.74% (🟡 +0.01%)
/admin/courses 388.61 KB 499.63 KB 99.93% (+/- <0.01%)
/admin/disciplines 333.7 KB 444.71 KB 88.94% (🟡 +0.01%)
/admin/discord-server 360.51 KB 471.53 KB 94.31% (+/- <0.01%)
/admin/events 361.13 KB 472.14 KB 94.43% (+/- <0.01%)
/admin/mentor-registry 384.62 KB 495.64 KB 99.13% (+/- <0.01%)
/admin/notifications 399.56 KB 510.57 KB 102.11% (🟡 +0.01%)
/admin/prompts 340.98 KB 452 KB 90.40% (🟡 +0.01%)
/admin/registrations 332.86 KB 443.88 KB 88.78% (+/- <0.01%)
/admin/tasks 445.64 KB 556.66 KB 111.33% (🟡 +0.01%)
/admin/user-group 384.56 KB 495.58 KB 99.12% (+/- <0.01%)
/admin/users 275.67 KB 386.69 KB 77.34% (+/- <0.01%)
/applicants 315.9 KB 426.92 KB 85.38% (🟡 +0.01%)
/course/admin/cross-check-table 474.16 KB 585.18 KB 117.04% (+/- <0.01%)
/course/admin/events 442.61 KB 553.62 KB 110.72% (🟡 +0.01%)
/course/admin/interviews 383.35 KB 494.36 KB 98.87% (🟡 +0.01%)
/course/admin/mentors 389.61 KB 500.63 KB 100.13% (+/- <0.01%)
/course/admin/stage-interviews 384.94 KB 495.96 KB 99.19% (🟡 +0.01%)
/course/admin/students 397.63 KB 508.65 KB 101.73% (+/- <0.01%)
/course/admin/tasks 416.52 KB 527.54 KB 105.51% (+/- <0.01%)
/course/admin/users 383.37 KB 494.39 KB 98.88% (+/- <0.01%)
/course/interview/[type]/feedback 348.88 KB 459.9 KB 91.98% (🟡 +0.01%)
/course/mentor/auto-confirm 229.93 KB 340.95 KB 68.19% (+/- <0.01%)
/course/mentor/confirm 296.73 KB 407.75 KB 81.55% (+/- <0.01%)
/course/mentor/dashboard 404.26 KB 515.28 KB 103.06% (+/- <0.01%)
/course/mentor/expel-student 300.75 KB 411.76 KB 82.35% (🟡 +0.01%)
/course/mentor/feedback 302.82 KB 413.83 KB 82.77% (+/- <0.01%)
/course/mentor/interview-technical-screening 269.04 KB 380.06 KB 76.01% (🟡 +0.01%)
/course/mentor/interview-wait-list 341.89 KB 452.9 KB 90.58% (🟡 +0.01%)
/course/mentor/interviews 352.95 KB 463.96 KB 92.79% (🟡 +0.01%)
/course/mentor/students 252.88 KB 363.9 KB 72.78% (+/- <0.01%)
/course/schedule 486.6 KB 597.62 KB 119.52% (🟡 +0.01%)
/course/score 342.15 KB 453.16 KB 90.63% (🟡 +0.01%)
/course/stats 289.49 KB 400.51 KB 80.10% (🟡 +0.01%)
/course/student/auto-test 394.07 KB 505.08 KB 101.02% (+/- <0.01%)
/course/student/auto-test/task 393.98 KB 505 KB 101.00% (+/- <0.01%)
/course/student/cross-check-review 488.53 KB 599.55 KB 119.91% (+/- <0.01%)
/course/student/cross-check-submit 504.74 KB 615.76 KB 123.15% (🟡 +0.01%)
/course/student/dashboard 400.33 KB 511.35 KB 102.27% (🟡 +0.01%)
/course/student/interviews 306.8 KB 417.82 KB 83.56% (🟡 +0.01%)
/course/submit-scores 417.45 KB 528.46 KB 105.69% (🟡 +0.01%)
/course/team-distributions 385.56 KB 496.58 KB 99.32% (+/- <0.01%)
/course/teams 432.09 KB 543.1 KB 108.62% (🟡 +0.01%)
/cv/[uuid] 247.87 KB 358.89 KB 71.78% (+/- <0.01%)
/cv/edit 351.92 KB 462.93 KB 92.59% (+/- <0.01%)
/gratitude 295.21 KB 406.23 KB 81.25% (+/- <0.01%)
/heroes 401.66 KB 512.67 KB 102.53% (🟡 +0.02%)
/job 173.95 KB 284.97 KB 56.99% (🟡 +0.01%)
/profile 411.8 KB 522.82 KB 104.56% (🟡 +0.02%)
/profile/connection-confirmed 269.2 KB 380.22 KB 76.04% (🟡 +0.01%)
/profile/notifications 334.03 KB 445.04 KB 89.01% (+/- <0.01%)
/registry/epamlearningjs 296.18 KB 407.2 KB 81.44% (🟡 +0.01%)
/registry/mentor 347.29 KB 458.3 KB 91.66% (🟡 +0.01%)
/registry/student 347.28 KB 458.29 KB 91.66% (+/- <0.01%)
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

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.