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 filter for mentors review table #2499

Closed valerydluski closed 5 days ago

valerydluski commented 5 days 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 5 days ago

📦 Next.js Bundle Analysis for client

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

Fifty-six 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)
/ 294.56 KB 405.57 KB 81.11% (🟡 +0.01%)
/404 229.24 KB 340.25 KB 68.05% (🟡 +0.01%)
/admin/courses 390.28 KB 501.3 KB 100.26% (🟡 +0.01%)
/admin/disciplines 335.24 KB 446.25 KB 89.25% (🟡 +0.01%)
/admin/discord-server 362.02 KB 473.04 KB 94.61% (🟡 +0.01%)
/admin/events 362.67 KB 473.68 KB 94.74% (🟡 +0.01%)
/admin/mentor-registry 386.44 KB 497.46 KB 99.49% (🟡 +0.01%)
/admin/notifications 401.09 KB 512.11 KB 102.42% (🟡 +0.01%)
/admin/prompts 342.52 KB 453.54 KB 90.71% (🟡 +0.01%)
/admin/registrations 334.11 KB 445.13 KB 89.03% (🟡 +0.01%)
/admin/tasks 447.48 KB 558.5 KB 111.70% (🟡 +0.01%)
/admin/user-group 386.09 KB 497.11 KB 99.42% (🟡 +0.01%)
/admin/users 277.21 KB 388.22 KB 77.64% (🟡 +0.01%)
/applicants 317.39 KB 428.4 KB 85.68% (🟡 +0.01%)
/course/admin/cross-check-table 474.92 KB 585.94 KB 117.19% (🟡 +0.01%)
/course/admin/events 444.28 KB 555.29 KB 111.06% (🟡 +0.01%)
/course/admin/interviews 384.88 KB 495.9 KB 99.18% (🟡 +0.01%)
/course/admin/mentor-tasks-review 334.07 KB 445.08 KB 89.02% (🟡 +0.02%)
/course/admin/mentors 390.96 KB 501.97 KB 100.39% (🟡 +0.01%)
/course/admin/stage-interviews 386.48 KB 497.49 KB 99.50% (🟡 +0.01%)
/course/admin/students 398.98 KB 509.99 KB 102.00% (🟡 +0.01%)
/course/admin/tasks 418.18 KB 529.19 KB 105.84% (🟡 +0.01%)
/course/admin/users 384.91 KB 495.92 KB 99.18% (🟡 +0.01%)
/course/interview/[type]/feedback 349.25 KB 460.26 KB 92.05% (🟡 +0.01%)
/course/mentor/auto-confirm 231.52 KB 342.53 KB 68.51% (🟡 +0.01%)
/course/mentor/confirm 298.33 KB 409.34 KB 81.87% (🟡 +0.01%)
/course/mentor/dashboard 406.58 KB 517.59 KB 103.52% (🟡 +0.01%)
/course/mentor/expel-student 302.29 KB 413.3 KB 82.66% (🟡 +0.01%)
/course/mentor/feedback 304.36 KB 415.38 KB 83.08% (+/- <0.01%)
/course/mentor/interview-technical-screening 270.58 KB 381.59 KB 76.32% (🟡 +0.01%)
/course/mentor/interview-wait-list 343.47 KB 454.49 KB 90.90% (🟡 +0.01%)
/course/mentor/interviews 354.17 KB 465.18 KB 93.04% (🟡 +0.01%)
/course/mentor/students 254.42 KB 365.44 KB 73.09% (🟡 +0.01%)
/course/schedule 488.23 KB 599.25 KB 119.85% (🟡 +0.01%)
/course/score 343.23 KB 454.25 KB 90.85% (🟡 +0.01%)
/course/stats 291.12 KB 402.13 KB 80.43% (🟡 +0.01%)
/course/student/auto-test 396.29 KB 507.31 KB 101.46% (🟡 +0.01%)
/course/student/auto-test/task 396.2 KB 507.22 KB 101.44% (🟡 +0.01%)
/course/student/cross-check-review 489.3 KB 600.32 KB 120.06% (🟡 +0.01%)
/course/student/cross-check-submit 505.63 KB 616.64 KB 123.33% (🟡 +0.01%)
/course/student/dashboard 402.09 KB 513.11 KB 102.62% (🟡 +0.01%)
/course/student/interviews 308.35 KB 419.36 KB 83.87% (🟡 +0.01%)
/course/submit-scores 418.65 KB 529.67 KB 105.93% (🟡 +0.01%)
/course/team-distributions 387.28 KB 498.3 KB 99.66% (🟡 +0.01%)
/course/teams 433.67 KB 544.68 KB 108.94% (🟡 +0.01%)
/cv/[uuid] 249.12 KB 360.14 KB 72.03% (🟡 +0.01%)
/cv/edit 353.54 KB 464.55 KB 92.91% (🟡 +0.01%)
/gratitude 296.75 KB 407.77 KB 81.55% (🟡 +0.01%)
/heroes 403.13 KB 514.14 KB 102.83% (🟡 +0.01%)
/job 175.46 KB 286.48 KB 57.30% (+/- <0.01%)
/profile 413.74 KB 524.76 KB 104.95% (🟡 +0.01%)
/profile/connection-confirmed 270.74 KB 381.76 KB 76.35% (🟡 +0.01%)
/profile/notifications 335.52 KB 446.54 KB 89.31% (🟡 +0.01%)
/registry/epamlearningjs 297.75 KB 408.77 KB 81.75% (🟡 +0.01%)
/registry/mentor 348 KB 459.01 KB 91.80% (🟡 +0.01%)
/registry/student 347.99 KB 459.01 KB 91.80% (🟡 +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.

github-actions[bot] commented 5 days ago

📦 Next.js Bundle Analysis for client

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

Fifty-six 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)
/ 294.56 KB 405.57 KB 81.11% (🟡 +0.01%)
/404 229.24 KB 340.25 KB 68.05% (🟡 +0.01%)
/admin/courses 390.28 KB 501.3 KB 100.26% (🟡 +0.01%)
/admin/disciplines 335.24 KB 446.25 KB 89.25% (🟡 +0.01%)
/admin/discord-server 362.02 KB 473.04 KB 94.61% (🟡 +0.01%)
/admin/events 362.67 KB 473.68 KB 94.74% (🟡 +0.01%)
/admin/mentor-registry 386.44 KB 497.46 KB 99.49% (🟡 +0.01%)
/admin/notifications 401.09 KB 512.11 KB 102.42% (🟡 +0.01%)
/admin/prompts 342.52 KB 453.54 KB 90.71% (🟡 +0.01%)
/admin/registrations 334.11 KB 445.13 KB 89.03% (🟡 +0.01%)
/admin/tasks 447.48 KB 558.5 KB 111.70% (🟡 +0.01%)
/admin/user-group 386.09 KB 497.11 KB 99.42% (🟡 +0.01%)
/admin/users 277.21 KB 388.22 KB 77.64% (🟡 +0.01%)
/applicants 317.39 KB 428.4 KB 85.68% (🟡 +0.01%)
/course/admin/cross-check-table 474.92 KB 585.94 KB 117.19% (🟡 +0.01%)
/course/admin/events 444.28 KB 555.29 KB 111.06% (🟡 +0.01%)
/course/admin/interviews 384.88 KB 495.9 KB 99.18% (🟡 +0.01%)
/course/admin/mentor-tasks-review 334.07 KB 445.08 KB 89.02% (🟡 +0.02%)
/course/admin/mentors 390.96 KB 501.97 KB 100.39% (🟡 +0.01%)
/course/admin/stage-interviews 386.48 KB 497.49 KB 99.50% (🟡 +0.01%)
/course/admin/students 398.98 KB 509.99 KB 102.00% (🟡 +0.01%)
/course/admin/tasks 418.18 KB 529.19 KB 105.84% (🟡 +0.01%)
/course/admin/users 384.91 KB 495.92 KB 99.18% (🟡 +0.01%)
/course/interview/[type]/feedback 349.25 KB 460.26 KB 92.05% (🟡 +0.01%)
/course/mentor/auto-confirm 231.52 KB 342.53 KB 68.51% (🟡 +0.01%)
/course/mentor/confirm 298.33 KB 409.34 KB 81.87% (🟡 +0.01%)
/course/mentor/dashboard 406.58 KB 517.59 KB 103.52% (🟡 +0.01%)
/course/mentor/expel-student 302.29 KB 413.3 KB 82.66% (🟡 +0.01%)
/course/mentor/feedback 304.36 KB 415.38 KB 83.08% (+/- <0.01%)
/course/mentor/interview-technical-screening 270.58 KB 381.59 KB 76.32% (🟡 +0.01%)
/course/mentor/interview-wait-list 343.47 KB 454.49 KB 90.90% (🟡 +0.01%)
/course/mentor/interviews 354.17 KB 465.18 KB 93.04% (🟡 +0.01%)
/course/mentor/students 254.42 KB 365.44 KB 73.09% (🟡 +0.01%)
/course/schedule 488.23 KB 599.25 KB 119.85% (🟡 +0.01%)
/course/score 343.23 KB 454.25 KB 90.85% (🟡 +0.01%)
/course/stats 291.12 KB 402.13 KB 80.43% (🟡 +0.01%)
/course/student/auto-test 396.29 KB 507.31 KB 101.46% (🟡 +0.01%)
/course/student/auto-test/task 396.2 KB 507.22 KB 101.44% (🟡 +0.01%)
/course/student/cross-check-review 489.3 KB 600.32 KB 120.06% (🟡 +0.01%)
/course/student/cross-check-submit 505.63 KB 616.64 KB 123.33% (🟡 +0.01%)
/course/student/dashboard 402.09 KB 513.11 KB 102.62% (🟡 +0.01%)
/course/student/interviews 308.35 KB 419.36 KB 83.87% (🟡 +0.01%)
/course/submit-scores 418.65 KB 529.67 KB 105.93% (🟡 +0.01%)
/course/team-distributions 387.28 KB 498.3 KB 99.66% (🟡 +0.01%)
/course/teams 433.67 KB 544.68 KB 108.94% (🟡 +0.01%)
/cv/[uuid] 249.12 KB 360.14 KB 72.03% (🟡 +0.01%)
/cv/edit 353.54 KB 464.55 KB 92.91% (🟡 +0.01%)
/gratitude 296.75 KB 407.77 KB 81.55% (🟡 +0.01%)
/heroes 403.13 KB 514.14 KB 102.83% (🟡 +0.01%)
/job 175.46 KB 286.48 KB 57.30% (+/- <0.01%)
/profile 413.74 KB 524.76 KB 104.95% (🟡 +0.01%)
/profile/connection-confirmed 270.74 KB 381.76 KB 76.35% (🟡 +0.01%)
/profile/notifications 335.52 KB 446.54 KB 89.31% (🟡 +0.01%)
/registry/epamlearningjs 297.75 KB 408.77 KB 81.75% (🟡 +0.01%)
/registry/mentor 348 KB 459.01 KB 91.80% (🟡 +0.01%)
/registry/student 347.99 KB 459.01 KB 91.80% (🟡 +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.

github-actions[bot] commented 5 days ago

📦 Next.js Bundle Analysis for client

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

Fifty-six 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)
/ 294.56 KB 405.57 KB 81.11% (🟡 +0.01%)
/404 229.24 KB 340.25 KB 68.05% (🟡 +0.01%)
/admin/courses 390.28 KB 501.3 KB 100.26% (🟡 +0.01%)
/admin/disciplines 335.24 KB 446.25 KB 89.25% (🟡 +0.01%)
/admin/discord-server 362.02 KB 473.04 KB 94.61% (🟡 +0.01%)
/admin/events 362.67 KB 473.68 KB 94.74% (🟡 +0.01%)
/admin/mentor-registry 386.44 KB 497.46 KB 99.49% (🟡 +0.01%)
/admin/notifications 401.09 KB 512.11 KB 102.42% (🟡 +0.01%)
/admin/prompts 342.52 KB 453.54 KB 90.71% (🟡 +0.01%)
/admin/registrations 334.11 KB 445.13 KB 89.03% (🟡 +0.01%)
/admin/tasks 447.48 KB 558.5 KB 111.70% (🟡 +0.01%)
/admin/user-group 386.09 KB 497.11 KB 99.42% (🟡 +0.01%)
/admin/users 277.21 KB 388.22 KB 77.64% (🟡 +0.01%)
/applicants 317.39 KB 428.4 KB 85.68% (🟡 +0.01%)
/course/admin/cross-check-table 474.92 KB 585.94 KB 117.19% (🟡 +0.01%)
/course/admin/events 444.28 KB 555.29 KB 111.06% (🟡 +0.01%)
/course/admin/interviews 384.88 KB 495.9 KB 99.18% (🟡 +0.01%)
/course/admin/mentor-tasks-review 334.07 KB 445.08 KB 89.02% (🟡 +0.02%)
/course/admin/mentors 390.96 KB 501.97 KB 100.39% (🟡 +0.01%)
/course/admin/stage-interviews 386.48 KB 497.49 KB 99.50% (🟡 +0.01%)
/course/admin/students 398.98 KB 509.99 KB 102.00% (🟡 +0.01%)
/course/admin/tasks 418.18 KB 529.19 KB 105.84% (🟡 +0.01%)
/course/admin/users 384.91 KB 495.92 KB 99.18% (🟡 +0.01%)
/course/interview/[type]/feedback 349.25 KB 460.26 KB 92.05% (🟡 +0.01%)
/course/mentor/auto-confirm 231.52 KB 342.53 KB 68.51% (🟡 +0.01%)
/course/mentor/confirm 298.33 KB 409.34 KB 81.87% (🟡 +0.01%)
/course/mentor/dashboard 406.58 KB 517.59 KB 103.52% (🟡 +0.01%)
/course/mentor/expel-student 302.29 KB 413.3 KB 82.66% (🟡 +0.01%)
/course/mentor/feedback 304.36 KB 415.38 KB 83.08% (+/- <0.01%)
/course/mentor/interview-technical-screening 270.58 KB 381.59 KB 76.32% (🟡 +0.01%)
/course/mentor/interview-wait-list 343.47 KB 454.49 KB 90.90% (🟡 +0.01%)
/course/mentor/interviews 354.17 KB 465.18 KB 93.04% (🟡 +0.01%)
/course/mentor/students 254.42 KB 365.44 KB 73.09% (🟡 +0.01%)
/course/schedule 488.23 KB 599.25 KB 119.85% (🟡 +0.01%)
/course/score 343.23 KB 454.25 KB 90.85% (🟡 +0.01%)
/course/stats 291.12 KB 402.13 KB 80.43% (🟡 +0.01%)
/course/student/auto-test 396.29 KB 507.31 KB 101.46% (🟡 +0.01%)
/course/student/auto-test/task 396.2 KB 507.22 KB 101.44% (🟡 +0.01%)
/course/student/cross-check-review 489.3 KB 600.32 KB 120.06% (🟡 +0.01%)
/course/student/cross-check-submit 505.63 KB 616.64 KB 123.33% (🟡 +0.01%)
/course/student/dashboard 402.09 KB 513.11 KB 102.62% (🟡 +0.01%)
/course/student/interviews 308.35 KB 419.36 KB 83.87% (🟡 +0.01%)
/course/submit-scores 418.65 KB 529.67 KB 105.93% (🟡 +0.01%)
/course/team-distributions 387.28 KB 498.3 KB 99.66% (🟡 +0.01%)
/course/teams 433.67 KB 544.68 KB 108.94% (🟡 +0.01%)
/cv/[uuid] 249.12 KB 360.14 KB 72.03% (🟡 +0.01%)
/cv/edit 353.54 KB 464.55 KB 92.91% (🟡 +0.01%)
/gratitude 296.75 KB 407.77 KB 81.55% (🟡 +0.01%)
/heroes 403.13 KB 514.14 KB 102.83% (🟡 +0.01%)
/job 175.46 KB 286.48 KB 57.30% (+/- <0.01%)
/profile 413.74 KB 524.76 KB 104.95% (🟡 +0.01%)
/profile/connection-confirmed 270.74 KB 381.76 KB 76.35% (🟡 +0.01%)
/profile/notifications 335.52 KB 446.54 KB 89.31% (🟡 +0.01%)
/registry/epamlearningjs 297.75 KB 408.77 KB 81.75% (🟡 +0.01%)
/registry/mentor 348 KB 459.01 KB 91.80% (🟡 +0.01%)
/registry/student 347.99 KB 459.01 KB 91.80% (🟡 +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.