张翔
14448af731
feat: 实现动态详情页面和性能优化
...
- 添加案例、新闻、产品详情页面的E2E测试
- 优化详情页面的客户端组件和页面逻辑
- 添加高性能Docker配置和Nginx配置
- 更新API服务和常量配置
- 添加性能优化文档和任务进度更新
- 修复ESLint错误和类型问题
2026-03-26 12:53:58 +08:00
张翔
498bb3a3c8
refactor: reorganize project structure and improve code quality
...
- Move CI/CD configs to config/ci/ directory
- Reorganize scripts into categorized directories (deployment, monitoring, testing, utils)
- Consolidate documentation into docs/ directory with proper structure
- Update linting and testing configurations
- Remove obsolete test reports and performance summaries
- Add new documentation for code quality tools and contact form security
- Improve project organization and maintainability
- Fix lint-staged config to only lint JS/TS files
- Disable react/react-in-jsx-scope rule for Next.js compatibility
- Ignore scripts and test config directories in ESLint
2026-03-24 13:38:58 +08:00
张翔
c06ac08510
docs: add quality gates documentation
2026-03-24 13:32:01 +08:00
张翔
f5dec95a83
feat: 添加管理后台页面和功能,优化测试和性能配置
...
refactor: 重构页面导航和滚动逻辑,提升用户体验
test: 更新测试配置和用例,增加覆盖率和稳定性
perf: 优化性能指标和阈值,适应开发环境需求
ci: 添加Lighthouse CI工作流,集成性能测试
docs: 更新API文档和健康检查端点
fix: 修复登录页面和表单提交问题
style: 调整响应式布局和可访问性改进
chore: 更新依赖项和脚本配置
2026-03-24 10:11:30 +08:00
张翔
46e851bc3a
fix: add error handling for admin login page and document admin credentials
...
- Add URL error parameter handling in login page
- Display appropriate error messages for different error types
- Document default admin credentials
- Provide security guidelines and password management instructions
2026-03-13 12:31:14 +08:00
张翔
b026d2b2ab
fix: resolve React 19 and Next.js 16 HMR compatibility issue
2026-03-13 12:13:43 +08:00
张翔
e56d3f20c1
docs: add comprehensive documentation for tiered testing
2026-03-13 12:03:01 +08:00
张翔
ec3a81f65d
docs: add E2E test coverage report
2026-03-12 22:16:29 +08:00
张翔
b207bfa7af
feat: 增加测试覆盖率并优化代码质量
...
test: 添加单元测试和端到端测试
refactor: 重构登录页面和上传模块
ci: 更新测试覆盖率阈值至42%
build: 添加测试相关依赖
docs: 更新测试文档
style: 修复代码格式问题
2026-03-11 11:14:37 +08:00
张翔
8fd7ed84ed
docs: record Phase 1 deployment log
2026-03-10 18:08:54 +08:00
张翔
869864a695
docs: add Phase 1 deployment guide and rollback procedure
2026-03-10 17:41:13 +08:00
张翔
1988b53388
feat: configure lightweight monitoring (Sentry, UptimeRobot, Analytics)
2026-03-10 17:36:37 +08:00
张翔
dbba1123b9
refactor: replace heavy monitoring with lightweight solution
2026-03-10 15:50:22 +08:00
张翔
e8dffa4f05
chore: remove GitHub Actions workflows, use Woodpecker CI exclusively
2026-03-10 13:10:11 +08:00
张翔
9b5d810caa
docs: add testing guide
2026-03-10 12:45:08 +08:00
张翔
4ece85a9c3
feat: 添加生产环境部署和监控配置
...
- 新增生产环境部署脚本和文档
- 添加监控系统配置(Alertmanager, Prometheus, Grafana)
- 更新e2e测试用例以适配新环境
- 添加.env.production配置文件
- 优化Sentry初始化逻辑为动态加载
- 新增全局设置脚本以支持不同环境
2026-03-09 16:37:23 +08:00
张翔
6d92024b63
feat: 修复测试套件问题并添加Woodpecker CI配置
...
- 修复API测试认证问题:创建全局认证设置,更新Playwright配置
- 优化回归测试稳定性:增加超时时间到15秒,修复定位器
- 创建Woodpecker CI工作流:CI、部署和质量门禁配置
- 添加Jest配置和测试脚本
- 移除登录页面的默认账号密码显示(安全问题修复)
2026-03-09 10:26:02 +08:00
张翔
92edcba99f
docs: 创建可配置化 CMS 执行计划
...
- 针对 Resend 邮件服务配置
- 使用本地文件存储
- 配置域名 novalon.cn
- 13 个详细任务,分 3 个阶段
- 预计 6-7 天完成
2026-03-08 20:21:38 +08:00
张翔
6a2c4fdae8
docs: 添加可配置化 CMS 系统实施计划
...
- 详细规划 16 个实施任务
- 包含完整的代码示例和测试用例
- 分 6 个阶段,预计 7-8 天完成
2026-03-08 20:10:50 +08:00
张翔
0afc050e0c
docs: 添加可配置化 CMS 系统设计文档
...
- 完成需求分析和技术选型
- 设计数据库结构和 API 接口
- 规划管理后台和权限体系
- 制定实施计划和测试策略
2026-03-08 20:05:23 +08:00
张翔
0175799004
docs: 删除过时的文档和测试报告文件
...
删除不再需要的文档、测试报告和计划文件,包括标题层级规范、颜色优化报告、测试框架文档等
2026-03-07 15:37:19 +08:00
张翔
feb646efe5
fix: 修复移动端导航菜单选择器问题
...
feat: 为主导航菜单和页面区块添加ARIA属性
fix: 解决工作时间信息获取问题
perf: 优化页面滚动功能实现
fix: 修正联系页面标题显示问题
test: 运行完整测试套件验证修复效果
docs: 添加修复完成报告
2026-03-07 15:20:40 +08:00
张翔
9423a6a473
docs: add comprehensive color contrast and heading hierarchy optimization report with deployment guide
2026-03-06 21:57:33 +08:00
张翔
d6e3cb8f3a
docs: add heading hierarchy guidelines for SEO and accessibility
2026-03-06 20:42:35 +08:00
张翔
bdd89c0c58
docs: add test framework refactoring completion summary
2026-03-06 13:03:54 +08:00
张翔
752fb228b6
docs: add test framework refactoring implementation plan
2026-03-06 11:59:03 +08:00
张翔
61e82b7e56
docs: add remaining planning documents
2026-03-06 11:51:46 +08:00
张翔
ddbab19657
docs: add test framework refactoring design document
2026-03-06 11:48:57 +08:00
张翔
060566fd73
chore: clean up mobile test files and update components
2026-03-05 14:23:19 +08:00
张翔
0bb1f5c12a
docs: add mobile testing execution guide
2026-03-05 14:19:28 +08:00
张翔
acfb1ccadc
docs: add mobile testing implementation plan
2026-03-05 14:16:51 +08:00
张翔
f7904cb924
docs: add mobile testing enhancement design document
2026-03-05 14:13:09 +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
张翔
834fb3bc3b
docs: 添加移动端测试改进实施计划
2026-03-05 10:36:57 +08:00
张翔
34f00fd4db
docs: 添加移动端测试评估报告和设计方案
2026-03-05 10:32:41 +08:00
张翔
13c4a2ca49
feat: 优化网站性能、响应式设计和测试覆盖率
...
- 更新next.config.ts配置以优化图片和静态资源
- 优化字体加载策略,减少首屏阻塞
- 使用Next.js Image组件替换img标签并实现懒加载
- 重构移动端菜单交互,提升触摸体验
- 新增安全测试和可访问性测试用例
- 修复导航栏滚动定位问题
- 更新部署就绪测试脚本
- 添加相关文档说明优化细节
2026-02-28 22:32:45 +08:00
张翔
7b2a8af19f
docs: 添加E2E测试短期优化完成报告
...
- 总结所有4个短期优化任务的完成情况
- 详细记录关键成果和技术栈
- 统计测试覆盖和质量提升(+52.2%测试数量,+20%综合覆盖率)
- 记录测试执行时间优化效果(58.8%缩短)
- 提供下一步建议(中期、长期)
- 包含相关文档和Git提交记录
2026-02-28 16:48:09 +08:00
张翔
efda131b8a
docs: 添加E2E测试框架统一迁移完成报告
...
- 总结所有10个任务的完成情况
- 详细记录关键成果和技术栈
- 统计测试覆盖和质量提升
- 提供下一步建议(短期、中期、长期)
- 包含相关文档和Git提交记录
2026-02-28 16:06:58 +08:00
张翔
18881b8807
docs: 添加Playwright测试覆盖率评估报告
...
- 评估27个测试文件和3个主要页面对象
- 分析测试覆盖率(核心功能约50%)
- 识别缺失的测试场景(安全、可访问性等)
- 提出改进建议和工作量评估(10.5天)
2026-02-28 15:00:39 +08:00
张翔
11c2cfd348
docs: 添加Python测试用例迁移分析报告
...
- 分析115个Python测试用例
- 识别高、中、低优先级测试场景
- 建立测试文件和页面对象映射
- 评估迁移风险和工作量
- 制定迁移顺序和行动计划
2026-02-28 14:57:52 +08:00
张翔
74a72f4e50
docs: 添加E2E测试迁移实施计划
...
- 将迁移工作分解为15个具体任务
- 四阶段实施:评估准备、核心迁移、专项补充、CI集成
- 遵循TDD原则,每个任务都有明确的验证步骤
- 预计工期9-14天
2026-02-28 14:38:54 +08:00
张翔
a146006e42
docs: 添加E2E测试统一方案设计文档
...
- 统一测试框架:从Python+Pytest迁移到TypeScript+Playwright
- 建立五层测试体系:Smoke、Regression、Performance、Security、Accessibility
- 设计分层CI/CD流程:快速验证、完整测试、全面测试
- 制定四阶段迁移计划:评估准备、核心迁移、专项补充、CI集成
- 金融级质量保障:满足安全、合规、可靠性要求
2026-02-28 14:12:49 +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
张翔
5d5b7feb0a
feat(e2e): 添加完整的E2E测试框架和测试用例
...
添加Playwright测试框架配置和基础页面对象
实现冒烟测试用例覆盖首页和联系页面核心功能
更新导航组件以支持滚动高亮功能
添加BackButton组件统一返回按钮行为
配置Woodpecker CI集成和测试报告生成
2026-02-27 10:30:33 +08:00
张翔
010fa4a025
docs: add website optimization design and implementation plan
2026-02-26 19:41:31 +08:00
张翔
dd0878a7a4
fix: rename news dynamic route parameter from id to slug
2026-02-26 18:20:00 +08:00
张翔
3de9890fc4
fix: 修复TypeScript类型错误
...
- 移除未使用的导入
- 修复产品详情页面的description类型错误
- 修复服务详情页面的description类型错误
- 修复联系表单API的类型错误
- 添加Award图标的导入
2026-02-26 16:26:40 +08:00
张翔
fecbfd1990
feat: 添加预览效果页面并优化交互效果
...
refactor: 优化代码健壮性和类型安全
style: 更新字体样式和全局CSS
fix: 修复IntersectionObserver潜在空引用问题
chore: 更新依赖和ESLint配置
build: 更新构建ID和路由配置
2026-02-24 10:24:05 +08:00
张翔
016b7cfb91
feat(a11y,ux): implement comprehensive accessibility and UX optimizations
...
Phase 1: Accessibility Optimizations
- Add proper label associations and ARIA attributes to form inputs
- Implement aria-required, aria-invalid, aria-describedby for better form accessibility
- Add role='alert' for error messages
- Enhance keyboard navigation with aria-expanded, aria-controls
- Add aria-label for mobile menu button
- Implement aria-current for active navigation items
- Add semantic HTML with aria-labelledby for sections
Phase 2: UX Optimizations
- Create loading skeleton components for better loading states
- Add FormSkeleton, SectionSkeleton, and LoadingSkeleton components
- Prepare for lazy loading implementation
Files modified:
- src/components/ui/input.tsx: Enhanced with ARIA attributes
- src/components/ui/textarea.tsx: Enhanced with ARIA attributes
- src/components/layout/header.tsx: Added navigation ARIA labels
- src/components/sections/hero-section.tsx: Added section labels
- src/components/sections/services-section.tsx: Added section labels
- src/components/ui/loading-skeleton.tsx: New loading state components
Impact:
- WCAG 2.1 AA compliance improvements
- Better screen reader support
- Enhanced keyboard navigation
- Improved user feedback during loading
2026-02-24 00:40:19 +08:00