e5f03e22f2
2 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
|
21e9584907 |
chore: sync full codebase from cicd branch
Some checks failed
CD Preprod / Unit Tests (${{ matrix.app }}) (backend) (push) Blocked by required conditions
CD Preprod / Unit Tests (${{ matrix.app }}) (frontend) (push) Blocked by required conditions
CD Preprod / Integration Tests (push) Blocked by required conditions
CD Preprod / Build & Push Backend (push) Blocked by required conditions
CD Preprod / Build & Push Frontend (push) Blocked by required conditions
CD Preprod / Deploy to Preprod (push) Blocked by required conditions
CD Preprod / Smoke Tests (push) Blocked by required conditions
CD Preprod / Deployment Summary (push) Blocked by required conditions
CD Preprod / Notify Success (push) Blocked by required conditions
CD Preprod / Notify Failure (push) Blocked by required conditions
CD Preprod / Quality (${{ matrix.app }}) (backend) (push) Has been cancelled
CD Preprod / Quality (${{ matrix.app }}) (frontend) (push) Has been cancelled
Aligns preprod with the complete application codebase (cicd branch). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com> |
||
|
|
27caca0734 |
feat: add CSV rates CRUD management to frontend dashboard
Some checks failed
CI/CD Pipeline / Backend - Build, Test & Push (push) Failing after 1m38s
CI/CD Pipeline / Frontend - Build, Test & Push (push) Successful in 25m29s
CI/CD Pipeline / Integration Tests (push) Has been skipped
CI/CD Pipeline / Deployment Summary (push) Has been skipped
CI/CD Pipeline / Discord Notification (Success) (push) Has been skipped
CI/CD Pipeline / Discord Notification (Failure) (push) Has been skipped
Added comprehensive CSV rates management interface to the frontend dashboard with full CRUD operations. ## Backend Changes - Added `GET /api/v1/admin/csv-rates/files` endpoint to list all uploaded CSV files with metadata - Added `DELETE /api/v1/admin/csv-rates/files/:filename` endpoint to delete CSV files and their configurations - Both endpoints provide frontend-compatible responses with file info (filename, size, rowCount, uploadedAt) - File deletion includes both filesystem cleanup and database configuration removal ## Frontend Changes - Added "CSV Rates" navigation item to dashboard sidebar (ADMIN only) - Moved CSV rates page from `/app/admin/csv-rates` to `/app/dashboard/admin/csv-rates` for proper dashboard integration - Updated CsvUpload component to include required `companyEmail` field - Component now properly validates and sends all required fields (companyName, companyEmail, file) - Enhanced form validation with email input type ## Features - ✅ Upload CSV rate files with company name and email - ✅ List all uploaded CSV files with metadata (filename, size, row count, upload date) - ✅ Delete CSV files with confirmation dialog - ✅ Real-time file validation (format, size limit 10MB) - ✅ Auto-refresh after successful operations - ✅ ADMIN role-based access control - ✅ Integrated into dashboard navigation 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com> |