Project-Image-Uploader/frontend
matthias.lotz 6effded8bf feat(frontend): Add comprehensive error handling for admin API
Phase 2: User-Friendly Error Handling

 Error Handler Service:
- Created adminErrorHandler.js with handleAdminError()
- User-friendly SweetAlert2 dialogs for all error types:
  * 403 Unauthorized - Clear admin token instructions
  * 429 Rate Limit - Wait and retry message
  * 404 Not Found - Resource not found
  * 500 Server Error - Internal server error
  * Generic errors with context

 Integrated Error Handling in all Admin Components:
- ModerationGroupsPage.js (all 6 admin operations)
- ModerationGroupImagesPage.js (group loading)
- DeletionLogSection.js (log loading + statistics)
- ConsentCheckboxes.js (platform loading)

 Error Context Messages:
- "Gruppe laden"
- "Gruppe freigeben"
- "Gruppe löschen"
- "Bild löschen"
- "Consent-Export"
- "Plattformen laden"
- "Lösch-Log laden"
- "Statistiken laden"

 Benefits:
- Clear technical details for admins in error dialogs
- Context-specific error messages
- Consistent error handling across all admin features
- Better debugging with detailed 403 instructions
2025-11-16 18:56:21 +01:00
..
public feat(frontend): Ersetze Lottie-Animation durch custom 3D SVG Logo-Animation 2025-11-08 20:58:23 +01:00
src feat(frontend): Add comprehensive error handling for admin API 2025-11-16 18:56:21 +01:00
.env.example feat(frontend): Migrate all API routes to new structure with admin auth 2025-11-16 18:39:40 +01:00
.gitignore Initial Commit 2025-10-15 21:33:00 +02:00
MIGRATION-GUIDE.md docs: Correct migration guide - ALL routes changed, not just admin 2025-11-16 18:25:32 +01:00
package-lock.json feat: implement drag-and-drop reordering infrastructure 2025-11-03 21:06:39 +01:00
package.json feat(frontend): Update footer with version info and attribution 2025-11-08 16:22:04 +01:00