fix(web): derive project rail labels from names
This commit is contained in:
@@ -42,6 +42,11 @@ for (const forbidden of ['森林Agent', 'SenlinAI Workbench']) {
|
||||
}
|
||||
}
|
||||
|
||||
const projectRailSource = readFileSync('src/pages/projects/project-rail.tsx', 'utf8')
|
||||
if (!projectRailSource.includes('projectNameLabel(project.name)')) {
|
||||
failures.push('project rail labels must derive from the project name')
|
||||
}
|
||||
|
||||
if (existsSync('src/App.tsx')) {
|
||||
failures.push('legacy src/App.tsx should be removed after page split')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user