-
-
Notifications
You must be signed in to change notification settings - Fork 72
Neeraj Hotfix Restore Job Analytics Graph Data Rendering #4722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: development
Are you sure you want to change the base?
Neeraj Hotfix Restore Job Analytics Graph Data Rendering #4722
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
rohanrastogi311
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Anusha-Gali
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ganesh112001
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I tested PR #4722 and verified that the Job Analytics graph data rendering fix works perfectly. After navigating to /job-analytics-competitive-roles, the horizontal bar chart displays correctly showing "Most Competitive Roles" with proper data instead of the previous "No data available" error. The graph renders roles sorted from most to least competitive (Master Electrician, Surveyor, Video Producer, Food Specialist, Graphic Designer) with accurate application counts and data labels on bars. All filters work correctly including date filter, role filter, and time granularity toggle (Weekly, Monthly, Annually). Data normalization functions properly and the graph updates appropriately based on filter selections. No console errors observed. Everything works perfectly and is ready for merge!










Description
This PR fixes a regression on the Job Analytics Competitive Roles page where the graph displayed “No data available” after the previous merge, despite valid backend data being present. The issue was caused by frontend handling of backend response variations, which led to valid data being normalized to zero and filtered out before rendering. This change restores the expected behavior by defensively normalizing the response data prior to chart rendering without altering existing filters, aggregation logic, or visual presentation.
Related PRS (if any):
This frontend PR is related to the Development Backend branch.
This PR is hot fix for the frontend PR : #4010
…
Main changes explained:
How to test:
npm installand...to run this PR locallyScreenshots or videos of changes:
Note: