Commit Graph

11 Commits

Author SHA1 Message Date
bot
69f1503af0 feat: add monthly export statistics aggregation for user activity reports
Implement a new aggregation pipeline in the statistics module that groups export events by month and user ID, computing total exports per user per month. The pipeline uses MongoDB's $group stage with date truncation to month granularity, and stores results in a new `monthly_export_stats` collection. This enables generation of per-user activity reports for the admin dashboard.
2024-12-10 19:46:24 +00:00
a7719b77ec chore: update build artifacts and dependencies for release v2.3.1 2024-12-10 00:38:31 +00:00
f47f6fa6b8 chore: rename project references from 'old-name' to 'new-name' across all config files 2024-12-10 00:35:43 +00:00
bot
d2295960c8 feat: add monthly export statistics tracking with region breakdown
Implement a new statistics module that records export operations per region and month, storing aggregated counts and total volumes in a dedicated stats table. The module includes a background job that runs daily to compute and persist the statistics from the export logs, enabling future dashboard queries without real-time aggregation overhead.
2024-12-01 07:52:21 +00:00
c190db767e chore: bump version to 2.4.1 and update changelog with release notes 2024-12-01 05:18:53 +00:00
01b52664cd chore: update release notes and fix typo in decoding description 2024-12-01 05:14:33 +00:00
bot
7a4e9147ae feat: add monthly export statistics tracking to admin dashboard
- Implemented new ExportStats model with fields for total exports, successful exports, and failure counts
- Added monthly aggregation logic to compute export metrics from the exports table
- Updated admin dashboard controller to fetch and display export statistics for the current month
- Created new API endpoint `/api/admin/export-stats` returning JSON with export counts and success rate
- Added frontend component to render export statistics as a summary card on the admin dashboard
2024-11-27 21:28:23 +00:00
bot
425af467bd feat: add monthly export statistics tracking to analytics module
Implement a new monthly export statistics feature that records and aggregates export operations by month, including total exports, successful exports, and failure counts. The change adds a new `export_statistics` table with columns for month, year, total_exports, successful_exports, and failed_exports, along with a stored procedure to increment counters atomically. The analytics dashboard now displays a monthly export performance chart using this data.
2024-11-27 21:24:01 +00:00
bot
5fc1bc99af feat: add monthly export stats aggregation with region breakdown
Implement new aggregation logic in the export statistics module to compute monthly totals grouped by region, replacing the previous flat summary. The change introduces a `compute_monthly_stats` function that processes raw export records and returns a structured dictionary with per-region counts and revenue.
2024-11-27 16:06:54 +00:00
bot
83578d2376 chore: update export statistics with latest data and formatting adjustments 2024-11-27 14:58:02 +00:00
8265ede65c feat: add initial project structure with core application scaffolding 2024-11-27 14:28:30 +00:00