detached b171bac

refactor(workspace): remove deprecated CSS helper functions

Remove generateStackedPaneCSS() and ensureStackedPaneStyles() as they
were marked deprecated and only delegated to the new comprehensive
implementations. No references found in codebase.
commit
b171bac99431f65a57dc6004629d051d1faf0eb6
author
bamen · · 2025-10-14 18:10 UTC
parent
bdea1a0
signature
unsigned
1 file · +0 -11
M internal/app/browser/workspace_css.go +0 -11
@@ -167,12 +167,6 @@ func (wm *WorkspaceManager) generateWorkspaceCSS() string {
167167 return css
168168 }
169169
170-// generateStackedPaneCSS generates the CSS for stacked pane title bars (deprecated - use generateWorkspaceCSS)
171-func (wm *WorkspaceManager) generateStackedPaneCSS() string {
172- // Delegate to the new comprehensive CSS generator
173- return wm.generateWorkspaceCSS()
174-}
175-
176170 // Global CSS provider tracking to prevent duplication
177171 var (
178172 globalCSSInitialized bool
@@ -200,8 +194,3 @@ func (wm *WorkspaceManager) ensureWorkspaceStyles() {
200194
201195 wm.cssInitialized = true
202196 }
203-
204-// ensureStackedPaneStyles ensures that CSS styles are applied for stacked panes (deprecated - use ensureWorkspaceStyles)
205-func (wm *WorkspaceManager) ensureStackedPaneStyles() {
206- wm.ensureWorkspaceStyles()
207-}
@@ -167,12 +167,6 @@ func (wm *WorkspaceManager) generateWorkspaceCSS() string {
167 return css167 return css
168 }168 }
169 169
170-// generateStackedPaneCSS generates the CSS for stacked pane title bars (deprecated - use generateWorkspaceCSS)
171-func (wm *WorkspaceManager) generateStackedPaneCSS() string {
172- // Delegate to the new comprehensive CSS generator
173- return wm.generateWorkspaceCSS()
174-}
175-
176 // Global CSS provider tracking to prevent duplication170 // Global CSS provider tracking to prevent duplication
177 var (171 var (
178 globalCSSInitialized bool172 globalCSSInitialized bool
@@ -200,8 +194,3 @@ func (wm *WorkspaceManager) ensureWorkspaceStyles() {
200 194
201 wm.cssInitialized = true195 wm.cssInitialized = true
202 }196 }
203-
204-// ensureStackedPaneStyles ensures that CSS styles are applied for stacked panes (deprecated - use ensureWorkspaceStyles)
205-func (wm *WorkspaceManager) ensureStackedPaneStyles() {
206- wm.ensureWorkspaceStyles()
207-}

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