jesseduffield.lazygit/pkg/integration/tests/misc
Stefan Haller f113736aac Truncate the repo and branch names in the recent repos menu
Each column of a menu is padded to the width of its widest entry, so a
single long name in the first two columns of the recent repos menu
pushes the path column off the right edge for every entry. Anyone whose
worktree directories are named after their branches hits this: with a
90 column menu and one 42 character name, the path column starts at
column 86 of 88.

Truncate both names to 30 characters, and put the ones that got
truncated into the item's tooltip, so that the full text is still on
screen for the selected entry. Filtering keeps matching the full names
and the full path, which the columns no longer show in their entirety.

Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-09-07 18:38:57 +02:00
..
confirm_on_quit.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
copy_confirmation_message_to_clipboard.go Add "CopyToClipboard" command to ConfirmationController 2025-08-15 17:17:06 +02:00
copy_to_clipboard.go Cleanup: remove unnecessary code in test 2025-08-15 17:17:06 +02:00
direnv_approves_envrc.go Offer direnv .envrc approval from inside lazygit 2026-06-04 09:05:01 +02:00
direnv_loaded_on_repo_switch.go Load direnv environment when switching repos 2026-06-04 09:05:01 +02:00
direnv_unloads_on_blocked_envrc.go Offer direnv .envrc approval from inside lazygit 2026-06-04 09:05:01 +02:00
filter_recent_repos.go Filter the recent repositories menu as you type 2026-08-31 20:41:22 +02:00
initial_open.go Use getters for AppState and UserConfig instead of accessing the fields directly 2024-08-18 10:24:52 +02:00
recent_repos_on_launch.go [DATALAD RUNCMD] run codespell throughout fixing typos automagically 2024-08-27 18:03:00 +02:00
recent_repos_with_long_names.go Truncate the repo and branch names in the recent repos menu 2026-09-07 18:38:57 +02:00
start_in_git_dir.go Open the repo when lazygit is started in its .git dir 2026-08-08 11:15:01 +02:00