fix(hold): dedup equipment cache, fix portal iframe, improve Hold dashboards

- Equipment cache: add freshness gate so only 1 Oracle query per 5-min cycle
  across 4 gunicorn workers; sync worker waits before first refresh
- Portal: add frame-busting to prevent recursive iframe nesting
- Hold Overview: remove redundant TreeMap, add Product & Future Hold Comment
  columns to LotTable
- Hold History: switch list.sql JOIN from DW_MES_LOT_V (WIP snapshot) to
  DW_MES_CONTAINER (historical master) for reliable Product data; add
  Future Hold Comment column; fix comment truncation with hover tooltip
- Page status: reorganize drawer groupings

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
egg
2026-02-11 09:01:02 +08:00
parent be22571421
commit e2ce75b004
18 changed files with 420 additions and 237 deletions

View File

@@ -89,14 +89,14 @@
"route": "/tmtt-defect",
"name": "TMTT印字腳型不良分析",
"status": "released",
"drawer_id": "queries",
"drawer_id": "dev-tools",
"order": 5
},
{
"route": "/mid-section-defect",
"name": "中段製程不良追溯",
"status": "dev",
"drawer_id": "queries",
"drawer_id": "dev-tools",
"order": 6
},
{
@@ -124,21 +124,27 @@
"drawers": [
{
"id": "reports",
"name": "報表",
"name": "即時報表",
"order": 1,
"admin_only": false
},
{
"id": "queries",
"name": "查詢類",
"order": 2,
"order": 3,
"admin_only": false
},
{
"id": "dev-tools",
"name": "開發工具",
"order": 3,
"order": 4,
"admin_only": true
},
{
"id": "drawer",
"name": "查詢工具",
"order": 2,
"admin_only": false
}
]
}
}