fixes
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
import { Link } from "react-router";
|
||||
import { Link, useNavigate } from "react-router";
|
||||
import PageMeta from "../../components/common/PageMeta";
|
||||
import ComponentCard from "../../components/common/ComponentCard";
|
||||
import { ProgressBar } from "../../components/ui/progress";
|
||||
import { ListIcon, GroupIcon, BoltIcon, PieChartIcon, ArrowRightIcon, CheckCircleIcon, TimeIcon } from "../../icons";
|
||||
|
||||
export default function PlannerDashboard() {
|
||||
const navigate = useNavigate();
|
||||
|
||||
// Mock data - will be replaced with API calls
|
||||
const stats = {
|
||||
keywords: 245,
|
||||
@@ -175,13 +177,17 @@ export default function PlannerDashboard() {
|
||||
</p>
|
||||
)}
|
||||
{step.status === "pending" && (
|
||||
<Link
|
||||
to={step.path}
|
||||
className="mt-3 inline-block text-xs font-medium text-brand-500 hover:text-brand-600"
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
<button
|
||||
type="button"
|
||||
onClick={(e) => {
|
||||
e.preventDefault();
|
||||
e.stopPropagation();
|
||||
navigate(step.path);
|
||||
}}
|
||||
className="mt-3 inline-block text-xs font-medium text-brand-500 hover:text-brand-600 cursor-pointer"
|
||||
>
|
||||
Start Now →
|
||||
</Link>
|
||||
</button>
|
||||
)}
|
||||
</Link>
|
||||
))}
|
||||
|
||||
22
restart-backend.sh
Normal file
22
restart-backend.sh
Normal file
@@ -0,0 +1,22 @@
|
||||
#!/bin/bash
|
||||
# Restart backend containers to pick up code changes
|
||||
|
||||
echo "🛑 Stopping backend containers..."
|
||||
docker stop igny8_backend igny8_celery_worker igny8_celery_beat
|
||||
|
||||
echo "⏳ Waiting 3 seconds..."
|
||||
sleep 3
|
||||
|
||||
echo "🚀 Starting backend containers..."
|
||||
docker start igny8_backend igny8_celery_worker igny8_celery_beat
|
||||
|
||||
echo "⏳ Waiting 5 seconds for containers to initialize..."
|
||||
sleep 5
|
||||
|
||||
echo "📋 Checking container status..."
|
||||
docker ps --filter "name=igny8" --format " {{.Names}} | {{.Status}}"
|
||||
|
||||
echo ""
|
||||
echo "📝 Checking backend logs for errors..."
|
||||
docker logs igny8_backend --tail 20
|
||||
|
||||
Reference in New Issue
Block a user