From 21053aeb50424a1e50b66babe63f5a6d4084907a Mon Sep 17 00:00:00 2001 From: OoO Date: Tue, 19 May 2026 11:40:07 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=20PPT=20=E9=A1=9E=E5=9E=8B?= =?UTF-8?q?=E6=8C=89=E9=88=95=E9=9F=BF=E6=87=89=E5=BC=8F=E6=BA=A2=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- TODO_NEXT_STEPS.txt | 2 +- config.py | 2 +- web/static/css/page-ppt-audit-history.css | 21 +++++++++++---------- 3 files changed, 13 insertions(+), 12 deletions(-) diff --git a/TODO_NEXT_STEPS.txt b/TODO_NEXT_STEPS.txt index d6888f3..7aa55e3 100644 --- a/TODO_NEXT_STEPS.txt +++ b/TODO_NEXT_STEPS.txt @@ -4,7 +4,7 @@ ================================================================================ 【已完成】 - - V10.244 重整 `/observability/ppt_audit_history` 首屏資訊階層:改成簡報操作摘要、最新可預覽簡報、下一步動作與可橫向捲動報表類型 rail;產線覆蓋矩陣改為下方驗收明細,避免一進頁只看到大量「產線狀態」。 + - V10.245 重整 `/observability/ppt_audit_history` 首屏資訊階層:改成簡報操作摘要、最新可預覽簡報、下一步動作與自適應報表類型 segmented grid;產線覆蓋矩陣改為下方驗收明細,避免一進頁只看到大量「產線狀態」或類型按鈕右側溢出。 - V10.242 修正 `/metabase`、`/grist` 外部工具入口:全域導覽固定回 momo-pro 內部橋接頁,避免資料協作錯連其他專案站;入口頁補路由狀態、設定診斷與可用替代分析入口,降低空白頁誤判。 - V10.221 補 `/observability/ppt_audit_history` AiderHeal 背景任務可見性:正在修復中的簡報會顯示於產線頁,並提供 JSON 狀態端點讓派工後即時刷新,避免重新整理後不知道是否已在修。 - V10.218 補 `/observability/ppt_audit_history` AiderHeal 去重鎖:同一份簡報已在背景修復時,再次點擊會回「已在執行中」,避免重複開 SSH / 模型 / git 修復流程。 diff --git a/config.py b/config.py index 2d12e54..dd463a8 100644 --- a/config.py +++ b/config.py @@ -320,7 +320,7 @@ YOUTUBE_API_KEY = os.getenv('YOUTUBE_API_KEY', '') # ========================================== # 系統版本與路徑 # ========================================== -SYSTEM_VERSION = "V10.244" +SYSTEM_VERSION = "V10.245" LOG_FILE_PATH = os.path.join(BASE_DIR, 'logs/system.log') public_url = PUBLIC_URL # 用於模板顯示 diff --git a/web/static/css/page-ppt-audit-history.css b/web/static/css/page-ppt-audit-history.css index 2cd6a7f..dd0b344 100644 --- a/web/static/css/page-ppt-audit-history.css +++ b/web/static/css/page-ppt-audit-history.css @@ -426,23 +426,25 @@ } .ppt-type-tabs { - display: flex; + display: grid; + grid-template-columns: repeat(auto-fit, minmax(92px, 1fr)); min-width: 0; + width: 100%; max-width: 100%; - overflow-x: auto; - overflow-y: hidden; - padding-bottom: var(--momo-space-1, 4px); - scrollbar-width: thin; - flex-wrap: nowrap; + overflow: hidden; gap: var(--momo-space-2, 8px); } .ppt-type-chip { display: inline-flex; align-items: center; + justify-content: center; gap: var(--momo-space-1, 4px); - flex: 0 0 auto; - white-space: nowrap; + width: 100%; + min-height: 34px; + white-space: normal; + line-height: 1.25; + text-align: center; } .ppt-deck-workbench { @@ -1423,8 +1425,7 @@ body.ppt-preview-open { } .ppt-type-tabs { - margin-inline: calc(var(--momo-space-2, 8px) * -1); - padding-inline: var(--momo-space-2, 8px); + grid-template-columns: repeat(2, minmax(0, 1fr)); } .ppt-panel-head,