张翔
24cec5f572
test: add session management tests
2026-03-10 11:43:58 +08:00
张翔
4ece85a9c3
feat: 添加生产环境部署和监控配置
...
- 新增生产环境部署脚本和文档
- 添加监控系统配置(Alertmanager, Prometheus, Grafana)
- 更新e2e测试用例以适配新环境
- 添加.env.production配置文件
- 优化Sentry初始化逻辑为动态加载
- 新增全局设置脚本以支持不同环境
2026-03-09 16:37:23 +08:00
张翔
4897c6e11c
feat: 建立监控告警体系和生产环境配置
...
阶段三:建立监控告警体系
- 集成Sentry错误监控:安装依赖,创建配置文件,初始化Sentry
- 配置性能监控:创建监控工具类,实现健康检查API
- 更新环境变量模板,添加Sentry和数据库配置
阶段四:配置生产环境
- 创建生产环境变量模板
- 创建Dockerfile和docker-compose.prod.yml
- 创建备份和恢复脚本
- 设置脚本执行权限
2026-03-09 11:00:42 +08:00
张翔
6d92024b63
feat: 修复测试套件问题并添加Woodpecker CI配置
...
- 修复API测试认证问题:创建全局认证设置,更新Playwright配置
- 优化回归测试稳定性:增加超时时间到15秒,修复定位器
- 创建Woodpecker CI工作流:CI、部署和质量门禁配置
- 添加Jest配置和测试脚本
- 移除登录页面的默认账号密码显示(安全问题修复)
2026-03-09 10:26:02 +08:00
张翔
96c96fe75d
feat: 创建权限检查工具
...
- 定义权限矩阵(admin/editor/viewer)
- 实现权限检查函数
- 实现权限要求函数
2026-03-08 21:13:39 +08:00
张翔
62e251c6f3
feat: 配置 NextAuth.js 认证系统
...
- 支持邮箱密码登录
- 支持 Magic Link 登录(Resend)
- 配置 Session Provider
- 添加 TypeScript 类型定义
2026-03-08 21:11:58 +08:00
张翔
8ac9933ba4
feat: 添加数据库种子数据脚本
...
- 创建管理员用户 (admin@novalon.cn )
- 创建默认功能配置
- 创建默认 SEO 配置
2026-03-08 21:02:47 +08:00
张翔
55c8a0015b
feat: 定义数据库 Schema
...
- 用户表 (users)
- 内容表 (content)
- 版本历史表 (content_versions)
- 站点配置表 (site_config)
- 操作日志表 (audit_logs)
2026-03-08 20:59:43 +08:00
张翔
17747fde31
feat: 配置数据库连接
2026-03-08 20:49:58 +08:00
张翔
feb646efe5
fix: 修复移动端导航菜单选择器问题
...
feat: 为主导航菜单和页面区块添加ARIA属性
fix: 解决工作时间信息获取问题
perf: 优化页面滚动功能实现
fix: 修正联系页面标题显示问题
test: 运行完整测试套件验证修复效果
docs: 添加修复完成报告
2026-03-07 15:20:40 +08:00
张翔
32368122bb
merge: merge color-heading-optimization into feat-init
...
- Add color contrast optimization and checking tools
- Add heading hierarchy guidelines and checker
- Resolve package-lock.json conflict (keeping feat-init version)
2026-03-07 10:47:43 +08:00
张翔
92af40df8e
fix: resolve test failures and improve test stability
...
- Fix navigation menu display and click issues
- Fix scroll to top/bottom test failures
- Fix section display tests by removing non-existent contact section
- Add data-testid attributes for better test reliability
- Optimize test expectations for scroll behavior
- Add contact page layout for metadata export
- Update section components with proper ARIA attributes
2026-03-07 10:47:14 +08:00
张翔
0ad042701a
fix: correct heading hierarchy in about page - change H4 to H3 for milestones
2026-03-06 20:44:41 +08:00
张翔
1238123675
fix: correct heading hierarchy in contact page - change H3/H4 to H2 for proper SEO structure
2026-03-06 20:44:25 +08:00
张翔
a2f1e29aaa
fix: optimize CSS color variables for WCAG AA compliance
...
- Changed --color-bg-primary from #FAFAFA to #FFFFFF
- Changed --color-text-tertiary from #5C5C5C to #4A4A4A
- Changed --color-text-muted from #8C8C8C to #6B6B6B
- All color combinations now meet WCAG AA 4.5:1 contrast ratio
2026-03-06 20:12:55 +08:00
张翔
940598c5cc
feat: add color contrast calculation utility with WCAG standards
2026-03-06 20:11:32 +08:00
张翔
badce55606
feat: add data-testid and data-type support to Toast component
2026-03-06 17:49:27 +08:00
张翔
0222f20a19
feat: add data-testid attributes for form elements to improve testability
2026-03-06 17:45:41 +08:00
张翔
c678df44ae
fix: improve footer visibility with data-testid and waitForFooter method
2026-03-05 22:53:12 +08:00
张翔
2d6cd79067
fix: add name and data-testid attributes for form input fields
2026-03-05 21:51:50 +08:00
张翔
318081a62a
fix: add data-testid attributes for contact page elements
2026-03-05 21:49:12 +08:00
张翔
2f6f6a6aca
fix: add navigation role attribute for better test selector
2026-03-05 20:59:25 +08:00
张翔
136fe7ac04
fix: update gitignore and footer component
2026-03-05 16:43:44 +08:00
张翔
060566fd73
chore: clean up mobile test files and update components
2026-03-05 14:23:19 +08:00
张翔
6797c24b5c
feat: 添加移动端适配和测试功能
...
refactor(layout): 优化页脚布局和备案信息展示
feat(constants): 添加ICP备案和公安备案信息
feat(header): 实现移动端加载时的骨架屏效果
style(globals): 调整文字颜色和添加移动端响应样式
feat(breadcrumb): 增加返回按钮和响应式优化
feat(e2e): 添加移动端测试工具和测试用例
docs: 添加页脚重设计文档
2026-03-05 11:40:21 +08:00
张翔
9cbc80742a
feat: 重构联系页面并增强安全性
...
refactor: 优化导航和路由逻辑
fix: 修复移动端样式问题
perf: 优化字体加载和性能
test: 添加安全性和可访问性测试
style: 调整按钮和表单样式
chore: 更新依赖版本
ci: 添加安全头配置
build: 优化构建配置
docs: 更新常量信息
2026-03-01 10:56:54 +08:00
张翔
13c4a2ca49
feat: 优化网站性能、响应式设计和测试覆盖率
...
- 更新next.config.ts配置以优化图片和静态资源
- 优化字体加载策略,减少首屏阻塞
- 使用Next.js Image组件替换img标签并实现懒加载
- 重构移动端菜单交互,提升触摸体验
- 新增安全测试和可访问性测试用例
- 修复导航栏滚动定位问题
- 更新部署就绪测试脚本
- 添加相关文档说明优化细节
2026-02-28 22:32:45 +08:00
张翔
0cfefaa937
refactor(ui): 优化导航组件和页面布局
...
- 移除多个页面的面包屑导航组件
- 添加统一的返回按钮组件替代各页面独立实现
- 优化导航栏滚动检测逻辑和动画效果
- 更新常量类型定义和统计数据
- 调整动态导入的SSR配置为false
- 添加FlipClock组件展示公司运营时长
- 优化新闻列表页的类型安全和响应式设计
2026-02-28 13:09:07 +08:00
张翔
9451814ca4
feat: 添加面包屑导航组件并优化页面布局
...
refactor: 重构页面结构和导航逻辑
fix: 修复移动端菜单导航和滚动行为
perf: 优化图片加载性能和资源请求
test: 添加端到端测试和性能测试用例
docs: 更新.gitignore文件
chore: 更新依赖和配置
style: 优化代码格式和类型安全
ci: 调整Playwright测试超时时间
build: 更新Next.js配置和构建选项
2026-02-28 09:09:04 +08:00
张翔
9d01e0982f
fix: improve type safety in service detail page
2026-02-27 20:41:40 +08:00
张翔
94c419f601
feat: add back to home button on all list pages
2026-02-27 20:39:50 +08:00
张翔
fd058a53d1
fix: add missing SectionSkeleton component
2026-02-27 20:35:37 +08:00
张翔
5924a7d493
feat: add skeleton screen components and optimize image config
2026-02-27 20:30:36 +08:00
张翔
aa47a45a95
feat: add touch swipe support for mobile
2026-02-27 20:29:00 +08:00
张翔
1bdb95b5b6
feat: optimize mobile form input experience
2026-02-27 20:27:17 +08:00
张翔
44bf88b200
feat: add mobile tab bar navigation
2026-02-27 20:26:08 +08:00
张翔
b426bc9b62
style: restore red underline for active navigation item
2026-02-27 12:01:59 +08:00
张翔
f70d8dace9
style: remove red focus rings from navigation header
2026-02-27 11:46:07 +08:00
张翔
b787c769ec
feat: implement contact form submission with validation
2026-02-27 10:59:29 +08:00
张翔
5d5b7feb0a
feat(e2e): 添加完整的E2E测试框架和测试用例
...
添加Playwright测试框架配置和基础页面对象
实现冒烟测试用例覆盖首页和联系页面核心功能
更新导航组件以支持滚动高亮功能
添加BackButton组件统一返回按钮行为
配置Woodpecker CI集成和测试报告生成
2026-02-27 10:30:33 +08:00
张翔
4a616fe96e
refactor: complete website optimization - unified navigation, colors, and structure
...
- Created service detail pages with storytelling style
- Created service list page
- Removed service modal interactions
- Simplified homepage About section
- Added homepage Cases section
- Updated navigation to use page links instead of anchors
- Created products list page
- Updated footer links
- Unified color scheme to brand red (#C41E3A)
- Fixed TypeScript errors (removed unused imports)
- Fixed JSX syntax errors
- Split About page into server and client components
- All tests passing: typecheck and build successful
2026-02-26 21:43:44 +08:00
张翔
14af1a755f
refactor: update solutions page color scheme to brand red
2026-02-26 21:30:44 +08:00
张翔
e72d678521
refactor: update case detail page color scheme to brand red
2026-02-26 21:29:48 +08:00
张翔
702b3296bc
refactor: update footer links to use page navigation
2026-02-26 21:28:47 +08:00
张翔
8cb5b7659f
feat: add products list page
2026-02-26 21:27:49 +08:00
张翔
2b08a536eb
refactor: update navigation to use independent page links
2026-02-26 21:27:19 +08:00
张翔
cb512bb13a
refactor: update homepage section order with cases section
2026-02-26 21:26:26 +08:00
张翔
f0e147eba8
feat: add cases section to homepage
2026-02-26 21:25:59 +08:00
张翔
b468415e54
refactor: simplify about section on homepage
2026-02-26 21:25:31 +08:00
张翔
1e1c68670b
refactor: remove service detail modal component
2026-02-26 21:24:59 +08:00