feat: Add branch name under worktree in session list (if different than worktree name) (#352)

* feat: show branch info in session sidebar and enrich worktrees

* feat: refresh sidebar branch display when switching branches in git menu

* fix: ensure branch name displays on mobile by fixing flex alignment

* style: make branch name font smaller, especially on mobile
This commit is contained in:
gsxdsm
2026-02-09 02:51:05 +02:00
committed by GitHub
parent 681918a089
commit 3f29b2c6a2
3 changed files with 68 additions and 13 deletions
@@ -1891,7 +1891,10 @@ export const FilesView: React.FC = () => {
value={draftContent}
onChange={setDraftContent}
extensions={editorExtensions}
className="h-full"
className={cn(
"h-full",
isMobile && "[&_.cm-scroller]:pb-[var(--oc-keyboard-inset,0px)]"
)}
highlightLines={lineSelection
? {
start: Math.min(lineSelection.start, lineSelection.end),