feat(web): add explore source configuration modals

This commit is contained in:
2026-07-22 15:56:04 +08:00
parent 74775ed64f
commit 5d2f45ad83
3 changed files with 221 additions and 62 deletions

View File

@@ -130,7 +130,7 @@ for (const forbidden of ['DeepSeek V4.0 Flash', '给 DeepSeek 发送消息', 'Ic
}
const explorePageSource = readFileSync('src/pages/workspace-explore.tsx', 'utf8')
for (const required of ['explore-source-card', 'explore-reader-layout', '同步数据源', '添加数据源', 'detectSource']) {
for (const required of ['explore-source-card', 'explore-reader-layout', '同步数据源', '添加数据源', 'detectSource', 'explore-source-modal', 'openAddSource', 'openEditSource']) {
if (!explorePageSource.includes(required)) failures.push(`workspace explore page must restore ${required}`)
}