Skip to content

V1.0.0

Choose a tag to compare

@austinamorusoyardstick austinamorusoyardstick released this 10 Jul 22:34
· 1033 commits to main since this release
dd896a8

This pull request introduces significant enhancements to the application's navigation, keybindings, and functionality, particularly around diff management and terminal integration. The changes include new tabbed navigation (AI, diff, and terminal), expanded keybinding options for diff navigation, and improved handling of uncommitted changes and commit diffs. Additionally, terminal pane integration has been added to support more robust session management.

Navigation and UI Enhancements:

  • Updated tabbedWindow to include AI, diff, and terminal panes, replacing the previous preview and diff panes. (app/app.go, [1] [2]
  • Modified help menu and README to reflect new tabbed navigation and added descriptions for new keybindings. (README.md, [1]; app/help.go, [2] [3]

Keybinding Additions:

  • Introduced new keybindings for diff navigation, including scroll lock, page up/down, jump to next/previous file, and commit navigation. (keys/keys.go, [1] [2] [3]
  • Added functionality to toggle scroll lock and navigate commits directly from the diff tab. (app/app.go, [1] [2]

Diff Management Improvements:

  • Added methods to handle uncommitted changes and commit diffs, including DiffUncommittedOrLastCommit and DiffCommitAtOffset. (session/git/diff.go, [1]; session/git/diff_append.go, [2]
  • Enhanced Instance to retrieve diff stats and commit information at specific offsets, supporting more granular diff analysis. (session/instance.go, session/instance.goR533-R581)

Terminal Pane Integration:

  • Integrated terminal pane creation and content capture into the session workflow, enabling terminal interaction alongside AI and diff panes. (session/instance.go, [1] [2]
  • Added functionality to attach to specific panes within the tmux session, ensuring seamless navigation between terminal and AI panes. (session/tmux/tmux.go, session/tmux/tmux.goL235-R253)

These changes collectively improve the application's usability, navigation, and functionality, particularly for users working with diffs and terminal-based workflows.