Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

@ammar-agent ammar-agent commented Dec 6, 2025

The TooltipWrapper component added in cf61afe was missing min-w-0 in inline mode, which broke the flex truncation chain. Long workspace names caused the sidebar to become horizontally scrollable instead of properly truncating.

Changes:

  • Added min-w-0 to TooltipWrapper inline mode to preserve truncation
  • Replaced flexbox with CSS Grid (grid-cols-[auto_1fr_auto]) for the workspace row - this guarantees the middle column truncates properly without complex nested flex chains
  • Added LongWorkspaceNames story with git status indicators to catch future truncation regressions
  • Default createdAt to Date.now() in mockFactory to prevent workspaces from being hidden by age filters in stories

Generated with mux

@ammar-agent ammar-agent force-pushed the fix-sidebar-workspace-truncation branch 8 times, most recently from 86f2953 to 658dd87 Compare December 6, 2025 20:13
The TooltipWrapper component added in cf61afe was missing min-w-0
in inline mode, which broke the flex truncation chain. Long workspace
names caused the sidebar to become horizontally scrollable instead of
properly truncating.

Changes:
- Added min-w-0 to TooltipWrapper inline mode to preserve truncation
- Replaced flexbox with CSS Grid (grid-cols-[auto_1fr_auto]) for the
  workspace row - this guarantees the middle column truncates properly
  without complex nested flex chains
- Added LongWorkspaceNames story with git status indicators to catch
  future truncation regressions
- Default createdAt to Date.now() in mockFactory to prevent workspaces
  from being hidden by age filters

_Generated with mux_
@ammar-agent ammar-agent force-pushed the fix-sidebar-workspace-truncation branch from 658dd87 to 4e06909 Compare December 6, 2025 20:14
@ammario ammario merged commit 99759d1 into main Dec 6, 2025
19 checks passed
@ammario ammario deleted the fix-sidebar-workspace-truncation branch December 6, 2025 20:20
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