chore(web): mark frontend as v1.0 complete

This commit is contained in:
2026-07-22 17:23:28 +08:00
parent 42dd0dce47
commit 4a82efc984
4 changed files with 7 additions and 4 deletions

View File

@@ -1,12 +1,12 @@
{
"name": "web_v1",
"version": "0.0.0",
"version": "1.0.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "web_v1",
"version": "0.0.0",
"version": "1.0.0",
"dependencies": {
"@arco-design/web-react": "^2.66.16",
"react": "^18.3.1",

View File

@@ -1,7 +1,7 @@
{
"name": "web_v1",
"private": true,
"version": "0.0.0",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "vite",

View File

@@ -51,6 +51,9 @@ const projectRailSource = readFileSync('src/pages/projects/project-rail.tsx', 'u
if (!projectRailSource.includes('projectNameLabel(project.name)')) {
failures.push('project rail labels must derive from the project name')
}
if (!readFileSync('src/pages/login.tsx', 'utf8').includes('v1.0 完整版')) {
failures.push('login must identify the frontend as v1.0 完整版')
}
if (!projectRailSource.includes('icon={<IconDashboard />}') || projectRailSource.includes('rail-brand-icon')) {
failures.push('workspace rail entry must use the dashboard icon instead of the brand logo')
}

View File

@@ -45,7 +45,7 @@ export function LoginPage({ onLogin }: { onLogin: (input: { server: string; emai
<Text className="login-slogan"> · </Text>
<Text type="secondary"> · · AI Agent</Text>
<Space className="login-footer-links" size={24}>
<Text type="secondary">v1.0.0</Text>
<Text type="secondary">v1.0 </Text>
<Text type="secondary"></Text>
<Text type="secondary"></Text>
</Space>