- Added multi-platform deployment architecture details (Web App, PWA, DApp) to README.md. - Included comprehensive troubleshooting guides and fix scripts in README.md. - Enhanced CHANGELOG.md with new features, fixes, and improvements, including TypeScript error resolutions and updated documentation structure. - Revised development setup instructions in DEV_SETUP.md to reflect changes in script usage and environment variable setup.
46 lines
1.6 KiB
Bash
46 lines
1.6 KiB
Bash
#!/bin/bash
|
||
# Parallel TODO Completion Script
|
||
# This script helps track and complete todos in priority order
|
||
|
||
echo -e "\n========================================"
|
||
echo -e " TODO COMPLETION TRACKER"
|
||
echo -e "========================================\n"
|
||
|
||
# Read remaining todos
|
||
TODOS_FILE="docs/REMAINING_TODOS.md"
|
||
if [ -f "$TODOS_FILE" ]; then
|
||
echo -e "\033[0;33mReading todos from: $TODOS_FILE\033[0m"
|
||
|
||
# Count remaining todos
|
||
REMAINING=$(grep -c "^- \[ \]" "$TODOS_FILE" 2>/dev/null || echo "0")
|
||
COMPLETED=$(grep -c "^- \[x\]" "$TODOS_FILE" 2>/dev/null || echo "0")
|
||
|
||
echo -e "\n\033[0;36mProgress:\033[0m"
|
||
echo -e " Remaining: \033[0;33m$REMAINING todos\033[0m"
|
||
echo -e " Completed: \033[0;32m$COMPLETED todos\033[0m"
|
||
|
||
if [ "$REMAINING" -gt 0 ] || [ "$COMPLETED" -gt 0 ]; then
|
||
TOTAL=$((REMAINING + COMPLETED))
|
||
PERCENT=$(awk "BEGIN {printf \"%.1f\", ($COMPLETED / $TOTAL) * 100}")
|
||
if (( $(echo "$PERCENT > 50" | bc -l) )); then
|
||
color="\033[0;32m"
|
||
elif (( $(echo "$PERCENT > 25" | bc -l) )); then
|
||
color="\033[0;33m"
|
||
else
|
||
color="\033[0;31m"
|
||
fi
|
||
echo -e " Completion: ${color}${PERCENT}%\033[0m"
|
||
fi
|
||
else
|
||
echo -e "\033[0;33m⚠️ Todos file not found: $TODOS_FILE\033[0m"
|
||
fi
|
||
|
||
echo -e "\n\033[0;36mQuick Actions:\033[0m"
|
||
echo -e " 1. Check service status: ./scripts/check-status.sh"
|
||
echo -e " 2. Verify services: ./scripts/verify-services.sh"
|
||
echo -e " 3. Test endpoints: ./scripts/test-curl.sh"
|
||
echo -e " 4. Setup database: ./scripts/setup-database.sh"
|
||
echo -e " 5. Fix frontend: ./scripts/fix-frontend.sh"
|
||
echo ""
|
||
|