Files
AIclinicalresearch/git-cleanup-redcap.ps1
HaHafeng 4ed67a8846 fix(admin): Fix Prompt management list not showing version info and add debug diagnostics
Summary:
- Fix Prompt list API response schema missing activeVersion and draftVersion fields
- Fastify was filtering out undefined schema fields, causing version columns to show empty
- Add detailed diagnostic logging for Prompt debug mode troubleshooting
- Verify debug mode works correctly (DRAFT version is used when debug enabled)

Changes:
- backend/src/common/prompt/prompt.routes.ts: Add activeVersion and draftVersion to response schema
- backend/src/common/prompt/prompt.service.ts: Add diagnostic logs for setDebugMode and get methods
- PKB module: Various authentication and document handling fixes from previous session

Tested: Debug mode verified working - v2 DRAFT version correctly loaded when debug enabled
2026-01-13 22:22:10 +08:00

38 lines
703 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