Sohail: Job Posting Page Analytics: UI Fix for applicants by experience donut chart#5281
Sohail: Job Posting Page Analytics: UI Fix for applicants by experience donut chart#5281sohailuddinsyed wants to merge 2 commits into
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
DeepighaJ
left a comment
There was a problem hiding this comment.
- Checked out to current branch and ran PR locally.
- In dark mode, selected values in the Roles multi-select dropdown are not visually highlighted properly. The selected option appears similar to unselected options, making it difficult to distinguish active selections.
- The colors of numbers inside the chart is inconsistent.
- Large empty space exists between the filter section and chart.
- The multi-select box height is small for two selected items and scrollbar appears cramped.
- In mobile view, some outer labels are also truncated/clipped near the screen edges.
There was a problem hiding this comment.
Screen.Recording.2026-05-19.at.7.14.44.PM.mov
I found two UI-related issues in the Roles multi-select component:
-
Multi-select box usability/UI issue
The Roles multi-select box is currently resizable (can be dragged to expand or shrink) and includes a scroll bar. In its default state, the scrollable area appears small and cramped, which affects the overall UI experience. It may be better to implement this differently to improve usability and maintain a cleaner, more consistent UI. -
Selected values are not visually distinguishable
The selected values in the Roles multi-select dropdown are not visually highlighted properly. Selected options appear very similar to unselected ones, making it difficult for users to distinguish active selections. Adding clearer visual differentiation for selected items would improve usability and accessibility.
HemanthNidamanuru
left a comment
There was a problem hiding this comment.
-
Selected roles are not highlighted. In the Roles dropdown, selected and unselected options look the same, so it's hard to know what is selected.
-
Roles multi-select box can be dragged and resized. The box can be dragged to resize, looks too small by default, and the scroll bar makes it feel messy.
-
Calendar is not aligned in dark mode. The calendar appears misaligned when dark mode is on.



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 messageBug Fixes
"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