fix(admin): stop a long action name printing over the activity row beside it #203

Merged
whitlocktech merged 1 commits from fix/activity-action-overflow into main 2026-09-21 22:24:31 +00:00
Member

The dashboard renders an activity row's action in a fixed width: 110 span with flex: 'none' and no overflow handling, so a name wider than that overflows its box and prints on top of the detail text next to it.

Core's own actions all fit. A module's need not. module-rust writes rust.account.unlink.staff when staff sever a player's Steam link, and on a live dashboard it overlapped the steamId: … beside it; module-uo's uoLink.account.link is already close to the edge.

minWidth instead of width keeps the column aligned for every short name and lets a longer one push the detail right rather than sit under it. One property.

Verified in a browser with both rows on screen — a 20-character action and a 25-character one, each clear of its detail.

Found while walking module-rust phase 6 and raised here rather than worked around there (org lead, 2026-09-21): a module may legitimately name an action, and shortening one module's names only moves the ceiling to the next one.

AI disclosure

  • This contribution was AI-assisted (Claude Code).

🤖 Generated with Claude Code

https://claude.ai/code/session_01PMH6bw1jXMgbyF3ZWGEzSM

The dashboard renders an activity row's action in a fixed `width: 110` span with `flex: 'none'` and no overflow handling, so a name wider than that overflows its box and prints on top of the detail text next to it. Core's own actions all fit. **A module's need not.** `module-rust` writes `rust.account.unlink.staff` when staff sever a player's Steam link, and on a live dashboard it overlapped the `steamId: …` beside it; `module-uo`'s `uoLink.account.link` is already close to the edge. `minWidth` instead of `width` keeps the column aligned for every short name and lets a longer one push the detail right rather than sit under it. One property. **Verified in a browser** with both rows on screen — a 20-character action and a 25-character one, each clear of its detail. Found while walking module-rust phase 6 and raised here rather than worked around there (org lead, 2026-09-21): a module may legitimately name an action, and shortening one module's names only moves the ceiling to the next one. ## AI disclosure - [x] This contribution was AI-assisted (Claude Code). 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01PMH6bw1jXMgbyF3ZWGEzSM
wtclaude added 1 commit 2026-09-21 14:13:11 +00:00
fix(admin): stop a long action name printing over the activity row beside it
All checks were successful
PR Checks / client-build (pull_request) Successful in 57s
PR Checks / server-tests (pull_request) Successful in 6m9s
PR Checks / bot-tests (pull_request) Successful in 8m3s
9e1f591b25
The dashboard renders an activity row action in a fixed `width: 110` span with
`flex: none` and no overflow handling, so a name wider than that overflows its
box and prints on top of the detail text next to it.

Core own actions all fit. A module one need not: `module-rust` writes
`rust.account.unlink.staff` when staff sever a player Steam link, and it
overlapped `steamId: …` on a live dashboard. `module-uo` `uoLink.account.link`
is already close to the edge.

`minWidth` instead of `width` keeps the column aligned for every short name and
lets a longer one push the detail right rather than sit under it. One property,
verified in a browser with both rows on screen.

Found while walking module-rust phase 6; raised here rather than worked around
there, because a module may legitimately name an action and shortening one
module names only moves the ceiling to the next one.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PMH6bw1jXMgbyF3ZWGEzSM
whitlocktech approved these changes 2026-09-21 22:24:23 +00:00
whitlocktech merged commit 702ab89ae2 into main 2026-09-21 22:24:31 +00:00
whitlocktech deleted branch fix/activity-action-overflow 2026-09-21 22:24:32 +00:00
Sign in to join this conversation.
No description provided.