docs: sync AGENTS.md & PROGRESS.md with current state (8 tests, HandlerPerformanceWidget, attachment-links)
This commit is contained in:
@@ -92,13 +92,14 @@ minicrm/
|
||||
│ └── Providers/Filament/
|
||||
│ └── AdminPanelProvider.php
|
||||
├── resources/views/filament/resources/feedback/
|
||||
│ └── similar-cases.blade.php
|
||||
│ ├── similar-cases.blade.php
|
||||
│ └── attachment-links.blade.php # Modal listing attachments with signed download URLs
|
||||
├── database/
|
||||
│ ├── migrations/
|
||||
│ └── seeders/AfterSalesSeeder.php # includes departments, logs, attachments
|
||||
├── tests/
|
||||
│ ├── Feature/
|
||||
│ │ ├── ClosingPermissionTest.php # 3 tests: staff forbid, no-evidence, with-evidence
|
||||
│ │ ├── ClosingPermissionTest.php # 4 tests: staff forbid, no-evidence, with-evidence, cross-dept
|
||||
│ │ └── TransferFlowTest.php # 2 tests: successful + missing reason
|
||||
│ └── Pest.php
|
||||
├── storage/app/private/feedback-attachments/ # Private disk upload directory
|
||||
@@ -204,6 +205,7 @@ feedback_interactions, feedback_tags, feedback_feedback_tag, products, customers
|
||||
### Dashboard Widgets (NEW)
|
||||
- ResolvedTicketsWidget: table of resolved tickets awaiting closure (manager: filtered to own department)
|
||||
- AvgProcessingTimeWidget: 4 stats (resolved count, avg time, pending count, escalated count)
|
||||
- HandlerPerformanceWidget: bar chart of avg processing time per handler
|
||||
|
||||
## Navigation Structure
|
||||
|
||||
@@ -218,7 +220,7 @@ Dashboard
|
||||
└── Tags (tag, sort=default)
|
||||
```
|
||||
|
||||
Dashboard widgets: ResolvedTicketsWidget, AvgProcessingTimeWidget (admin/manager only)
|
||||
Dashboard widgets: ResolvedTicketsWidget, AvgProcessingTimeWidget, HandlerPerformanceWidget (admin/manager only)
|
||||
|
||||
## RBAC (Role-Based Access Control) - Spatie
|
||||
|
||||
|
||||
Reference in New Issue
Block a user