Skip to content

Sayali : pass reviewerCount and reviewerNames to PR grading screen for DB…#5203

Open
sayali-2308 wants to merge 1 commit intodevelopmentfrom
Sayali_Fix_PRGrading_ReviewerCount
Open

Sayali : pass reviewerCount and reviewerNames to PR grading screen for DB…#5203
sayali-2308 wants to merge 1 commit intodevelopmentfrom
Sayali_Fix_PRGrading_ReviewerCount

Conversation

@sayali-2308
Copy link
Copy Markdown
Contributor

Description

Fixes #33 (Priority High) - Follow-up fix for PR Grading Screen: DB configs now show correct reviewer count

Related PRs:

Follow-up to merged PR #4935 (Sayali - add Create Test Configuration button and modal to PR Grading Screen)

Main changes explained:

  • Updated PRGradingTest.jsx to store reviewerCount and reviewerNames in dynamic team objects fetched from DB
  • Updated PRGradingScreen/index.jsx to generate correct number of reviewers from DB config when a non-static team is selected

How to test:

  1. Checkout branch Sayali_Fix_PRGrading_ReviewerCount
  2. npm install && npm run start:local
  3. Clear cache, log in as admin
  4. Navigate to /pr-grading-test
  5. Click + Create Test Configuration with Reviewer Count = 4 and some reviewer names
  6. Click the newly created config
  7. Verify exactly 4 reviewers appear in the grading screen
  8. Verify reviewer names match what was entered

Screenshots or videos of changes:

1.Config list showing "testingnumber" with 5 reviewers:
image

2.Grading screen showing exactly 5 reviewers (Alice, Bob, Prajwal, Sayali, Reviewer 5)
image

Note:

Fix for reviewer feedback on PR #4935 - DB configs were always showing 8 reviewers (from default static team1) because reviewerCount was not being passed to the grading screen.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 26, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit a71472d
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69ed70f51f27b8000802d981
😎 Deploy Preview https://deploy-preview-5203--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@sonarqubecloud
Copy link
Copy Markdown

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