mirror of
https://github.com/pacnpal/thrillwiki_django_no_react.git
synced 2025-12-24 15:31:09 -05:00
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:
@@ -11,7 +11,6 @@ check_command() {
|
||||
|
||||
# Check required commands
|
||||
check_command uv
|
||||
check_command curl
|
||||
check_command playwright
|
||||
|
||||
# Clean up any existing test data
|
||||
@@ -26,21 +25,6 @@ uv pip install -r requirements.txt
|
||||
echo "Installing Playwright browsers..."
|
||||
playwright install chromium firefox webkit
|
||||
|
||||
# Create test fixtures directory
|
||||
echo "Setting up test fixtures..."
|
||||
mkdir -p tests/fixtures
|
||||
|
||||
# Download test images
|
||||
echo "Downloading test images..."
|
||||
curl -L "https://picsum.photos/1920/1080" -o tests/fixtures/test_photo.jpg
|
||||
curl -L "https://picsum.photos/500/500" -o tests/fixtures/test_avatar.jpg
|
||||
|
||||
# Verify images were downloaded
|
||||
if [ ! -f tests/fixtures/test_photo.jpg ] || [ ! -f tests/fixtures/test_avatar.jpg ]; then
|
||||
echo "Error: Failed to download test images"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# Create test users
|
||||
echo "Creating test users..."
|
||||
uv run manage.py create_test_users
|
||||
|
||||
Reference in New Issue
Block a user