Skip to content

feat: #862 analytics dashboard district enhancement#876

Merged
ianliuwk1019 merged 8 commits intomainfrom
feat/862-analytics-dashboard-district-enhancement
Feb 27, 2026
Merged

feat: #862 analytics dashboard district enhancement#876
ianliuwk1019 merged 8 commits intomainfrom
feat/862-analytics-dashboard-district-enhancement

Conversation

@ianliuwk1019
Copy link
Contributor

@ianliuwk1019 ianliuwk1019 commented Feb 27, 2026

ref: #862
This PR implements the enhancements to the Analytics Dashboard described at ticket #862: add new grouped bar chart to display public comments counts by district and response codes.

Backend:

  • Added support in the backend service for endpoint (getCommentCountByDistrict) to fetch comment counts aggregated by district and response codes.
  • Adjust TypeORM query for retrieving FOM public comment data.
  • Updated API response DTOs and OpenAPI (swagger) definitions so the endpoint is reflected in the generated TypeScript client for the new chart.

Frontend:

  • Extended the analytics data service to request to backend and expose district-level analytics data.
  • Modified the dashboard component to:
    • Render a “Public comments by district and category” chart, showing counts of comments grouped by district and response category.
    • Add filters for selecting specific districts (e.g., “All districts” or a specific one).
    • Integrate the new dataset with the new charts.
    • Added chart configuration definitions and colors for the new district view.

Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:


Thanks for the PR!

Deployments, as required, will be available below:

Please create PRs in draft mode. Mark as ready to enable:

After merge, new images are deployed in:

@ianliuwk1019 ianliuwk1019 merged commit 7bb376e into main Feb 27, 2026
21 of 22 checks passed
@ianliuwk1019 ianliuwk1019 deleted the feat/862-analytics-dashboard-district-enhancement branch February 27, 2026 23:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants