feat: restore learning feedback and knowledge capabilities

This commit is contained in:
2026-07-18 00:50:11 +08:00
parent 876a23a123
commit 6bdc86e3fc
152 changed files with 30337 additions and 953 deletions
@@ -0,0 +1,18 @@
#!/usr/bin/env bash
set -euo pipefail
ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)"
PAGE="$ROOT_DIR/frontend/src/views/knowledge/processing.vue"
grep -Fq '>批量导入</el-button>' "$PAGE"
grep -Fq ':data="pagedTasks"' "$PAGE"
grep -Fq 'v-model:current-page="taskPage"' "$PAGE"
grep -Fq 'const pagedTasks = computed' "$PAGE"
for removed in '选择目录' '服务端导入' 'webkitdirectory'; do
if grep -Fq "$removed" "$PAGE"; then
echo "FAIL: processing page still contains $removed" >&2
exit 1
fi
done
echo 'PASS: processing page exposes batch import only'