Aseem - Phase 2 - Add filters for for Predicted vs Actual Cost Line chart and UI changes#4354
Aseem - Phase 2 - Add filters for for Predicted vs Actual Cost Line chart and UI changes#4354aseemdeshmukh wants to merge 7 commits into
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
Sriamshreddy000
left a comment
There was a problem hiding this comment.
Hi Aseem,
I tested this PR locally, logged in as admin, and navigated to Dashboard/TotalConstructionSummary and then "Financial Tracking". The date filter, project dropdown, tooltips, and reset filter button all work as expected. The text is clearly readable, and the chart displays properly in both light and dark modes. Everything looks good.
bhanuanishakkineni
left a comment
There was a problem hiding this comment.
Hello Aseem,
I have reviewed this PR though checking out to this branch and logging in as an admin.
From my testing, I observed that the filters like project, category, start date, end date are aligned and reset filters button are working fine. Even the tooltips are working fine.
The issues I observed are:
Tooltips are too big that they are covering the entire plot while hovering. Reduce the size such that they are readable and also the plot is visible
The grid of 'financial tracking' is not responsive for all screen sizes. For smaller screen sizes, Actual vs Planned costs plot is shrinking such that it is neither readable not visible. The other plot is not responsive and is not fully visible when the screen size gets shrank.


PR.4354.testing.mp4
VijayAnirudh
left a comment
There was a problem hiding this comment.
I tested the updated Predicted vs Actual Cost line chart. The new filters, reset button, and UI refinements all work as intended — the chart is responsive on desktop, labels and tooltips are accurate, and dark mode styling is consistent. The only issue I noticed is that when the page is opened in mobile dimensions, the site doesn’t switch to a mobile‑optimized view. I’m not sure if this PR was intended to address mobile responsiveness, but currently the layout remains in desktop mode. Aside from that, the changes behave as expected.
There was a problem hiding this comment.
Hi Aseem,
I tested PR #4354 locally and the desktop functionality works well, but there are mobile responsiveness issues.
I logged in as admin and navigated to the Financials Tracking section. The project dropdown and date range filters work correctly, updating the chart with accurate filtered data. The reset button clears all filters as expected, and tooltips display the planned, actual, and predicted cost values properly. Dark mode renders well with good contrast for both charts and controls.
However, when testing on iPhone 14 Pro Max dimensions, the layout breaks significantly. The "Actual vs Planned Costs" bar chart becomes cut off and is not visible on the mobile screen. The card sections appear as empty white boxes, and the grid layout doesn't adapt properly to smaller viewports.
The desktop functionality is well-implemented, but the mobile responsiveness needs to be fixed before this can be merged.



0025de3
|
|
Hi @aseemdeshmukh |
|
Hello Aseem,
|
rithika-paii
left a comment
There was a problem hiding this comment.
Hi Aseem,
I reviewed this PR #4354 and attempted to test the changes locally. After switching to the branch and restarting the setup, the application still does not load on localhost, so I was unable to verify the functionality.
Could you please check whether there are any missing setup steps, dependency issues, or build/runtime errors specific to this branch?
kunchalasireesha
left a comment
There was a problem hiding this comment.
Hi Aseem, it looks like this PR currently has merge conflicts with the base branch. Could you please rebase or merge the latest changes from development into your branch and resolve the conflicts? Once the build passes, I’ll finish the review.
DeepighaJ
left a comment
There was a problem hiding this comment.
Hi
- Checked out to the current branch and ran PR locally.
- I could not find the Planned Vs Actual Cost tracking chart mentioned in the requirement. Only the bar graph displays.
- The Project details like total project cost , material cost , labor cost and Equipment cost values are not visible in Dark mode.
- No tooltip available for the existing bar graph as well. Also please try to resolve the merge conflicts as well.
Jaden300
left a comment
There was a problem hiding this comment.
Tested the PR locally on the Financial Tracking dashboard.
The page and updated UI components load correctly, and overall readability in the chart area is good. Tooltip functionality appears to work properly on the visible graph elements, and no major dark mode or layout issues were observed during testing.
However, the actual chart data does not load, so the Predicted vs Actual Cost line chart could not be fully validated. Because the graph content is missing, it was not possible to verify filtering behavior against real dataset changes.
Additionally, the PR description references a “Reset Filter” button, but no reset filter control was visible during testing, so this functionality could not be tested.
Overall UI changes appear stable, but missing chart data and the absence of the reset filter functionality prevent full verification of the feature set described in the PR.
amaresh2001
left a comment
There was a problem hiding this comment.
Tested locally on branch: aseem-add-filters-financial-tracking, with backend on development, with admin user
Issues:
The main feature of this PR, the "Planned Vs Actual costs tracking" line chart with Project and Date Range filters, is not visible in the Financials Tracking section. Only the "Actual vs Planned Costs" bar chart renders. The line chart with the new filters does not appear at all.
Merge conflicts:
This PR has active merge conflicts that must be resolved before it can be merged.
YSWFelicity
left a comment
There was a problem hiding this comment.
Tested locally on branch aseem-add-filters-financial-tracking against the development backend, logged in as an admin user.
🔴 Blocking issues
- Main feature is not rendering
The core deliverable of this PR — the "Planned vs Actual Costs" line chart with the new Project and Date Range filters — does not appear at all in the Financial Tracking section. Only the existing "Actual vs Planned Costs" bar chart renders. Since the line chart and its filters are the entire point of this PR, this needs to be fixed before it can move forward.
Could you confirm:
Whether the CostPredictionChart component is actually mounted/imported on the Financial Tracking page on this branch?
Whether it depends on a backend endpoint that isn't yet available on development (any console/network errors on your side)?
2. Merge conflicts
This PR currently has active merge conflicts with development. Please merge in / rebase onto the latest development and resolve them so the branch is mergeable.
Next steps
Once the line chart renders correctly and the conflicts are resolved, I'll re-test and re-review. Happy to pair if it helps narrow down why the chart isn't showing.

Mahitha-pasupuleti
left a comment
There was a problem hiding this comment.
Tested this PR locally on the specified branch with the backend on the development branch and logged in as an Admin user.
The Financial Tracking section renders correctly; however, the newly added Date Filter, Project dropdown, and Reset Filter button described in the PR are not visible. Since the new filtering controls do not appear, their functionality cannot be verified.
Requesting changes until the new UI elements are visible and testable.
There was a problem hiding this comment.
I tested this PR locally by checking out your branch, and navigating to /bmdashboard/totalconstructionsummary as an admin user.
What's Working Well
The existing "Actual vs Planned Costs" bar chart renders correctly in both light and dark mode. The Project and Category dropdowns update the chart as expected, tooltips display Actual and Planned values clearly, and the dark mode contrast on the bar chart is readable. The mobile layout at iPhone 14 Pro Max dimensions holds together without breaking.
Issues
1. Main feature - Planned vs Actual Cost line chart is not rendering
The "Planned Vs Actual costs tracking" line chart with Project filter, Date Range filter, and Reset button does not appear in the Financial Tracking section. Only the pre-existing "Actual vs Planned Costs" bar chart renders. As a result, the new improvements described in the PR could not be tested at all.
AmaanSyed09
left a comment
There was a problem hiding this comment.
Hi Aseem,
I verified the following during testing:
-
The "Actual vs Planned Costs" chart renders correctly.
-
Project and Category filters update the displayed values as expected.
-
Tooltips are working properly.
-
Dark mode appears to be functioning correctly.
-
The chart remains usable on smaller screen sizes.
-
The page loads successfully without any obvious issues.
Issues Found:
-
I was unable to verify the "Planned Vs Actual Costs Tracking" chart shown in the PR screenshots. It does not appear in my testing environment.
-
Another reviewer also reported that the chart is not visible during testing.
-
Since one of the primary features shown in the PR cannot currently be validated, I'm requesting changes until its visibility and expected behavior are clarified.
Screenshots Attached:
Dnagabahiru
left a comment
There was a problem hiding this comment.
Tested the Financial Tracking feature in both light and dark modes. Tooltips are working properly for the bars in the graph, the text is readable, and the Reset Filter button functions as expected. The chart heading displayed differs from the heading shown in the PR screenshot/specification; otherwise, the feature is working as expected in both modes.
shree-vaths
left a comment
There was a problem hiding this comment.
Hello I tested #4354 on my local,
Passed Scenarios
-The bar chart shows based on project and category filters.
-The readability is improved beucause of legeng on bar graph.
-The feature works in both light and dark mode.
Failing Scenario
-The line chart does not show up. Its been replaced by pie-chart.
Please comment if this change of chart type is new requirement or line chart is mising.
Screen.Recording.2026-07-06.at.4.22.07.PM.mov
|
Created a new PR #5375 and closing this current PR |
































Description
Related PRS (if any):
This frontend PR is related to the development backend
…
Main changes explained:
How to test:
check into current branch
do
npm installand...to run this PR locallyClear site data/cache
log as admin user
go to http://localhost:3000/bmdashboard/totalconstructionsummary
go to "Financial Tracking"

verify if :
a) tooltips are working properly for the bars in the graph
b) text is readable
c) reset filter button works
verify this new feature works in dark mode
Screenshots or videos of changes:
DemoAddFiltersFinancialTracking.mp4
Note:
This PR is modification of the related PR #3514. No functionality related to the line graph is changed. Only UI changes are made to the graph and to the container for better readability. Addition of functionality that is done in this PR is: 1. Adding Date and Project Filter, Adding reset filter.