fix(web): wrap recent activity labels
This commit is contained in:
@@ -72,7 +72,7 @@ export function RecentActivity() {
|
||||
}}>
|
||||
<span style={{ fontSize: 10, color: '#87867f', fontFamily: "'JetBrains Mono', monospace", width: 40, flexShrink: 0 }}>{time}</span>
|
||||
<span style={{ width: 4, height: 4, borderRadius: '50%', background: dotColor, marginTop: 5, flexShrink: 0 }} />
|
||||
<span style={{ flex: 1, lineHeight: 1.4, color: '#555550' }}>
|
||||
<span style={{ flex: 1, minWidth: 0, lineHeight: 1.4, color: '#555550', overflowWrap: 'anywhere', wordBreak: 'break-word' }}>
|
||||
{log.actor && <b style={{ fontWeight: 600 }}>{log.actor}</b>}
|
||||
{log.actor && ' · '}
|
||||
{detail}
|
||||
|
||||
@@ -27741,7 +27741,7 @@ production browser smoke:
|
||||
- 原本 overview 外層 `height: calc(100vh - 68px)` + `overflowY:auto` 造成 document 不是主要 scroll owner,production 實測 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 撐破版面。
|
||||
- 追補 mobile layout debt:SSE `ActivityStream` 與 shared `RecentActivity` event row 的長 service/action id 允許斷字,避免 `awooop_source_correlation_*` 在 390px viewport 撐破版面。
|
||||
|
||||
**12-agent 盤點收斂**:
|
||||
- IA/navigation:46 個 route、108 個 TSX component 粗盤;主導航是 8 主入口 + legacy + bottom,與「五柱導航」註解不一致。需要下一波收斂孤島頁:`/topology`、`/aiops/timeline`、`/reports`、`/alert-operation-logs`、`/users`。
|
||||
@@ -27771,11 +27771,12 @@ production browser smoke:
|
||||
- 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 desktop:1440x1100 `productMapPresent=true`、`navVisible=true`、`canScroll=true`、`horizontalOverflow=0`、`overflowingCount=0`。
|
||||
- Production Playwright mobile pre-wrap:390x844 `productMapPresent=true`、`navVisible=true`、`canScroll=true`、整頁 `horizontalOverflow=0`,但 `ActivityStream` 長 service/action id 局部 overflow 4 筆;本輪已追補 wrapping,待下一個 code commit 部署後重驗 production mobile。
|
||||
- Production Playwright mobile pre-wrap:390x844 `productMapPresent=true`、`navVisible=true`、`canScroll=true`、整頁 `horizontalOverflow=0`,但 `RecentActivity` 長 service/action id 局部 overflow 4 筆;本輪已追補 shared wrapping,待下一個 code commit 部署後重驗 production mobile。
|
||||
- Local production(mobile 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`。
|
||||
- Shared `RecentActivity` follow-up:`NEXT_PUBLIC_API_URL=https://awoooi.wooo.work NEXT_PRIVATE_BUILD_WORKER_COUNT=1 pnpm --filter @awoooi/web build` → success;`http://127.0.0.1:3114/zh-TW?_v=recent-activity-wrap-mobile` 390x844 `horizontalOverflow=0`、`overflowingCount=0`。
|
||||
|
||||
**下一波優先順序**:
|
||||
1. AwoooP Run detail / Evidence table / Approval gate drawer:讓 operator 一眼知道跑到哪一關、誰負責、缺什麼證據。
|
||||
|
||||
Reference in New Issue
Block a user