diff --git a/src/frontend/src/components/EdictBoard.tsx b/src/frontend/src/components/EdictBoard.tsx
index c0fa196..0c146e5 100644
--- a/src/frontend/src/components/EdictBoard.tsx
+++ b/src/frontend/src/components/EdictBoard.tsx
@@ -409,26 +409,65 @@ export default function EdictBoard() {
- {/* 筛选 + 搜索 */}
-
+ {/* 第 1 行:归档控制 */}
+
+ {(['active', 'archived', 'all'] as const).map(f => (
+
+ ))}
+ 活跃{activeCount} · 归档{archivedCount} · 共{topLevelTasks.length}
+
+
+
+ {/* 第 2 行:状态筛选 + 搜索 */}
+
{filters.map(f => (
))}
setSearchQuery(e.target.value)}
- style={{ padding: '4px 10px 4px 28px', borderRadius: 6, fontSize: 12, border: '1px solid #2a3550', background: '#161b2e', color: '#c0ccdd', width: 200, outline: 'none' }}
+ style={{ padding: '4px 10px 4px 28px', borderRadius: 6, fontSize: 11, border: '1px solid #2a3550', background: '#161b2e', color: '#c0ccdd', width: 180, outline: 'none' }}
/>
🔍
@@ -438,14 +477,14 @@ export default function EdictBoard() {
{filtered.map(t => {
const sub = subtaskIndex[t.id] || { total: 0, done: 0, activeStage: null };
- return
setModalTaskId(t.id)} />;
- })}
+ return setModalTaskId(t.id)} onAction={(a) => handleCardAction(t.id, a)} />;
+ })}}
{filtered.length === 0 && tasks.length > 0 && (
当前筛选无匹配任务
)}
- {tasks.length === 0 &&
}
+ {archiveFiltered.length === 0 &&
}
);
}