import { Button, Card, Empty, Grid, Space, Tag, Typography } from '@arco-design/web-react' import { IconBook, IconCompass, IconLink, IconLoop, IconRefresh, IconStar } from '@arco-design/web-react/icon' import type { ProjectWorkspace } from './projects/project-types' const { Row, Col } = Grid const { Title, Text, Paragraph } = Typography const rssSources = [ { name: '产品更新', url: 'https://example.com/product.xml', status: '运行中', count: 18, color: 'arcoblue' }, { name: '行业情报', url: 'https://example.com/market.xml', status: '运行中', count: 24, color: 'green' }, { name: '技术博客', url: 'https://example.com/engineering.xml', status: '待同步', count: 9, color: 'orange' }, ] export function WorkspaceExplorePage({ workspaces, onSelectItem }: { workspaces: ProjectWorkspace[]; onSelectItem: (title: string) => void }) { const articles = workspaces.flatMap((workspace) => workspace.inbox.map((item) => ({ ...item, project: workspace.project }))) const selected = articles[0] const pendingCount = articles.filter((item) => item.status === 'open').length const sourceCount = rssSources.length return (