Sohail: Job Posting Page Analytics: UI Fix for applicants by experience donut chart#5280
Closed
sohailuddinsyed wants to merge 18 commits into
Closed
Sohail: Job Posting Page Analytics: UI Fix for applicants by experience donut chart#5280sohailuddinsyed wants to merge 18 commits into
sohailuddinsyed wants to merge 18 commits into
Conversation
Frontend Release to Main [4.84]
Frontend Release to Main [4.85]
Frontend Release to Main [4.86]
Frontend Release to Main [4.87]
Revert "Frontend Release to Main [4.87]"
Frontend release to main [4.87.1]
…213-development Revert "Revert "Frontend Release to Main [4.87]""
Sundar: fix github workflow to match main
Frontend Release to Main [4.88]
Frontend Release to Main [4.89]
Frontend Release to Main [4.90]
Revert "Frontend Release to Main [4.90]"
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Contributor
Author
|
#5281 created as the replacement PR. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.




Description
This PR is a follow-up to #4961 and delivers a full visual overhaul of the "Applicants by Experience" donut chart, addressing post-merge feedback on chart readability, label rendering, and data validation.

Main Changes Explained
Chart Labels & Layout
midAngle/innerRadius/outerRadiusAnimation & Hover
prefers-reduced-motion— animation is skipped and values shown immediately for users who have it enabledDate Filter Validation
maxattribute — future dates are greyed out in the native pickerapplyFiltersvalidates manually typed future dates and shows a clear error messageresetFiltersnow also clears any validation error stateBug Fixes
totalto0, preventing a stale center count"Start date must be before end date"TODAYandPREFERS_REDUCED_MOTIONmoved to module-level constants to prevent recalculation on every renderanimationDoneeffect dependency changed fromvisibleChartData(unstable array reference) tochartDatato prevent unnecessary resetsHow to Test
npm installfollowed bynpm run start:local/ExperienceDonutChartScreenshots of changes