-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Closed
Description
Summary
The navbar should better utilize available space when displaying Agent Name and Model Name, only showing ellipsis (...) when space is truly insufficient.
Current Behavior
- Agent Name and Model Name badges are displayed with fixed max-width
- Text truncation happens prematurely even when navbar has available space
- Space utilization is not optimized for different screen sizes
Expected Behavior
- Dynamically adjust badge widths based on available navbar space
- Only truncate with ellipsis when absolutely necessary
- Prioritize full display when space allows
- Responsive behavior that adapts to container width
Suggested Implementation
- Use CSS flexbox with dynamic sizing
- Implement JavaScript-based width calculation
- Show full text when space permits
- Graceful degradation with ellipsis only when required
Code Location
tarko/agent-web-ui/src/standalone/navbar/Navbar.tsx lines 93-126
Reactions are currently unavailable