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: create students countries stats widget #2406

Merged
merged 5 commits into from
Jan 21, 2024
Merged

Conversation

valerydluski
Copy link
Contributor

@valerydluski valerydluski commented Jan 16, 2024

🟢 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)
  • I followed naming convention rules

🤔 This is a ...

  • New feature
  • Bug fix
  • Performance optimization
  • Refactoring
  • Test Case
  • Documentation update
  • Other

🔗 Related issue link

#2395

💡 Background and solution

image

☑️ Self Check before Merge

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

  • Database migration is added or not needed
  • Documentation is updated/provided or not needed
  • Changes are tested locally

Copy link

github-actions bot commented Jan 16, 2024

📦 Next.js Bundle Analysis

This analysis was generated by the next.js bundle analysis action 🤖

⚠️ Global Bundle Size Increased

Page Size (compressed)
global 111 KB (🟡 +42 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!

New Page Added

The following page was added to the bundle from the code in this PR:

Page Size (compressed) First Load % of Budget (500 KB)
/course/admin/dashboard 253.34 KB 364.34 KB 72.87%

Fifty-four 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.77 KB 403.77 KB 80.75% (🟡 +0.02%)
/404 227.51 KB 338.51 KB 67.70% (🟡 +0.02%)
/admin/courses 388.23 KB 499.23 KB 99.85% (🟡 +0.01%)
/admin/disciplines 333.51 KB 444.51 KB 88.90% (🟡 +0.02%)
/admin/discord-server 360.33 KB 471.33 KB 94.27% (🟡 +0.01%)
/admin/events 360.92 KB 471.92 KB 94.38% (🟡 +0.02%)
/admin/mentor-registry 384.44 KB 495.43 KB 99.09% (🟡 +0.01%)
/admin/notifications 399.37 KB 510.37 KB 102.07% (🟡 +0.02%)
/admin/prompts 340.79 KB 451.79 KB 90.36% (🟡 +0.01%)
/admin/registrations 332.67 KB 443.67 KB 88.73% (🟡 +0.02%)
/admin/tasks 445.45 KB 556.45 KB 111.29% (🟡 +0.02%)
/admin/user-group 384.38 KB 495.38 KB 99.08% (🟡 +0.01%)
/admin/users 275.47 KB 386.47 KB 77.29% (🟡 +0.02%)
/applicants 315.7 KB 426.7 KB 85.34% (🟡 +0.01%)
/course/admin/cross-check-table 472.77 KB 583.77 KB 116.75% (🟡 +0.02%)
/course/admin/events 442.43 KB 553.43 KB 110.69% (🟡 +0.01%)
/course/admin/interviews 383.16 KB 494.16 KB 98.83% (🟡 +0.02%)
/course/admin/mentors 389.5 KB 500.5 KB 100.10% (🟡 +0.02%)
/course/admin/stage-interviews 384.75 KB 495.75 KB 99.15% (🟡 +0.02%)
/course/admin/students 397.44 KB 508.44 KB 101.69% (🟡 +0.01%)
/course/admin/tasks 416.33 KB 527.33 KB 105.47% (🟡 +0.01%)
/course/admin/users 383.19 KB 494.19 KB 98.84% (🟡 +0.01%)
/course/interview/[type]/feedback 348.33 KB 459.33 KB 91.87% (🟡 +0.01%)
/course/mentor/auto-confirm 229.75 KB 340.74 KB 68.15% (🟡 +0.01%)
/course/mentor/confirm 296.49 KB 407.49 KB 81.50% (🟡 +0.01%)
/course/mentor/dashboard 404.07 KB 515.07 KB 103.01% (🟢 -0.05%)
/course/mentor/expel-student 300.55 KB 411.55 KB 82.31% (🟡 +0.01%)
/course/mentor/feedback 302.63 KB 413.62 KB 82.72% (🟡 +0.02%)
/course/mentor/interview-technical-screening 268.84 KB 379.84 KB 75.97% (🟡 +0.01%)
/course/mentor/interview-wait-list 341.7 KB 452.7 KB 90.54% (🟡 +0.02%)
/course/mentor/interviews 352.74 KB 463.74 KB 92.75% (🟡 +0.01%)
/course/mentor/students 252.68 KB 363.68 KB 72.74% (🟡 +0.01%)
/course/schedule 486.42 KB 597.42 KB 119.48% (🟡 +0.02%)
/course/score 341.95 KB 452.94 KB 90.59% (🟡 +0.01%)
/course/student/auto-test 393.88 KB 504.88 KB 100.98% (🟡 +0.01%)
/course/student/auto-test/task 393.79 KB 504.79 KB 100.96% (🟡 +0.01%)
/course/student/cross-check-review 488.32 KB 599.32 KB 119.86% (🟡 +0.02%)
/course/student/cross-check-submit 504.55 KB 615.55 KB 123.11% (🟡 +0.02%)
/course/student/dashboard 400.14 KB 511.14 KB 102.23% (🟢 -0.16%)
/course/student/interviews 306.61 KB 417.61 KB 83.52% (🟡 +0.02%)
/course/submit-scores 417.26 KB 528.26 KB 105.65% (🟡 +0.02%)
/course/team-distributions 385.38 KB 496.38 KB 99.28% (🟡 +0.01%)
/course/teams 431.89 KB 542.89 KB 108.58% (🟡 +0.01%)
/cv/[uuid] 247.73 KB 358.73 KB 71.75% (+/- <0.01%)
/cv/edit 351.71 KB 462.71 KB 92.54% (🟡 +0.02%)
/gratitude 295.01 KB 406.01 KB 81.20% (🟡 +0.02%)
/heroes 401.41 KB 512.41 KB 102.48% (🟡 +0.02%)
/job 171.97 KB 282.97 KB 56.59% (🟡 +0.02%)
/profile 411.54 KB 522.54 KB 104.51% (🟡 +0.01%)
/profile/connection-confirmed 269 KB 380 KB 76.00% (🟡 +0.01%)
/profile/notifications 333.85 KB 444.84 KB 88.97% (🟡 +0.02%)
/registry/epamlearningjs 296.01 KB 407 KB 81.40% (🟡 +0.02%)
/registry/mentor 347.08 KB 458.08 KB 91.62% (🟡 +0.01%)
/registry/student 347.07 KB 458.07 KB 91.61% (🟡 +0.02%)
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.

@valerydluski valerydluski marked this pull request as ready for review January 21, 2024 14:58
@valerydluski valerydluski merged commit 5ca3aaa into master Jan 21, 2024
6 checks passed
@valerydluski valerydluski deleted the issue/2395 branch January 21, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants