Add secret management guide, client-side performance monitoring, and search accessibility enhancements

- Introduced a comprehensive Secret Management Guide detailing best practices, secret classification, development setup, production management, rotation procedures, and emergency protocols.
- Implemented a client-side performance monitoring script to track various metrics including page load performance, paint metrics, layout shifts, and memory usage.
- Enhanced search accessibility with keyboard navigation support for search results, ensuring compliance with WCAG standards and improving user experience.
This commit is contained in:
pacnpal
2025-12-23 16:41:42 -05:00
parent ae31e889d7
commit edcd8f2076
155 changed files with 22046 additions and 4645 deletions

View File

@@ -1,5 +1,39 @@
# Park Search Tests
## Why These Tests Are Disabled
These tests were disabled because they need updating to work with the new `ParkLocation` model instead of the generic `Location` model. The model refactoring changed how location data is stored and accessed for parks.
## Re-enabling These Tests
To re-enable these tests, follow these steps:
1. **Update model imports** in `test_filters.py` and `test_models.py`:
- Replace `from apps.locations.models import Location` with `from apps.parks.models import ParkLocation`
- Update any other location-related imports
2. **Update test fixtures** to use `ParkLocation` instead of `Location`:
- Change factory classes to create `ParkLocation` instances
- Update fixture data to match the new model structure
3. **Update assertions** to match new model structure:
- Adjust field references (e.g., `park.location` may now be `park.park_location`)
- Update any serializer-based assertions
4. **Move files** back to the active test directory:
```bash
mv backend/apps/parks/tests_disabled/*.py backend/apps/parks/tests/
```
5. **Run tests** to verify they pass:
```bash
uv run pytest backend/apps/parks/tests/
```
**Tracking**: See TODO(THRILLWIKI-XXX) for tracking issue
---
## Overview
Test suite for the park search functionality including: