Namitha - fix(JobAnalytics): prevent invalid date range render + react to dark#3994
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
vivekchandrabs
left a comment
There was a problem hiding this comment.
I checked all the functionality and everything is working as expected.
@Namitha7070 Please document the PR properly. The frontend URL is /application-analytics
|
This feature works as intended and the code is great https://www.loom.com/share/a7dcd7a6680f45d093c8283a5799ccb2?sid=9305d921-9823-4b3a-a0bf-65105a389932 |
HemanthNidamanuru
left a comment
There was a problem hiding this comment.
Hi Namitha,
I have reviewed your PR locally and the functionality works as per requirement, however I noticed a few issues:
- The calendar is in light mode when the application is in dark mode
- The clear button is not visible in the desktop version but is visible in mobile
- I am able to select future dates
0855417
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
…cs-date-warning-darkmode # Conflicts: # src/components/ApplicationAnalytics/index.jsx # src/components/ApplicationAnalytics/jobAnalytics.jsx # src/components/ApplicationAnalytics/jobAnalytics.module.css
Anusha-Gali
left a comment
There was a problem hiding this comment.
Hi Namitha,
Thank you for fixing the dark mode issues and the clear button however i think the mobile responsiveness got disturbed as you can see it does collapse bit goes out of the layout and the x axis points combine to form a numerical number series. Also if you could increase the brightness of the warning message it would be great.
|
|
Thank you all, merging! |






































Description
Page: Job Posting Page Analytics
Goal: Create a grouped/stacked horizontal bar chart showing Hits vs Applications per role, and address reviewer feedback.
Fixes (PRIORITY HIGH):
Overlap on small screens: Chart and date controls now reflow without colliding.
Dark mode not updating: UI and chart adopt the active theme correctly.
Dates UX: Replaced single dropdown with two date inputs (Start, End).
Overflow: Graph no longer spills outside its container.
Related PRS (if any):
…
Main changes explained:
html.dark,[data-theme="dark"],body.dark.useMemofor roles list, grouped counts, and max calculations.How to test:
check into current branch: git checkout fix/analytics-date-warning-darkmode
do npm install and ... to run this PR locally
Clear site data/cache
log as admin user
go to (http://localhost:5173/applicant-analytics)
Verify the below functions:
Dark mode: Toggle light↔dark
Invalid range: Set Start > End → warning shows
Valid range: Fix dates → warning clears; data renders.
Role filter: Clear all roles → chart clears; no errors.
Minimize the window size to check if the chart is collapsing or not on smaller screens.
Screenshots or videos of changes:
Week.4.mp4