jesseduffield.lazygit/pkg/integration/tests/ui
Stefan Haller bf4f5827e7 Don't show a transient view whose window is not part of the layout
With gui.sidePanels, a panel's gocui window is named after its first
tab, so when branches is grouped behind, say, worktrees, there is no
window called "branches" at all. The transient contexts
(remoteBranches, subCommits, commitFiles) initially point at the
windows "branches" and "commits", and layout() showed their views
whenever the window-to-view map named them as their window's current
view — without checking that the window exists in the layout. Since
the map is seeded from the contexts themselves, a window that no
panel owns keeps naming a transient view as its current view, and
that view had just been parked at full screen size (the fallback for
views in unlaid-out windows), so it covered every side panel below it
in z-order.

Only show a transient view if its window actually received dimensions
in this layout.

Fixes #5823.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-17 12:07:24 +02:00
..
accordion.go Make integration tests using commits more robust 2026-07-09 11:56:27 +02:00
branches_not_first_tab.go Don't show a transient view whose window is not part of the layout 2026-07-17 12:07:24 +02:00
commits_not_first_tab.go Don't show a transient view whose window is not part of the layout 2026-07-17 12:07:24 +02:00
disable_switch_tab_with_panel_jump_keys.go Convert JumpToBlock to a list of multi-key bindings 2026-05-25 15:32:47 +02:00
empty_menu.go Enforce single-item selection in various actions 2024-01-19 10:50:49 +11:00
hide_side_panel.go Add integration tests for configuring the side panels 2026-06-23 14:15:18 +02:00
keybinding_suggestions_dont_crash_on_disabled_bindings.go Fix crash when keybindings are disabled that we want to show in the status bar 2026-05-28 19:26:43 +02:00
keybinding_suggestions_when_switching_repos.go Avoid showing <esc> in options map when it doesn't do anything 2025-08-14 17:59:38 +02:00
mode_specific_keybinding_suggestions.go Make integration tests using commits more robust 2026-07-09 11:56:27 +02:00
open_link_failure.go Use our new hyperlink support in the information view 2024-08-24 10:36:01 +02:00
promote_tab_to_side_panel.go Add integration tests for configuring the side panels 2026-06-23 14:15:18 +02:00
range_select.go Enable hunk staging mode by default 2025-08-01 10:35:16 +02:00
reload_side_panels.go Re-apply the side panel config on a live config reload 2026-06-23 14:15:18 +02:00
reorder_side_panels.go Add integration tests for configuring the side panels 2026-06-23 14:15:18 +02:00
switch_tab_from_menu.go Remove OptionMenuAlt1 2026-05-25 15:18:18 +02:00
switch_tab_with_panel_jump_keys.go Convert JumpToBlock to a list of multi-key bindings 2026-05-25 15:32:47 +02:00