Files
AIclinicalresearch/git-cleanup-redcap.ps1
HaHafeng 4088275290 fix(pkb): fix create KB and upload issues - remove simulated upload, fix department mapping, add upload modal
Fixed issues:
- Remove simulateUpload function from DashboardPage Step 3
- Map department to description field when creating KB
- Add upload modal in WorkspacePage knowledge assets tab
- Fix DocumentUpload import path (../../stores to ../stores)

Known issue: Dify API validation error during document upload (file uploaded but DB record failed, needs investigation)

Testing: KB creation works, upload dialog opens correctly
2026-01-13 13:17:20 +08:00

36 lines
701 B
PowerShell

# Git cleanup script for REDCap source code folders
# Remove from Git tracking but keep local files
cd D:\MyCursor\AIclinicalresearch
Write-Host "Removing REDCap source folders from Git tracking..." -ForegroundColor Yellow
# Remove from Git cache (but keep local files)
git rm -r --cached redcap15.8.0 2>$null
git rm -r --cached redcap_external_module_framework_docs_main 2>$null
git rm -r --cached redcap_external_module_framework_docs_main/guanfangexternal-module-framework-docs-main 2>$null
Write-Host "Cleanup complete! Files removed from Git but preserved locally." -ForegroundColor Green
Write-Host ""
Write-Host "Next step: Run the commit command" -ForegroundColor Cyan