π€― LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
π style(chat-input): tighten the worktree-icon to branch-name gap (#16979)
Arvin Xu64881831fb91
diff --git a/src/features/ChatInput/ControlBar/GitStatus.tsx b/src/features/ChatInput/ControlBar/GitStatus.tsxindex 0428ed54345..8191ffb6307 100644--- a/src/features/ChatInput/ControlBar/GitStatus.tsx+++ b/src/features/ChatInput/ControlBar/GitStatus.tsx@@ -39,6 +39,12 @@ const styles = createStaticStyles(({ css }) => {behindStat: css`color: ${cssVar.colorError};`,+ branchGroup: css`+ display: flex;+ flex: none;+ gap: 2px;+ align-items: center;+ `,branchLabel: css`overflow: hidden;max-width: 160px;@@ -424,8 +430,12 @@ const GitStatus = memo<GitStatusProps>(({ agentId, path, sourcePath, isGithub, dreturn (<><div className={styles.separator} />- {worktreeNode}- {branchNode}+ {/* The worktree icon and the branch name name one thing β which checkout+ * you're on β so they sit closer to each other than to their neighbours. */}+ <div className={styles.branchGroup}>+ {worktreeNode}+ {branchNode}+ </div>{pullNode}{pushNode}{diffNode}diff --git a/src/features/ChatInput/ControlBar/WorktreeSwitcher.tsx b/src/features/ChatInput/ControlBar/WorktreeSwitcher.tsxindex a3b6e2ff501..7b5b41433e4 100644--- a/src/features/ChatInput/ControlBar/WorktreeSwitcher.tsx+++ b/src/features/ChatInput/ControlBar/WorktreeSwitcher.tsx@@ -306,7 +306,7 @@ const styles = createStaticStyles(({ css }) => ({align-items: center;justify-content: center;- width: 24px;+ width: 20px;height: 22px;border-radius: 4px;