Skip to content

Jaden: fix config.name bug and inline styles in PR Grading Test (DONE Jaden) - #5468

Open
Jaden300 wants to merge 1 commit into
developmentfrom
Jaden_Task1334_PRGrading_ConfigCreation_PageNotFound
Open

Jaden: fix config.name bug and inline styles in PR Grading Test (DONE Jaden)#5468
Jaden300 wants to merge 1 commit into
developmentfrom
Jaden_Task1334_PRGrading_ConfigCreation_PageNotFound

Conversation

@Jaden300

@Jaden300 Jaden300 commented Aug 23, 2026

Copy link
Copy Markdown
Contributor

Jaden: fix config.name bug and inline styles in PR Grading Test (DONE Jaden)- #5468

Description

Implements Task #1334 - PR Review Team Analytics Dashboard: PR Grading Screen fixes.

Main changes explained

  • Fixed config.teamName -> config.name in PRGradingScreen/index.jsx: team objects use name (not teamName), so navigating to a DB-backed config was passing undefined as the team name to PRGradingScreen
  • Moved all inline styles out of PRGradingTest.jsx into PRGradingTest.module.css: delete button positioning/color, container padding, and subtitle color

Related PRs

How to test

  1. Check out branch Jaden_Task1334_PRGrading_ConfigCreation_PageNotFound
  2. Run backend PR HGNRest#2088 branch: npm run build && npm run start
  3. Run frontend: npm install && npm run start:local
  4. Log in as admin and navigate to /pr-grading-test
  5. Click a DB config - verify PR Grading Screen receives the correct team name (not undefined)
  6. Toggle dark mode - verify delete button, container, and subtitle still styled correctly
pic

…ask #1334

- Move inline styles from PRGradingTest.jsx to CSS module (deleteButton, container, subtitle classes)
- Fix config.teamName -> config.name in index.jsx; team objects use 'name' not 'teamName'
  causing PRGradingScreen to receive undefined team name when navigating from a DB config
@netlify

netlify Bot commented Aug 23, 2026

Copy link
Copy Markdown

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 8977d66
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/6a8a8debbc1c3d0008095781
😎 Deploy Preview https://deploy-preview-5468--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@sonarqubecloud

Copy link
Copy Markdown

@Jaden300 Jaden300 changed the title Jaden: fix config.name bug and inline styles in PR Grading Test - Task #1334 Jaden: fix config.name bug and inline styles in PR Grading Test (DONE Jaden) Aug 28, 2026
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