import { IconClockCircle, IconEmail, IconFile, IconHome, IconLink, IconList, IconRobot, IconUserGroup } from '@arco-design/web-react/icon'
import type { Project, ProjectChannel } from './project-types'

export const projects: Project[] = [
  { id: 'a1', name: '项目 A1', short: 'A1', badge: 635, urgent: true, color: '#165DFF' },
  { id: 'a2', name: '项目 A2', short: 'PM', badge: 36, color: '#00B42A' },
  { id: 'b1', name: '项目 B1', short: 'DS', badge: 4, urgent: true, color: '#722ED1' },
  { id: 'c3', name: '项目 C3', short: 'OP', badge: 45, color: '#FF7D00' },
]

export const channels: ProjectChannel[] = [
  { key: 'overview', label: '概况', count: 635, icon: <IconHome /> },
  { key: 'inbox', label: 'Inbox 消息流', count: 36, icon: <IconEmail /> },
  { key: 'tasks', label: '工作计划', count: 12, icon: <IconList /> },
  { key: 'ai', label: 'AI 会话', count: 4, icon: <IconRobot /> },
  { key: 'notes', label: '笔记资料', count: 343, icon: <IconFile /> },
  { key: 'cron', label: 'Cron 计划任务', count: 45, icon: <IconClockCircle /> },
  { key: 'research', label: '客户研究频道', icon: <IconUserGroup /> },
  { key: 'design', label: '产品设计频道', icon: <IconLink /> },
]

export const inbox = [
  { title: '竞争对手定价更新监控', meta: '来源：产品研究 · 竞品追踪', owner: '李明', time: '2 小时前', tag: '市场情报' },
  { title: '客户反馈：导出功能报错', meta: '来源：客户支持 · 工单 #CS-1287', owner: '王芳', time: '4 小时前', tag: '客户反馈' },
  { title: 'API 调用策略评估建议', meta: '来源：后端架构讨论', owner: '张伟', time: '6 小时前', tag: '架构' },
  { title: '更新需求文档 v1.3.2', meta: '来源：产品需求 · 文档评审', owner: '陈晨', time: '昨天', tag: '需求文档' },
]

export const tasks = [
  { title: '智能报表导出功能', owner: '张伟', progress: '60%', due: '2026-07-24', tag: '进行中' },
  { title: '企业版权限体系梳理', owner: '李明', progress: '30%', due: '2026-07-28', tag: '进行中' },
  { title: 'Q3 营销策略制定', owner: '王芳', progress: '45%', due: '2026-07-31', tag: '进行中' },
]

export const aiSessions = [
  { title: '生成 Q3 营销策略初稿', summary: '基于市场分析和竞品数据，输出 Q3 营销策略重点...', owner: '张伟', time: '今天 08:47' },
  { title: '产品定价模型讨论', summary: '针对企业版与标准版定价模型进行对比分析...', owner: '李明', time: '昨天 16:05' },
  { title: '客户流失原因分析', summary: '分析近三个月客户流失数据与反馈原因...', owner: '王芳', time: '昨天 10:22' },
  { title: '行业趋势与机会洞察', summary: '围绕 AI 在企业协同领域的趋势与机会...', owner: '张伟', time: '7 月 18 日' },
]

export const notes = [
  { title: '用户权限体系设计文档 v2.1', type: '文档', updated: '2026-07-19', owner: '李明' },
  { title: '导出功能技术方案评审', type: '文档', updated: '2026-07-18', owner: '张伟' },
  { title: '2026 Q3 竞品功能对比表', type: '表格', updated: '2026-07-18', owner: '王芳' },
]

export const discussions = [
  { name: '李明', time: '2026-07-20 09:12', text: '关于导出报错的问题，已在测试环境复现，初步定位为权限校验逻辑异常。' },
  { name: '张伟', time: '2026-07-20 09:18', text: '@李明 麻烦同步修复预计完成时间，我这边需要同步给客户。' },
  { name: '王芳', time: '2026-07-20 10:05', text: '补充：客户反馈影响范围主要集中在企业版用户。' },
  { name: '系统通知', time: '2026-07-20 10:30', text: '已将此讨论关联到任务：智能报表导出功能。' },
]
