Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

@ammar-agent ammar-agent commented Oct 26, 2025

⚠️ Depends on #427 - merge #427 first

Follow-on to #427 to reduce horizontal space usage.

Changes:

  • Remove hostname text from badge (icon-only)
  • Reduce horizontal padding from px-1.5 to px-1
  • Simplify tooltip to "SSH: hostname"
  • Hostname still visible on hover

Benefits:

  • Saves horizontal space in workspace lists
  • Less visual clutter
  • Maintains full functionality via tooltip

Before:
[icon] hostname with px-1.5

After:
[icon] with px-1 and tooltip


Review Note: This PR is based on the rt-badge branch and will have merge conflicts until #427 is merged. Once #427 is merged to main, rebase this PR onto main and the conflicts will be resolved.

Generated with cmux

@ammar-agent
Copy link
Collaborator Author

⚠️ Note: This PR depends on #427 being merged first.

The changes in this PR are a follow-on optimization to the runtime badge introduced in #427. Once #427 is merged, this PR should cleanly apply to main.

@ammar-agent ammar-agent marked this pull request as draft October 26, 2025 18:31
Remove hostname text from badge, showing only the server icon.
Hostname is still visible in tooltip on hover.

Changes:
- Remove hostname span from badge
- Reduce horizontal padding from px-1.5 to px-1
- Remove gap-1, text-xs, font-medium classes (no longer needed)
- Simplify tooltip text to "SSH: hostname"

This saves horizontal space in workspace lists and headers while
maintaining full functionality through the tooltip.

Generated with `cmux`
@ammar-agent ammar-agent marked this pull request as ready for review October 26, 2025 18:36
@ammario ammario merged commit 2ee355f into main Oct 26, 2025
13 checks passed
@ammario ammario deleted the rt-badge-compact branch October 26, 2025 18:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants