Skip to content

Siri Vavila - feat(skills): dark mode for Skills page#4786

Open
sirisudheeksha wants to merge 1 commit intodevelopmentfrom
feat/hgn-skills-dark-mode
Open

Siri Vavila - feat(skills): dark mode for Skills page#4786
sirisudheeksha wants to merge 1 commit intodevelopmentfrom
feat/hgn-skills-dark-mode

Conversation

@sirisudheeksha
Copy link
Contributor

@sirisudheeksha sirisudheeksha commented Feb 1, 2026

Description

Implement dark mode styles for HGN Skills page and add guard to HGN Form to prevent re-submission when a response already exists.

Related PRS (if any):

This frontend PR is related to the PR 4267.

Main changes explained:

  • Update HGNForm pages (Page1–Page5) to import QuestionnaireInfo and add existing-response redirect; fix httpService import.
  • Update SkillsProfilePage components (LeftSection, ProfileDetails, RightSection, RadarChart, UserSkillsProfile) to toggle dark mode via Redux and CSS modules; RadarChart options switch grid/labels/tooltips per theme.
  • Update styles (LeftSection.module.css, ProfileDetails.module.css, RightSection.module.css, RadarChart.module.css, UserSkillsProfile.module.css) to add scoped .dark variants.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. log as admin user
  5. go to /hgn/profile/skills and /hgnform(if survey is not completed)
  6. verify function “A” (feel free to include screenshot here)
    7.verify Skills page info card, right panel, and radar chart switch correctly between light/dark; /hgnform redirects to Skills if user has hgnformresponses

Screenshots or videos of changes:

Light mode:
Screenshot 2026-01-31 at 10 25 40 PM
Dark mode:
Screenshot 2026-01-31 at 10 15 46 PM

](url)

Note:

Include the information the reviewers need to know.

@netlify
Copy link

netlify bot commented Feb 1, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 1c2ad70
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/697ef7b209699a00086566a9
😎 Deploy Preview https://deploy-preview-4786--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

sonarqubecloud bot commented Feb 1, 2026

Quality Gate Failed Quality Gate failed

Failed conditions
20.0% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@one-community one-community changed the title feat(skills): dark mode for Skills page Siri Vavila - feat(skills): dark mode for Skills page Feb 13, 2026
Copy link

@Anusha-Gali Anusha-Gali left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi Siri Vavila,

I have reviewed your PR locally and though the mode change works there is an issue of the form submission check. I already have a data in the skills page as you can see in the below video. However when i go to the /hgnform webpage it still asks me to enter details in the form.

4786.mp4

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.

2 participants