74 Commits

Author SHA1 Message Date
张翔 9c9f2276f2 docs: add comprehensive Jenkins CI/CD setup guide
- Step-by-step configuration for Pipeline job
- Gitea Webhook integration instructions
- SSH deployment credentials setup
- Notification configuration (email/DingTalk)
- Troubleshooting common issues
- Performance optimization tips
2026-05-12 12:50:05 +08:00
张翔 8840c4398a feat: downgrade tech stack to stable versions and integrate GA4 error monitoring
- Downgrade Next.js 16→14.2, React 19→18.3, Tailwind 4→3.4
- Add comprehensive GA4 error monitoring system
- Create Jenkins CI/CD pipeline with quality gates
- Fix build issues: ESLint, SWC conflict, config format
- Add documentation for deployment and error tracking
2026-05-12 12:45:18 +08:00
张翔 37296b5717 feat(website): 三轮视觉改造与页面过渡动画
改造概要(30项):
- 第一轮:Hero重构/Section差异化/SocialProof强化/CTA对比度/About架构
- 第二轮:字体优化/背景交替/Solutions差异化/Footer五列/MegaDropdown修复
- 第三轮:卡片交互/表单层级/CTA统一/时间线标记/连接线/三列布局/移动导航/Button微交互/SEO Schema
- P3-2:template.tsx+Framer Motion页面过渡/loading.tsx加载状态
- 清理:删除未用组件/hooks,修复重复移动导航,清理冗余CSS
2026-05-10 08:20:27 +08:00
张翔 747405dc96 refactor: 移除hero水墨动画,优化全局样式与组件细节 2026-05-04 00:00:19 +08:00
张翔 8f70f7021c docs: 添加墨韵增强实现计划 2026-05-03 19:19:50 +08:00
张翔 b900abbe1d docs: 添加粒子束墨韵增强设计规格文档 2026-05-03 19:12:57 +08:00
张翔 c025698cb4 docs: add Hero ink-data-morph implementation plan 2026-05-03 16:50:35 +08:00
张翔 fc328aab59 docs: add Hero ink-data-morph animation design spec 2026-05-03 16:38:08 +08:00
张翔 fe6e4b1c54 refactor: P0 - remove testimonial, migrate footer & mobile menu to NAVIGATION_V2
- Remove TestimonialSection from homepage (no customers yet)
- Footer: dark theme, NAVIGATION_V2 + MEGA_DROPDOWN_DATA links
- Mobile Menu: NAVIGATION_V2 with collapsible dropdown support
2026-04-30 22:00:00 +08:00
张翔 96dddeb20b chore: 上线前测试修复与部署配置更新
- fix(test): 添加 useSearchParams mock,修正联系链接断言
- style(nav): 将"联系我们"改为"联系"
- chore(deploy): 更新 Nginx 配置和部署文档
- style(logo): 更新 Logo SVG 文件
- feat(scripts): 添加字体处理和站点配置脚本
2026-04-22 20:17:13 +08:00
张翔 6403489954 refactor: 完成静态网站转换,移除所有 CMS 和动态功能
- 删除数据库相关代码 (src/db/)
- 删除 API 路由 (src/app/api/)
- 删除认证相关代码 (src/lib/auth/, src/providers/)
- 删除监控和安全中间件 (src/lib/security/, src/lib/monitoring/)
- 删除 hooks (use-news, use-products, use-services)
- 更新组件为静态数据源
- 添加 nginx 静态配置和部署脚本
- 添加 static-link 组件
2026-04-21 07:53:56 +08:00
张翔 cd1d6aa28a chore: 清理过时的计划文档,保留最新优化计划 2026-04-21 07:51:27 +08:00
张翔 e6e3f79a2b feat: 更新项目配置和文档,优化UI样式和CI配置
- 从tsconfig.json中移除测试文件排除规则
- 优化错误边界组件的min-h样式
- 修正about-section中的引号转义和背景样式
- 更新woodpecker.yml中的release分支匹配模式
- 新增monorepo多站点架构设计方案文档
2026-03-28 14:39:28 +08:00
张翔 a003f1192e feat(ui/ux): 优化用户体验和可访问性
- 字体加载优化: 添加 font-display: block 策略,创建 useFontLoading hook
- 色彩对比度: 调整 text-muted 和 text-tertiary 颜色值确保 WCAG AA 合规
- 滚动进度条: 新增 ScrollProgress 组件,支持 reduced motion
- 表单自动保存: 新增 useFormAutosave hook,防止用户数据丢失
- 返回顶部按钮: 新增 BackToTop 组件,提升长页面导航体验
- 图片懒加载: 优化 OptimizedImage 组件,添加 blur placeholder 和加载动画

所有新组件均包含完整测试,1450+ 测试通过
2026-03-28 11:21:04 +08:00
张翔 7a38eae6e0 chore: 删除e2e测试相关的初始化文件和快照文件
清理不再需要的测试初始化文件和视觉回归测试的快照文件,以保持代码库整洁
2026-03-27 09:56:57 +08:00
张翔 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