- 后端 _compute_current_task_queue 返回每项附带 download_filter - 前端三种卡片(已完成/当前/排队中)都加一行 📅 日期范围, 复用既有 parseFilterDisplay 解析 filter 字符串 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
+2
-1
@@ -215,11 +215,12 @@ def _compute_current_task_queue() -> list:
|
||||
if cid:
|
||||
history_map[cid] = h.get("chat_title", "") or cid
|
||||
queue = []
|
||||
for chat_id in _app.chat_download_config.keys():
|
||||
for chat_id, cfg in _app.chat_download_config.items():
|
||||
cid_str = str(chat_id)
|
||||
queue.append({
|
||||
"chat_id": cid_str,
|
||||
"chat_title": history_map.get(cid_str, cid_str),
|
||||
"download_filter": getattr(cfg, "download_filter", "") or "",
|
||||
})
|
||||
return queue
|
||||
|
||||
|
||||
Reference in New Issue
Block a user