Skip to content

Conversation

@ammar-agent
Copy link
Collaborator

Adds a compact title bar above the Projects section showing version and build date.

Changes

  • TitleBar component: Displays cmux <git-version> <build-date> with tight vertical padding
  • LeftSidebar component: Wraps TitleBar and ProjectSidebar together
  • ProjectSidebar refactored: Removed container styling (now handled by LeftSidebar)
  • Ctrl+P collapse/expand applies to entire LeftSidebar including title bar

Design

  • Title bar only visible when sidebar is expanded
  • Subtle styling: dark background (#1e1e1e), muted text (#858585)
  • Version on left, build date on right
  • Font size: 11px for title, 10px for date

Generated with cmux

Created LeftSidebar component that wraps:
- TitleBar component showing version and build date
- ProjectSidebar component (refactored to remove container styling)

The title bar displays 'cmux <git-version> <build-date>' at the top of
the left sidebar. Ctrl+P collapse/expand now applies to the entire
LeftSidebar including the title bar.

Changes:
- New TitleBar component with tight vertical padding
- New LeftSidebar wrapper component
- ProjectSidebar refactored to use SidebarContent instead of SidebarContainer
- App.tsx updated to use LeftSidebar instead of ProjectSidebar directly

_Generated with `cmux`_
- Changed VERSION.git to VERSION.git_commit and VERSION.git_describe for clarity
- Format date in US format (MM/DD/YYYY) instead of ISO
- Add tooltip showing extended timestamp on hover over date
- Remove bold from git version text
- Updated version generation script to include both git commit hash and describe output

The tooltip shows 'Built at <full timestamp with timezone>' when hovering
over the build date for more detailed information.
Changed src/version.ts to always regenerate by making it depend on
a .PHONY 'version' target. This ensures the git version and timestamp
are always up-to-date when running 'make dev' or 'make build'.

Previously, version.ts would only be generated if it didn't exist.
@ammario ammario added this pull request to the merge queue Oct 10, 2025
Merged via the queue into main with commit 1bb8c0a Oct 10, 2025
7 checks passed
@ammario ammario deleted the title-bar branch October 10, 2025 18:55
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