Alisha - feature : implementation of BMDashboard grouped bar-graph showing Issues created vs Resolved of projects frontend#4272
Conversation
✅ Deploy Preview for highestgoodnetwork-dev ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
|
e3f8d98
e83b92f to
e3f8d98
Compare
|
sayali-2308
left a comment
There was a problem hiding this comment.
- Checked out branch:
alisha/feature/issues-bar-graph - Backend branch:
alisha/feature/issue-analytics-grouped-bar-graph - Tested on: Windows, Chrome browser
- Both servers running locally (Backend: 4500, Frontend: 5173)
Bug: End Date doesn't auto-populate when selecting weeks from dropdown
Steps to reproduce:
- Select "Last 8 Weeks" or "Last 12 Weeks" from Weeks dropdown
- Click "Go" button
- Expected: End Date auto-populates to today's date (January 30, 2026)
- Actual: End Date remains empty (dd-mm-yyyy placeholder)
- Workaround: Manually selecting a Start Date causes End Date to update
Note: Start Date correctly auto-populates based on weeks selected. Only End Date has this issue.
Functionality Tested:
- Navigated to
/bmdashboard/issueGraph- page loads correctly - Default display shows "Last 8 Weeks" filter
- All 4 KPI tiles display correctly (Total Issues, New Issues This Week, Resolved Issues, Avg. Resolution Time)
- Chart title "Issues Created vs. Resolved" displays correctly
- Start Date validation works - cannot select dates more than 12 weeks ago (tested October 2025, correctly disabled)
- End Date validation works - cannot select future dates (tested dates after January 30, 2026, correctly disabled)
- Weeks dropdown works with options: Last 4 Weeks, Last 8 Weeks, Last 12 Weeks
- Filter changes update the page when "Go" button is clicked
- Dark mode styling works correctly - proper contrast, readable text, tiles styled appropriately
- Backend APIs tested in Postman:
GET /api/issues/summary- returns correct JSON structureGET /api/issues/trends- returns correct JSON structure with metadata
- No console errors observed (normal browser warnings only)
The End Date auto-population logic should be reviewed to ensure it updates when the "Weeks" dropdown is changed and "Go" is clicked, similar to how Start Date updates.
@sayali-2308
This is standard browser behavior and cannot be controlled by the application. |
|
There was a problem hiding this comment.
Hi Alisha,
I have reviewed your PR locally and the chart does not load. I am assuming it is because there is no data for the past 4,8,12 weeks. However in backed when selecting dates such as the one's you mentioned, i do get the KPI values in postman but unfortunately i am unable to select those values in frontend since those dates are blocked in the calendar.
21f8488 to
443e795
Compare
|
|
Resolved the data issue by updating the dates and fixed labelList dark mode issue. REC-20260502015554.mp4 |

















Description
Related PRS (if any):
This frontend PR is related to the #1853 backend PR.
Main changes explained
IssueGraphpage to display filters, tiles, and the chart.IssueGraph.How to test
npm installand start the application locally.http://localhost:5173/bmdashboard/issueGraph.Screenshots or videos of changes:
REC-20251024212017.mp4