Skip to content

Conversation

@mentatbot
Copy link
Contributor

@mentatbot mentatbot bot commented Jul 24, 2025

This PR adds a complete history visualization system that allows users to explore repository evolution over time through an interactive timeline interface.

Key Features

Timeline Visualization

  • Displays repository evolution across commit history with configurable sampling
  • Shows file lifecycle indicators (added/removed/renamed files)
  • Maintains node position continuity between timeline points for smooth transitions
  • Supports chronological playback from oldest to newest commits

Floating Timeline Controls

  • Fully draggable floating panel positioned independently of page layout
  • Play/pause animation with adjustable speed controls
  • Timeline scrubber for instant navigation to any commit
  • Branch selection dropdown (shows current analyzed branch)
  • Current commit information display with change statistics

Enhanced User Experience

  • Keyboard shortcuts (Space for play/pause, arrows for navigation, Home/End for jumping)
  • Visual timeline indicator overlay showing current commit SHA
  • Toggle button to show/hide history controls
  • Smooth transitions with loading overlays during timeline changes

Technical Improvements

  • Repository analyzer generates comprehensive timeline data with commit snapshots
  • Support for branch-specific analysis with --branch parameter
  • Enhanced CLI with history sampling options (--history-sample, --max-commits)
  • Fixed icon rendering issues by replacing problematic SVGs with text symbols
  • Proper z-index management for floating UI components

Merged Updates

  • Integrates latest legend improvements and visualization enhancements from main branch
  • Updated dependencies and resolved merge conflicts
  • Maintains compatibility with existing visualization controls

The history feature automatically activates when repository data contains timeline points, providing users with a powerful way to understand how their codebase has evolved over time.


🤖 This PR was created with Mentat. See my steps and cost here

  • Wake on any new activity.

- Successfully merged main branch changes including legend updates
- Generated fresh repository data with 19 timeline points
- History visualization and floating controls should now work with latest changes
- All conflicts resolved and dependencies updated

Mentat precommit script passed. Log: https://mentat.ai/gh/AbanteAI/repo-visualizer/log/b0dfeefd-d998-4f12-92c5-37b045d42184

Co-authored-by: jakethekoenig <[email protected]>
@mentatbot mentatbot bot requested a review from jakethekoenig July 24, 2025 16:27
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.

1 participant