Skip to content

perf: migrate TestResultsPage to selector store - #441

Open
NesiciCoding wants to merge 1 commit into
perf/selector-store-testlistpagefrom
perf/selector-store-testresultspage
Open

perf: migrate TestResultsPage to selector store#441
NesiciCoding wants to merge 1 commit into
perf/selector-store-testlistpagefrom
perf/selector-store-testresultspage

Conversation

@NesiciCoding

Copy link
Copy Markdown
Owner

Part of the selector-store migration roadmap. Replaces the four domain-hook subscriptions with useStoreSelector/useStoreActions.

Replace the four domain-hook subscriptions with useStoreSelector/useStoreActions so the component reads a single store slice.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@github-actions

Copy link
Copy Markdown

Dependency Review

✅ No vulnerabilities or license issues or OpenSSF Scorecard issues found.

Scanned Files

None

@coderabbitai

coderabbitai Bot commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@NesiciCoding, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 42 minutes

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: 7e50d680-53ce-468b-a1e5-1aed1e9cf612

📥 Commits

Reviewing files that changed from the base of the PR and between 01a3a6b and 1dc87e4.

📒 Files selected for processing (39)
  • src/components/Layout/Sidebar.tsx
  • src/components/Layout/__tests__/Sidebar.test.tsx
  • src/components/Search/GlobalSearch.tsx
  • src/components/__tests__/GlobalSearch.test.tsx
  • src/pages/ActivityDashboardPage.tsx
  • src/pages/ExportPage.tsx
  • src/pages/MarketplacePage.tsx
  • src/pages/ModerationQueuePage.tsx
  • src/pages/NewsFlashesPage.tsx
  • src/pages/RubricBuilder.tsx
  • src/pages/SettingsPage.tsx
  • src/pages/SpeakingSession.tsx
  • src/pages/StudentCefrOverviewPage.tsx
  • src/pages/StudentLearningPathPage.tsx
  • src/pages/StudentPortalPage.tsx
  • src/pages/StudentsPage.tsx
  • src/pages/TestListPage.tsx
  • src/pages/TestResultsPage.tsx
  • src/pages/__tests__/ActivityDashboardPage.extended.test.tsx
  • src/pages/__tests__/ActivityDashboardPage.test.tsx
  • src/pages/__tests__/ExportPage.test.tsx
  • src/pages/__tests__/MarketplacePage.test.tsx
  • src/pages/__tests__/ModerationQueuePage.test.tsx
  • src/pages/__tests__/NewsFlashesPage.test.tsx
  • src/pages/__tests__/RubricBuilder.test.tsx
  • src/pages/__tests__/SettingsPage.extended.test.tsx
  • src/pages/__tests__/SettingsPage.test.tsx
  • src/pages/__tests__/SpeakingSession.extended.test.tsx
  • src/pages/__tests__/SpeakingSession.test.tsx
  • src/pages/__tests__/StudentLearningPathPage.test.tsx
  • src/pages/__tests__/StudentPortalPage.test.tsx
  • src/pages/__tests__/StudentsPage.test.tsx
  • src/pages/__tests__/TestListPage.test.tsx
  • src/pages/__tests__/TestResultsPage.extended.test.tsx
  • src/pages/__tests__/TestResultsPage.test.tsx
  • src/pages/__tests__/pages-phase4.a11y.test.tsx
  • src/pages/__tests__/pages.admin.a11y.test.tsx
  • src/pages/__tests__/pages.smoke.test.tsx
  • src/pages/__tests__/pages.student.a11y.test.tsx

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🟢 Lines 80.39% (🎯 65%) 11042 / 13734
🟢 Statements 78.38% (🎯 65%) 12657 / 16147
🟢 Functions 71.11% (🎯 60%) 3978 / 5594
🟢 Branches 69.46% (🎯 58%) 9370 / 13489
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/components/Layout/Sidebar.tsx 96.55% 57.5% 100% 96.15% 86
src/components/Search/GlobalSearch.tsx 100% 72.72% 100% 100%
src/pages/ActivityDashboardPage.tsx 81.81% 73.43% 84.84% 84.34% 77, 86, 137, 146, 170, 178-183, 196, 212-213, 461-465, 611-613, 667, 674, 702
src/pages/ExportPage.tsx 63.83% 62.9% 64.92% 67.7% 80, 120, 121, 124, 126, 150, 160, 169-172, 180, 209-213, 219, 227, 233-265, 276, 291-292, 305, 310, 337, 344, 354, 361, 365-366, 373, 380, 384, 395-403, 429, 431, 457-477, 495, 510-514, 516, 517, 522, 544, 570-582, 587, 597, 610-626, 671-673, 722-831, 966, 1025-1060, 1082, 1182-1199, 1311-1362, 1444-1460, 1470-1473, 1482-1485, 1507, 1601-1622
src/pages/MarketplacePage.tsx 50% 46.87% 50% 54% 28-30, 103, 124-173, 230-245, 258, 270-287, 311-321, 335, 405-412
src/pages/ModerationQueuePage.tsx 89.47% 51.28% 89.28% 97.77% 41, 45, 49, 61-62, 76, 87
src/pages/NewsFlashesPage.tsx 94.82% 82.35% 94.28% 96% 100, 304, 429
src/pages/RubricBuilder.tsx 66.78% 60.98% 60.07% 68.28% 176-183, 240-248, 287-306, 330, 400, 438-443, 456, 469, 476, 481-482, 540-547, 556-562, 576-589, 604, 610-624, 638-642, 695-712, 757, 838-839, 873-910, 974, 1079-1081, 1147-1150, 1203-1244, 1326, 1348, 1393, 1414-1475, 1490, 1542-1581, 1618-1633, 1656-1709, 1723, 1739-1766, 1786-1797, 1805, 1888, 1914, 1921, 1931-1936, 2050-2056, 2079-2093, 2166, 2169, 2206-2208, 2238, 2246-2251, 2269, 2279, 2293, 2386-2393, 2514-2574, 2638, 2664-2674, 2751-2815, 2842
src/pages/SettingsPage.tsx 71.78% 71.34% 61.53% 74.6% 181, 199, 257-258, 268, 300, 311-312, 324, 327, 331, 338, 344, 350, 363, 378, 467-468, 538, 573-631, 699-748, 826-995, 1128, 1208-1259, 1344-1550, 1746, 1875-1890, 2015-2118, 2141, 2166-2168
src/pages/SpeakingSession.tsx 87.32% 83.2% 83.63% 88.42% 72, 99-101, 121-126, 148, 188, 206, 223, 237-257, 399
src/pages/StudentCefrOverviewPage.tsx 56.75% 64.7% 31.57% 53.12% 94-107, 120-129, 145-447
src/pages/StudentLearningPathPage.tsx 48.1% 41.66% 40.54% 50% 85, 111, 124-132, 141, 163-441
src/pages/StudentPortalPage.tsx 73.14% 66.84% 69.93% 75.43% 36, 83, 92, 194-196, 213, 216, 243-245, 262, 309, 313, 395, 453-480, 508-510, 525-526, 532, 559, 561, 562, 569, 572, 577-587, 599, 615-617, 705-953, 1063, 1116, 1153-1213, 1354-1377, 1478, 1485-1488, 1497, 1541-1636, 1680-1685, 1688-1692, 1752, 1796-1800, 1802-1806, 1809-1814, 1817-1822
src/pages/StudentsPage.tsx 58.55% 48.82% 47.25% 60.53% 100, 112, 119-120, 128-129, 145, 159, 214, 215, 216, 218, 225, 249-252, 330, 335-337, 344, 355-367, 391-401, 421-422, 441, 443, 470, 497-499, 503-505, 509-511, 514, 595-602, 604, 606, 612, 614-633, 655-658, 668-675, 705-722, 755, 831, 937-942, 971-987, 1021-1023, 1102-1112, 1237-1274, 1312-1335, 1368-1369, 1388-1389, 1414-1426, 1439-1789, 1795, 1827, 1846-1850, 1857-1903, 1907
src/pages/TestListPage.tsx 57.83% 54.94% 52% 61.31% 64-67, 72-75, 90, 95, 100-101, 105-118, 126, 139, 147, 161-166, 175-288, 344-347, 426-498, 544-554, 596-598, 733, 773, 774-786
src/pages/TestResultsPage.tsx 92.03% 81.32% 94.44% 95.26% 69, 75, 79, 86, 90, 118, 123, 151, 156, 178, 183, 211, 216, 251, 418, 441, 459, 472
Generated in workflow #1234 for commit 1dc87e4 by the Vitest Coverage Report Action

@NesiciCoding
NesiciCoding changed the base branch from main to perf/selector-store-testlistpage August 13, 2026 14:52
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.

1 participant