32 lines
1000 B
Markdown
32 lines
1000 B
Markdown
# Plan Complete: Rate Limiting Bug Fix
|
|
|
|
**Status:** ✅ Completed
|
|
**Completed:** December 2024
|
|
|
|
## Summary
|
|
|
|
This plan addressed two issues with the Rate Limiting feature:
|
|
|
|
1. **Backend Bug Fixed:** The `Upsert()` function in `security_service.go` now properly
|
|
saves all rate limiting fields (requests/sec, burst, window).
|
|
|
|
2. **UX Improvements Added:**
|
|
- Status badge on Rate Limiting card (Security dashboard)
|
|
- "Currently Active" summary card on Rate Limiting config page
|
|
|
|
## Files Changed
|
|
|
|
- `backend/internal/services/security_service.go` - Fixed field persistence
|
|
- `backend/internal/services/security_service_test.go` - Added test coverage
|
|
- `frontend/src/pages/Security.tsx` - Added status badge
|
|
- `frontend/src/pages/RateLimiting.tsx` - Added active config summary
|
|
- `frontend/src/pages/__tests__/RateLimiting.spec.tsx` - Added tests
|
|
|
|
## Documentation
|
|
|
|
See [features.md](../features.md#rate-limiting) for user-facing documentation.
|
|
|
|
---
|
|
|
|
*This plan file can be archived or deleted.*
|