on main help sign in
chore: small ux tweeks
commitec1b652dbaa0d89e51ba58ec356f138c3534d82c authorKujtim Hoxha <kujtimii.h@gmail.com> dateMon 16 Jun 2025, 17:58 (1 year ago) parente8f07b0
1 file changed+6−8
internal/tui/components/chat/sidebar/sidebar.go+6−8
internal/tui/components/chat/sidebar/sidebar.go+6−8
@@ -203,8 +203,8 @@ func (m *sidebarCmp) filesBlock() string {
203203 maxWidth := min(m.width, 58)
204204 t := styles.CurrentTheme()
205205
206− section := t.S().Muted.Render(
207− core.Section("Files", maxWidth),
206+ section := t.S().Subtle.Render(
207+ core.Section("Modified Files", maxWidth),
208208 )
209209
210210 if len(m.files) == 0 {
@@ -256,7 +256,7 @@ func (m *sidebarCmp) lspBlock() string {
256256 maxWidth := min(m.width, 58)
257257 t := styles.CurrentTheme()
258258
259− section := t.S().Muted.Render(
259+ section := t.S().Subtle.Render(
260260 core.Section("LSPs", maxWidth),
261261 )
262262
@@ -330,7 +330,7 @@ func (m *sidebarCmp) mcpBlock() string {
330330 maxWidth := min(m.width, 58)
331331 t := styles.CurrentTheme()
332332
333− section := t.S().Muted.Render(
333+ section := t.S().Subtle.Render(
334334 core.Section("MCPs", maxWidth),
335335 )
336336
@@ -393,8 +393,8 @@ func formatTokensAndCost(tokens, contextWindow int64, cost float64) string {
393393
394394 formattedCost := baseStyle.Foreground(t.FgMuted).Render(fmt.Sprintf("$%.2f", cost))
395395
396− formattedTokens = baseStyle.Foreground(t.FgMuted).Render(fmt.Sprintf("(%s)", formattedTokens))
397− formattedPercentage := baseStyle.Foreground(t.FgSubtle).Render(fmt.Sprintf("%d%%", int(percentage)))
396+ formattedTokens = baseStyle.Foreground(t.FgSubtle).Render(fmt.Sprintf("(%s)", formattedTokens))
397+ formattedPercentage := baseStyle.Foreground(t.FgMuted).Render(fmt.Sprintf("%d%%", int(percentage)))
398398 formattedTokens = fmt.Sprintf("%s %s", formattedPercentage, formattedTokens)
399399 if percentage > 80 {
400400 // add the warning icon
@@ -416,8 +416,6 @@ func (s *sidebarCmp) currentModelBlock() string {
416416 modelName := t.S().Text.Render(model.Name)
417417 modelInfo := fmt.Sprintf("%s %s", modelIcon, modelName)
418418 parts := []string{
419− // section,
420− // "",
421419 modelInfo,
422420 }
423421 if s.session.ID != "" {