Shreya P taking over for Vamsidhar create grouped bar graph showing injury severity#4479
Open
vamsidharpanithi wants to merge 3 commits intodevelopmentfrom
Open
Conversation
…egory of Worker Injured card
…ury-severity and resolve conflicts
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Anusha-Gali
suggested changes
Jan 16, 2026
Anusha-Gali
left a comment
There was a problem hiding this comment.
Hi Vamsidhar,
I have reviewed your PR locally and the below issues are found:
- In light mode, the calendar is still as that of dark mode
- Also in light mode, the title of the graph does not again with the title.
- The color of the legend is not co-related to anything and only 3 of the 5 projects are listed in both the modes
shashank-madan
suggested changes
Jan 31, 2026
Contributor
shashank-madan
left a comment
There was a problem hiding this comment.
Functionality works as expected.
UI can be improved to fill the page rather than be constricted in the left half.
Total.Construction.Summary.-.Google.Chrome.2026-01-31.13-31-11.mp4
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 fixes dark mode styling issues for filter categories on the "Injury Severity by Category of Worker Injured" card. In dark mode, the dropdown category labels and options (Projects, Severities, Injury types, Start date, End date) were blending into the background and were difficult or impossible to see. Text and control borders did not have enough contrast against the dark card background.
Priority: MEDIUM
Fixes dark mode visibility issues for filter controls on the Injury Category Bar Chart component.
Related PRS (if any):
This frontend PR is related to backend PR #1405.
The original implementation was in PR #3619 .
Main changes explained:
Updated
InjuryCategoryBarChart.module.css::global()for CSS modulesUpdated
InjuryCategoryBarChart.jsx:Fixed
Header.jsx:isAckLoadingdeclaration that was causing test failures (introduced during merge with development)How to test:
vamsidhar-create-grouped-bar-graph-showing-injury-severitynpm installto install dependenciesnpm startto start the development serverhttp://localhost:3000/bmdashboard/totalconstructionsummaryScreenshots or videos of changes:
Note: