fix(web): wrap homepage activity event labels
All checks were successful
CD Pipeline / tests (push) Successful in 1m28s
Code Review / ai-code-review (push) Successful in 19s
CD Pipeline / build-and-deploy (push) Successful in 4m13s
CD Pipeline / post-deploy-checks (push) Successful in 1m28s

This commit is contained in:
Your Name
2026-06-02 12:14:56 +08:00
parent 62f8cdb5ff
commit 7a73851aa3
2 changed files with 14 additions and 2 deletions

View File

@@ -362,7 +362,7 @@ function ActivityStreamTab() {
>
<span style={{ fontSize: 10, color: '#87867f', fontFamily: "'JetBrains Mono', monospace", width: 60, flexShrink: 0 }}>{ev._time}</span>
<span style={{ width: 5, height: 5, borderRadius: '50%', background: ev.type === 'HOST_UPDATE' ? '#22C55E' : '#4A90D9', marginTop: 5, flexShrink: 0 }} />
<span style={{ flex: 1, lineHeight: 1.4 }}>
<span style={{ flex: 1, minWidth: 0, lineHeight: 1.4, overflowWrap: 'anywhere', wordBreak: 'break-word' }}>
<b>{ev.type || 'EVENT'}</b>
{ev.data?.overall_status && ` · ${t('statusLabel')}: ${ev.data.overall_status}`}
{ev.data?.hosts && ` · ${ev.data.hosts.length} ${t('hostsLabel')}`}

View File

@@ -27741,6 +27741,7 @@ production browser smoke:
- 原本 overview 外層 `height: calc(100vh - 68px)` + `overflowY:auto` 造成 document 不是主要 scroll ownerproduction 實測 document height 只有約 1299px、內層 scrollHeight 約 6023px。
- 改為 `minHeight: calc(100vh - 68px)` + `overflowY:visible`,恢復正常 document scroll。
- 補 `zh-TW` / `en` i18n`dashboard.homeProductMap.*`,避免把本輪討論文字硬寫在頁面中。
- 追補 mobile layout debt`ActivityStream` event row 的長 service/action id 允許斷字,避免 `awooop_source_correlation_*` 在 390px viewport 撐破版面。
**12-agent 盤點收斂**
- IA/navigation46 個 route、108 個 TSX component 粗盤;主導航是 8 主入口 + legacy + bottom與「五柱導航」註解不一致。需要下一波收斂孤島頁`/topology``/aiops/timeline``/reports``/alert-operation-logs``/users`
@@ -27764,6 +27765,17 @@ production browser smoke:
- Production build
- `NEXT_PUBLIC_API_URL=https://awoooi.wooo.work NEXT_PRIVATE_BUILD_WORKER_COUNT=1 pnpm --filter @awoooi/web build` → success
- Build size note`/[locale]` 32.5 kB / First Load JS 277 kB`/topology` 492 kB / First Load JS 722 kB後續需另列 performance debt。
- Gitea / productionhomepage operations map
- Code commit`91a956b9 feat(web): add homepage operations map`
- Gitea run`3578` tests success、build-and-deploy success、post-deploy-checks success。
- Deploy marker`62f8cdb5 chore(cd): deploy 91a956b [skip ci]`ArgoCD `Synced / Healthy``awoooi-api``awoooi-web``awoooi-worker` successfully rolled out。
- Production Browser DOM`https://awoooi.wooo.work/zh-TW?_v=91a956b9-home-map` 顯示 `AI 自動化管理介面``homepage-product-map` 存在、`navVisible=true``canScroll=true``horizontalOverflow=-6``overflowingCount=0`
- Production Playwright desktop1440x1100 `productMapPresent=true``navVisible=true``canScroll=true``horizontalOverflow=0``overflowingCount=0`
- Production Playwright mobile pre-wrap390x844 `productMapPresent=true``navVisible=true``canScroll=true`、整頁 `horizontalOverflow=0`,但 `ActivityStream` 長 service/action id 局部 overflow 4 筆;本輪已追補 wrapping待下一個 code commit 部署後重驗 production mobile。
- Local productionmobile wrapping fix
- `NEXT_PUBLIC_API_URL=https://awoooi.wooo.work pnpm --filter @awoooi/web start -- --hostname 127.0.0.1 --port 3113`
- Desktop 1440x1100`productMapPresent=true``navVisible=true``canScroll=true``horizontalOverflow=0``overflowingCount=0`
- Mobile 390x844`productMapPresent=true``navVisible=true``canScroll=true``horizontalOverflow=0``overflowingCount=0`
**下一波優先順序**
1. AwoooP Run detail / Evidence table / Approval gate drawer讓 operator 一眼知道跑到哪一關、誰負責、缺什麼證據。
@@ -27774,7 +27786,7 @@ production browser smoke:
**目前整體進度(本階段完成後)**
- 全站前端 IA / 可讀性盤點:約 100%12 個 read-only agent 已完成並已收斂為 wave。
- 首頁產品化入口:約 78%;已補 Operations Map正常 document scroll仍需清舊 static/fallback 區塊與拆大檔。
- 首頁產品化入口:約 80%;已補 Operations Map正常 document scroll 與 mobile long-id wrapping,仍需清舊 static/fallback 區塊與拆大檔。
- AwoooP / HITL 可視化:約 99.2%;本輪未改 executor handoff仍缺 Run detail evidence table 與 legacy duplicate reconciliation。
- Alerts recurrence / source correlation約 68%;問題已定位,需新增 API projection 後前端才能準確呈現重複與來源。
- KM / Governance workflow約 58%;後端事件已有,前端 workflow/health tab 尚未完成。