Skip to content

Vinay K Question Dashboard#2056

Open
Vinay944924 wants to merge 5 commits into
developmentfrom
vinay_k_question_dashboard
Open

Vinay K Question Dashboard#2056
Vinay944924 wants to merge 5 commits into
developmentfrom
vinay_k_question_dashboard

Conversation

@Vinay944924
Copy link
Copy Markdown

@Vinay944924 Vinay944924 commented Feb 19, 2026

Description

Screenshot 2026-02-18 at 7 45 19 PM

Related PRS (if any):

This Backend PR is related to the #3471 Frontend PR.
To test this backend PR you need to checkout the #3471 frontend PR.

Main changes explained:

  • Updated the questionaire analytics js file by Implementing API endpoints and even added the privacy and clean responses for the users.

How to test:

  1. check into current branch
  2. do npm install and ... to run this PR locally
  3. Clear site data/cache
  4. get access token by loging-in with any role
  5. use the API endpoint: "http://localhost:4500/api/questionnaire-analytics/users?" to verify.
    add auth token as authorization header
    skills in the payload should be in the below format
    {
    "skills": {
    "frontend": ["React", "Redux"],
    "backend": ["MongoDB", "Deployment"]
    }
    }

Screenshots or videos of changes:

Screenshot 2026-02-14 at 9 55 27 PM Screenshot 2026-02-14 at 9 55 20 PM

Note:

Try with different skill/skills, change isSameTeam= true OR false value in query parm.

Copy link
Copy Markdown

@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 Vinay,

I have reviewed your PR locally and the API works as per requirement, however please do handle the regex as upon giving "true" and "false" in small letters the API filters as per requirement but when i do capital "TRUE", it is showing all the data without filtering.

Issue
Image

Working
Image
Image
Image
Image

@Vinay944924 Vinay944924 changed the title Vinay_K_Question_Dashboard Vinay K Question Dashboard Apr 17, 2026
Copy link
Copy Markdown

@HemanthNidamanuru HemanthNidamanuru left a comment

Choose a reason for hiding this comment

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

Hi Vinay,

I have reviewed your PR locally and the API works as per requirement. However, the regex issue reported earlier is still present. When passing TRUE or FALSE in uppercase as the isSameTeam query parameter, the API returns all data without filtering.

Image Image

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 6, 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.

3 participants