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 3 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.
|
|
Hi @DeepighaJ @kunchalasireesha @HemanthNidamanuru,
Additional improvements:
Kindly re-review to confirm all changes perform as expected. |
HemanthNidamanuru
left a comment
There was a problem hiding this comment.
Hi,
I reviewed and retested this PR locally. The chart rendering, hover behavior, animations, and theme switching are working as expected. However, the error messages could use some top padding for better UI spacing.
Also, even after changing the date filters without selecting a specific role, the values remain the same, so I’m unable to properly validate whether the date filter functionality is working correctly.
kunchalasireesha
left a comment
There was a problem hiding this comment.
Hey Sohail, I still don’t see the changes I requested. Maybe you can use the multi-select dropdown in Roles instead of the multi-select box? I think that would provide a better user experience and align more with the expected behavior.
There was a problem hiding this comment.
- The chart position is still quite low on the page, leaving a large amount of whitespace between the filter section and the visualization.
- The filter and reset works as expected.
- But in dark mode the chosen roles in multiselect dropdown are not highlighted like in light mode. In light mode its highlighted in grey when selected. I'm confused after selecting the roles in the dropdown, if they are selected on not in dark mode.
- In mobile view label clipped issue still there. PFA screenshot.



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