Skip to content

Alisha: (feature) Job Posting Page Analytics: Create a pie chart showing breakdown of applicants by reason of volunteering - #1663

Merged
one-community merged 7 commits into
developmentfrom
alisha/feature-pie-chart-volunteering-fresh
Apr 28, 2026
Merged

Alisha: (feature) Job Posting Page Analytics: Create a pie chart showing breakdown of applicants by reason of volunteering#1663
one-community merged 7 commits into
developmentfrom
alisha/feature-pie-chart-volunteering-fresh

Conversation

@alishawalunj

@alishawalunj alishawalunj commented Aug 16, 2025

Copy link
Copy Markdown
Contributor

Description

E72F725D-EC84-4B47-9BAB-46C9209F5FF0

Related PRS (if any):

To test this backend PR you need to checkout the #3910 frontend PR.

Main changes explained:

  • Fetches breakdown of applicants by reason of volunteering
  • Added role based filtering

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. Test the API using Postman:
    GET http://localhost:4500/api/analytics/opt-status
  6. Verify the response returns totalCandidates and breakdown with fields: optStatus(category), count, percentage
  7. Optional params to be passed:
  • Date ranges : 2024-06-15 to 2024-07-14
  • Role: Analyst, Developer, QA, Intern

Screenshots or videos of changes:

5925ACC1-96F6-405B-919B-A6672A0560A8
A70117B2-6943-466F-AAB6-637910F53A48

@harshavarma29 harshavarma29 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

I have tested the PR in Postman using admin credentials. It is not working as expected in the following scenarios

  1. No data is returned when the start date and end date overlap, an invalid role name is provided, or certain filter combinations are used. It would be better to display a message in these cases:
negative_scenarios
  1. Dates are displayed even for invalid inputs. It would be better to show an error message instead:
invalid_date_format_no_error_message

@linkhanthtel linkhanthtel left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Response returns totalCandidates and breakdown with fields: optStatus(category), count, percentage. Nice work!

#1663

@Anusha-Gali Anusha-Gali added the High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible label Nov 27, 2025

@Anusha-Gali Anusha-Gali left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Hi Alisha,

I have reviewed your PR locally and mentioned few changes on the frontend. The backend does work as per requirement.
Screenshot 2025-11-29 at 1 35 57 AM
Screenshot 2025-11-29 at 1 37 05 AM
Screenshot 2025-11-29 at 1 38 52 AM

@alishawalunj
alishawalunj force-pushed the alisha/feature-pie-chart-volunteering-fresh branch from 1825379 to 1440115 Compare January 24, 2026 22:47
@alishawalunj
alishawalunj force-pushed the alisha/feature-pie-chart-volunteering-fresh branch from f3a4f55 to c6c73be Compare March 7, 2026 21:10
@sonarqubecloud

sonarqubecloud Bot commented Mar 8, 2026

Copy link
Copy Markdown

@alishawalunj
alishawalunj force-pushed the alisha/feature-pie-chart-volunteering-fresh branch from 4a540b9 to 7064655 Compare April 9, 2026 23:11
@alishawalunj alishawalunj changed the title Alisha/feature pie chart volunteering fresh Alisha: (feature) Job Posting Page Analytics: Create a pie chart showing breakdown of applicants by reason of volunteering Apr 9, 2026
@alishawalunj
alishawalunj force-pushed the alisha/feature-pie-chart-volunteering-fresh branch 2 times, most recently from c19d89a to 59a0389 Compare April 26, 2026 01:27

@rohanrastogi311 rohanrastogi311 left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

HI Alisha,

Reviewed using your frontend PR 3910.

@alishawalunj
alishawalunj force-pushed the alisha/feature-pie-chart-volunteering-fresh branch from ebdc91e to 2688298 Compare April 27, 2026 18:46
@sonarqubecloud

Copy link
Copy Markdown

@one-community

Copy link
Copy Markdown
Member

Thank you all, merging!

@one-community
one-community merged commit 2da4545 into development Apr 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

High Priority - Please Review First This is an important PR we'd like to get merged as soon as possible

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants