Files
CurrenciCombo/scripts/complete-todos.sh
defiQUG 3dc8592b83 docs: Update CHANGELOG and README for deployment models and troubleshooting
- 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.
2025-11-06 08:09:54 -08:00

46 lines
1.6 KiB
Bash
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
#!/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 ""