geo/frontend/lib/api
chiguyong 45e151fc31 fix: frontend quality improvements
- Fix ONBOARDING_STEPS count (5→6) to match actual flow
- Unify OnboardingState type (remove duplicate from page.tsx)
- Replace raw fetch with fetchWithAuth in health-score.ts
- Extract shared utils (round, getStatusColor, DIMENSION_ICONS) to lib/utils/health-score.ts
- Fix Step5 handleComplete silent failure on error
- Remove console.error from Step2/Step4/Step5
- Remove unused props from Step3Platforms
- Fix TS errors in agents/page.tsx and strategy/page.tsx
- Exclude test files from tsc (handled by vitest)
2026-06-01 23:41:27 +08:00
..
admin.ts feat: 完成系统真实化改造 + Mock清除 + 文档编写 2026-05-23 21:35:10 +08:00
agents.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
ai-engines.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
alerts.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
analytics.ts feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
attribution.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
auth.ts feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
brands.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
citations.ts feat: 完成系统真实化改造 + Mock清除 + 文档编写 2026-05-23 21:35:10 +08:00
client.ts fix: unify frontend API client - add blob support to fetchWithAuth, eliminate raw fetch calls 2026-06-01 20:54:12 +08:00
clients.ts feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
competitor-analysis.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
content.ts feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
contents.ts feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
detection.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
diagnosis.ts feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
distribution.ts feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
health-score.ts fix: frontend quality improvements 2026-06-01 23:41:27 +08:00
image.ts feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
index.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
knowledge.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
lifecycle.ts feat: 修复前后端API路径不匹配,对接真实数据与百炼LLM 2026-05-23 14:45:51 +08:00
monitoring.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
onboarding.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
organization.ts feat: P0-P2功能实现 + GEO workflow分析与规划 2026-05-25 09:45:18 +08:00
platform-rules.ts feat: 平台规则中心 - 各平台规则收集与Pipeline集成 2026-05-23 22:33:45 +08:00
queries.ts feat: 完成系统真实化改造 + Mock清除 + 文档编写 2026-05-23 21:35:10 +08:00
reports.ts fix: unify frontend API client - add blob support to fetchWithAuth, eliminate raw fetch calls 2026-06-01 20:54:12 +08:00
schema-advisor.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
strategy.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
subscriptions.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
suggestions.ts fix: 审计发现的问题修复 2026-05-25 23:33:25 +08:00
trends.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00
usage.ts feat(geo): U1-U9 monetization closed loop implementation 2026-06-01 07:39:05 +08:00