fix(ui): agent status bar clipping and compact item layout#14
Merged
Killea merged 2 commits intoKillea:mainfrom Mar 1, 2026
Merged
fix(ui): agent status bar clipping and compact item layout#14Killea merged 2 commits intoKillea:mainfrom
Killea merged 2 commits intoKillea:mainfrom
Conversation
…mprove offline char - Remove BOM from index.html (invalid in UTF-8 HTML) - Replace fixed height (56px) with min-height (64px) on #agent-status-bar - Add align-items: center and flex-shrink: 0 for proper vertical alignment - Switch overflow-y from hidden to visible to prevent content clipping - Reduce padding from 8px to 6px vertical for tighter appearance - Replace "?" with "infinity" symbol for agents with unknown offline duration - Replace "?" fallback with "~" for unexpected offline time formats - Bump shared-agent-status.js cache-busting version to v3
Previously, agents offline for more than one hour were displayed in a vertical stack (avatar emoji / offline char / state emoji), making the status bar items unnecessarily tall and causing clipping. This commit renders those items as a single horizontal row using the existing agent-status-emoji-row flex container, matching the layout of non-compact items. A tooltip is added to the offline char to clarify its meaning (e.g. "Offline since unknown time" for the infinity symbol). - Bump acb-agent-status-item.js cache-busting version to v3
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
When agents have been offline for more than one hour, they are shown in a compact mode in the agent status bar. The previous implementation stacked three elements vertically (avatar emoji / offline char / state emoji), making each item ~66px tall. Combined with the fixed
height: 56pxon the status bar andoverflow-y: hidden, items were clipped on top and bottom, making the bar unusable.Additionally, the
?character used when no offline duration was available provided no meaningful information to the user.Changes
src/static/index.htmlheight: 56pxwithmin-height: 64pxon#agent-status-baralign-items: centerfor proper vertical centering of itemsflex-shrink: 0to prevent the bar from collapsingoverflow-y: hiddentooverflow-y: visibleto stop clipping8pxto6pxsrc/static/js/shared-agent-status.js"?"with"∞"whenofflineTimeStris null (duration unknown)"?"fallback with"~"for unexpected time string formatssrc/static/js/components/acb-agent-status-item.jsagent-status-emoji-rowflex container instead of stacking verticallytitletooltip on the offline char:"Offline since unknown time"for∞, or"Offline {duration}"otherwiseVisual result
Before: items clipped,
?char with no meaning.After: single-row compact item fits within the bar,
∞with tooltip explains the unknown duration.