on main help sign in
Merge pull request #249 from charmbracelet/sidebar-detail-work

chore(sidebar): detail work

commit030f899ca2e6f1c3ce9552bcb4cf130a4b5284a9 authorKujtim Hoxha <kujtimii.h@gmail.com> dateSat 19 Jul 2025, 12:53 (1 year ago) parentfad98396c20460
1 file changed+4−4
internal/tui/components/chat/sidebar/sidebar.go+4−4
internal/tui/components/chat/sidebar/sidebar.go+4−4
@@ -36,7 +36,7 @@ type FileHistory struct {
3636 latestVersion history.File
3737}
3838
39−const LogoHeightBreakpoint = 40
39+const LogoHeightBreakpoint = 30
4040
4141// Default maximum number of items to show in each section
4242const (
@@ -689,7 +689,7 @@ func (m *sidebarCmp) filesBlock() string {
689689 if totalFilesWithChanges > maxFiles {
690690 remaining := totalFilesWithChanges - maxFiles
691691 fileList = append(fileList,
692− t.S().Base.Foreground(t.FgMuted).Render(fmt.Sprintf("… and %d more", remaining)),
692+ t.S().Base.Foreground(t.FgSubtle).Render(fmt.Sprintf("…and %d more", remaining)),
693693 )
694694 }
695695
@@ -777,7 +777,7 @@ func (m *sidebarCmp) lspBlock() string {
777777 if len(lsp) > maxLSPs {
778778 remaining := len(lsp) - maxLSPs
779779 lspList = append(lspList,
780− t.S().Base.Foreground(t.FgMuted).Render(fmt.Sprintf("… and %d more", remaining)),
780+ t.S().Base.Foreground(t.FgSubtle).Render(fmt.Sprintf("…and %d more", remaining)),
781781 )
782782 }
783783
@@ -834,7 +834,7 @@ func (m *sidebarCmp) mcpBlock() string {
834834 if len(mcps) > maxMCPs {
835835 remaining := len(mcps) - maxMCPs
836836 mcpList = append(mcpList,
837− t.S().Base.Foreground(t.FgMuted).Render(fmt.Sprintf("… and %d more", remaining)),
837+ t.S().Base.Foreground(t.FgSubtle).Render(fmt.Sprintf("…and %d more", remaining)),
838838 )
839839 }
840840