hailin
68d0c9d6f7
fix: 移除logo白色背景 + 优化登录页面UI和中文化
...
Logo修复:
- 移除 logo.svg 中的白色背景矩形 (fill="#ffffff")
- Logo 现在为透明背景,在深色主题上正确显示
登录页面优化:
- 添加 "iAgent" 品牌标题 (28px, bold, 带字间距)
- 副标题改为中文 "服务器集群运维智能体"
- 表单中文化: 邮箱/密码/登录
- 错误提示改为带背景色的卡片样式 (红色图标+文字)
- 添加邮箱输入框 placeholder (user@example.com )
- 密码框支持回车提交
- 底部提示: "账号由管理员在后台创建或通过邀请链接注册"
- 限制表单最大宽度 360px,外层改用 SingleChildScrollView 防溢出
用户账号说明:
App 端不提供自助注册功能,用户账号通过以下方式创建:
1. 管理员在 Web 后台 (用户管理页) 直接创建
2. 管理员发送邀请链接,用户通过链接注册
3. 通过 Web 端自助注册 (可选填公司名创建新租户)
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 16:42:42 -08:00
hailin
4e1b75483d
fix: 修复 .gitignore 误忽略 Flutter data/models/ 源码导致构建失败
...
问题描述:
在其他机器上构建报错:
"Error when reading 'lib/features/auth/data/models/auth_response.dart': 系统找不到指定的路径"
导致 AuthUser、AuthResponse 等类型找不到,编译失败。
根本原因:
根目录 .gitignore 第75行 "models/" 规则本意是忽略 ML 模型大文件,
但该规则匹配了所有目录名为 models/ 的路径,包括 Flutter 项目中
DDD 架构的 data/models/ 源码目录(共 11 个 models/ 目录、10 个 .dart 文件)。
这些文件在本地存在但从未被 Git 追踪,其他机器 pull 后缺失这些文件。
修复内容:
1. 修改 .gitignore: 将宽泛的 "models/" 替换为精确的规则
- packages/services/voice-service/models/ — voice-service 下载的 ML 模型
- *.pt, *.pth, *.safetensors — PyTorch/HuggingFace 模型二进制文件
- 不再影响 Flutter 的 data/models/ 源码目录
2. 提交之前被忽略的 10 个 Flutter model 文件:
- auth/data/models/auth_response.dart — 登录响应 (accessToken, refreshToken, user)
- chat/data/models/chat_message_model.dart — 聊天消息模型
- chat/data/models/session_model.dart — 会话模型
- chat/data/models/stream_event_model.dart — SSE 流事件模型
- servers/data/models/server_model.dart — 服务器状态模型
- approvals/data/models/approval_model.dart — 审批请求模型
- alerts/data/models/alert_event_model.dart — 告警事件模型
- agent_call/data/models/voice_session_model.dart — 语音会话模型
- standing_orders/data/models/standing_order_model.dart — 常设指令模型
- tasks/data/models/task_model.dart — 任务模型
3. 同时提交:
- it0_app/test/widget_test.dart — Flutter 默认测试
- packages/services/voice-service/src/models/__init__.py — Python 模块初始化
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 16:29:03 -08:00
hailin
2f228e4591
feat: integrate robot logo into web admin and Flutter app
...
- Add logo.svg (green robot character) to project root
- Web admin: replace text "IT" badge with SVG logo in sidebar
- Web admin: add logo image to login, register, invite pages
- Web admin: add SVG favicon and apple-touch-icon metadata
- Flutter: add flutter_svg dependency, replace text "IT0" with logo on login page
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 06:17:08 -08:00
hailin
00f8801d51
Initial commit: IT0 AI-powered server cluster operations platform
...
Full-stack monorepo with DDD + Clean Architecture:
- Backend: 7 NestJS microservices + 5 shared libraries (TypeScript)
- Mobile: Flutter app with Riverpod (Dart)
- Web Admin: Next.js dashboard with Zustand + React Query
- Voice: Python voice service (STT/TTS/VAD)
- Infra: Docker Compose, K8s manifests, Turborepo build
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-08 22:54:37 -08:00