detached 9f4ac34

merge(main): resolve conflicts in CHANGELOG and workspace_css

commit
9f4ac34e8dde9324360d2baa84c812b9ebcc1306
author
bnema · · 2025-11-29 17:13 UTC
merge of
31d7d6f + 0acf729 · diff against the first parent
signature
GPG Unverified2B82207D370127A0 The key is unknown
2 files · +16 -9
M internal/app/browser/tab_manager.go +7 -0
@@ -41,6 +41,13 @@ type TabManager struct {
4141 renamePrevFocusOnClick bool
4242 renamePrevCanFocus bool
4343
44+ // Rename state
45+ renameInProgress bool
46+ renamingTab *Tab
47+ // Stores original focus behaviour while inline rename is active
48+ renamePrevFocusOnClick bool
49+ renamePrevCanFocus bool
50+
4451 // Tab button click handling (pattern from StackedPaneManager)
4552 buttonToTab map[uint64]*Tab // Maps button ID to tab for click handling
4653 nextButtonID uint64 // Atomic counter for generating unique button IDs
@@ -41,6 +41,13 @@ type TabManager struct {
41 renamePrevFocusOnClick bool41 renamePrevFocusOnClick bool
42 renamePrevCanFocus bool42 renamePrevCanFocus bool
43 43
44+ // Rename state
45+ renameInProgress bool
46+ renamingTab *Tab
47+ // Stores original focus behaviour while inline rename is active
48+ renamePrevFocusOnClick bool
49+ renamePrevCanFocus bool
50+
44 // Tab button click handling (pattern from StackedPaneManager)51 // Tab button click handling (pattern from StackedPaneManager)
45 buttonToTab map[uint64]*Tab // Maps button ID to tab for click handling52 buttonToTab map[uint64]*Tab // Maps button ID to tab for click handling
46 nextButtonID uint64 // Atomic counter for generating unique button IDs53 nextButtonID uint64 // Atomic counter for generating unique button IDs
M internal/app/browser/workspace_css.go +9 -9
@@ -360,15 +360,15 @@ func (wm *WorkspaceManager) generateWorkspaceCSS() string {
360360 titleFontSize, // tab-title font-size
361361 getStackTitleTextColor(isDark), // tab-title color
362362 // Tab rename entry styles
363- getEntryBg(isDark), // entry.tab-rename-entry background
364- getStackTitleTextColor(isDark), // entry.tab-rename-entry color (text)
365- titleFontSize, // entry.tab-rename-entry font-size
366- titlePaddingHorizontal, // entry.tab-rename-entry padding horizontal (vertical is hardcoded 2px)
367- getEntryBorderColor(isDark), // entry.tab-rename-entry border-color
368- getEntryFocusBg(isDark), // entry.tab-rename-entry:focus background
369- activeBorderColor, // entry.tab-rename-entry:focus border-color (use active pane color)
370- windowBackgroundColor, // tab-content-area background
371- windowBackgroundColor, // tab-workspace-container background
363+ getEntryBg(isDark), // entry.tab-rename-entry background
364+ getStackTitleTextColor(isDark), // entry.tab-rename-entry color (text)
365+ titleFontSize, // entry.tab-rename-entry font-size
366+ titlePaddingHorizontal, // entry.tab-rename-entry padding horizontal (vertical is hardcoded 2px)
367+ getEntryBorderColor(isDark), // entry.tab-rename-entry border-color
368+ getEntryFocusBg(isDark), // entry.tab-rename-entry:focus background
369+ activeBorderColor, // entry.tab-rename-entry:focus border-color (use active pane color)
370+ windowBackgroundColor, // tab-content-area background
371+ windowBackgroundColor, // tab-workspace-container background
372372 )
373373
374374 return css
@@ -360,15 +360,15 @@ func (wm *WorkspaceManager) generateWorkspaceCSS() string {
360 titleFontSize, // tab-title font-size360 titleFontSize, // tab-title font-size
361 getStackTitleTextColor(isDark), // tab-title color361 getStackTitleTextColor(isDark), // tab-title color
362 // Tab rename entry styles362 // Tab rename entry styles
363- getEntryBg(isDark), // entry.tab-rename-entry background363+ getEntryBg(isDark), // entry.tab-rename-entry background
364- getStackTitleTextColor(isDark), // entry.tab-rename-entry color (text)364+ getStackTitleTextColor(isDark), // entry.tab-rename-entry color (text)
365- titleFontSize, // entry.tab-rename-entry font-size365+ titleFontSize, // entry.tab-rename-entry font-size
366- titlePaddingHorizontal, // entry.tab-rename-entry padding horizontal (vertical is hardcoded 2px)366+ titlePaddingHorizontal, // entry.tab-rename-entry padding horizontal (vertical is hardcoded 2px)
367- getEntryBorderColor(isDark), // entry.tab-rename-entry border-color367+ getEntryBorderColor(isDark), // entry.tab-rename-entry border-color
368- getEntryFocusBg(isDark), // entry.tab-rename-entry:focus background368+ getEntryFocusBg(isDark), // entry.tab-rename-entry:focus background
369- activeBorderColor, // entry.tab-rename-entry:focus border-color (use active pane color)369+ activeBorderColor, // entry.tab-rename-entry:focus border-color (use active pane color)
370- windowBackgroundColor, // tab-content-area background370+ windowBackgroundColor, // tab-content-area background
371- windowBackgroundColor, // tab-workspace-container background371+ windowBackgroundColor, // tab-workspace-container background
372 )372 )
373 373
374 return css374 return css

Keyboard shortcuts

Single-key shortcuts are on. ctrl k and esc work whatever this says.

ctrl k :
go to a section, branch, tag, file or repository
?
this list
j k
move the row cursor down / up
enter
open the row under the cursor; on Files, a directory opens or closes in place
↑ ↓ ← → home end
in the file tree (focus on a row): previous / next row, close / open a directory or go to its parent / first entry, first / last row. They never open a file
l h
on Files: open a directory or a file / close a directory or go up to its parent, then to the parent page. Elsewhere: into the side panel (on a merge request, its files) / back to the content; there j k move between its controls
g g G
first / last row
/
filter the list; on Files, find a file anywhere in the repository (esc clears, enter opens the best match)
b
switch branch or tag
g s g f g c g b g m g i g r g a
tabs: summary, files, commits, branches & tags, merge requests, issues, releases, actions (when available)
g h
home
w
wide mode: use the whole width of the screen, or not (remembered)
y
copy a permalink pinned to the commit
d u x
diff: split / unified / collapse or expand all
e E
diff: the whole file in view / every file, with the lines the hunks hide
n
merge request: next note in the diff
esc
close a dialog, leave a field

Branches 8

Tags 42

↑↓ moveenter openesc close