feat: redesign homepage dashboard workbench

This commit is contained in:
kris
2026-03-28 05:34:20 +08:00
parent 45f6dca984
commit 7bec3680fb
8 changed files with 949 additions and 125 deletions

View File

@@ -16,13 +16,13 @@ need_cmd node
cd "$ROOT"
echo "[1/4] compile collector-service"
echo "[1/5] compile collector-service"
python3 -m compileall collector-service/app >/dev/null
echo "[2/4] validate docker compose"
echo "[2/5] validate docker compose"
docker compose config >/dev/null
echo "[3/4] validate n8n workflows"
echo "[3/5] validate n8n workflows"
python3 - <<'PY'
import json
import pathlib
@@ -33,10 +33,13 @@ for path in sorted(pathlib.Path("n8n/workflows").glob("*.json")):
print(f"workflow ok: {path.name}")
PY
echo "[4/4] validate web scripts"
echo "[4/5] validate web scripts"
for file in web/storyforge-web-v4/assets/app.js web/storyforge-web-v4/assets/storyforge-*.js; do
node --check "$file"
done
node --check scripts/douyin-browser-capture/control_panel.mjs
echo "[5/5] validate homepage dashboard tests"
node --test web/storyforge-web-v4/tests/dashboard-home.test.mjs
echo "baseline checks passed"