Shravya_bugfix/css_module.css/mostWastedMaterials _3675#4049
Shravya_bugfix/css_module.css/mostWastedMaterials _3675#4049ShravyaKudlu wants to merge 2 commits intodevelopmentfrom
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
sohamsharma08
left a comment
There was a problem hiding this comment.
Tested the PR using an Admin account and some changes are needed. The project filter is working well, however, the date filter does not seem to do anything. There is no error even when the date range is invalid. The recording of the working is mentioned below:
PR.4049.1.mov
jaydeep138
left a comment
There was a problem hiding this comment.
Tested this PR — the graph displays data correctly based on the selected project. However, I noticed two issues:
1. The date range filters are not working as expected.
2. The navbar is not visible when navigating to this graph page, which makes it unclear how users will move between sections.
Everything else looks good, but these two issues should be addressed.

decf881 to
74f45b7
Compare
RitzzzZ2021
left a comment
There was a problem hiding this comment.
The chart functions correctly, and the project filter successfully narrows the data to the selected project.
Suggestions:
-
Since the labels are already displayed on top of each bar, the hover effect feels redundant.
-
Consider adding a title for the horizontal axis.
-
The data filter is not functioning as expected.
Aditya-gam
left a comment
There was a problem hiding this comment.
- Ran local server on the PR branch. Navigated to
localhost:5173/mostwastedmaterials. Switched projects and adjusted the date range filters.
- Graph & project filter The chart renders and updates correctly when switching projects.
- Date range filters (bug) Changing From/To dates does not update the dataset shown on the graph; results appear unchanged regardless of the selected range.
- Navbar missing (UX/navigation issue) The page renders without the global navbar, so there’s no obvious way to move to other sections.
TestVideo.mov
|
Reviewed PR #4049
|
aryanrachala54
left a comment
There was a problem hiding this comment.
The existing comments note that while the project filter works, the date filter on the page does not affect the bar graph, which remains unchanged regardless of the selected date range. Additionally, the navbar is missing on this page, making navigation unclear. Building on these points, I observed that the date range filter allows selection of future dates without any validation or warning, which could be misleading. I also noticed a "Back to Top ↑" button, which seems unnecessary given the short length of the page and the presence of only a single chart.
laynet
left a comment
There was a problem hiding this comment.
I followed the testing instructions and logged in as admin user. The graph initially loads as expected, and will re-load with new data when a new project is selected from the project filter. However, selecting dates in the date filter does not change the data visualization. The graph stayed the same as it was when there were no dates selected. This was true for every project that I tested. I also tried selecting an end date first then a start date but the result was the same. Checking invalid dates (one or both dates in the future) also did not change the graph. There also isn’t a navbar.


Anusha-Gali
left a comment
There was a problem hiding this comment.
Hi Shravya,
I had previously approved your PR stating - I have reviewed your PR locally and it does work as per requirement. However the calendar is in light mode while the application is in dark mode. Please look into that., after discussing with Jae, he requested i modify and ask for the change to be made. Can you look into it @ShravyaKudlu
f48b9c9
| background-color: #374151; | ||
| border-color: #4b5563; | ||
| color: #f3f4f6; | ||
| color-scheme: dark; |
There was a problem hiding this comment.
@Anusha-Gali , I made a small change here, for darkMode, let me know if it works now?
…tionality, flexibility
7132955 to
c8c7961
Compare
|
























Description
Fixes #3675
Related PRS (if any):
This frontend PR is related to the #XXX backend PR.
To test this backend PR you need to checkout the #XXX frontend PR.
…
Main changes explained:
…
How to test:
npm installand...to run this PR locallylocalhost:5173/materials/mostwastedmaterialsScreenshots or videos of changes:
Note:
This only works on light Mode