2f4b76fd0fc0c52fc48b0909296d0bd7bf51261c

Author
Toby Padilla <toby@charm.sh>
Committer
Toby Padilla <toby@charm.sh>
Date

Message

Remove commitsLog

Diff

 1diff --git a/tui/bubble.go b/tui/bubble.go
 2index 891d86096172285bf84d85f69c9c82e5f2264f3f..3e78383144fa003d4316cfd4c96acc0f7b27837f 100644
 3--- a/tui/bubble.go
 4+++ b/tui/bubble.go
 5@@ -3,7 +3,6 @@ package tui
 6 import (
 7 	"fmt"
 8 	"smoothie/git"
 9-	"smoothie/tui/bubbles/commits"
10 	"smoothie/tui/bubbles/repo"
11 	"smoothie/tui/bubbles/selection"
12 	"smoothie/tui/style"
13@@ -61,7 +60,6 @@ type Bubble struct {
14 	boxes         []tea.Model
15 	activeBox     int
16 	repoSelect    *selection.Bubble
17-	commitsLog    *commits.Bubble
18 }
19 
20 func NewBubble(cfg *Config, sCfg *SessionConfig) *Bubble {
21diff --git a/tui/commands.go b/tui/commands.go
22index e57b133797340bcd0b4d15bc045d7fb9ab7b2bd9..6224cd8580446acd298e6ca938e9b0c699e8e26f 100644
23--- a/tui/commands.go
24+++ b/tui/commands.go
25@@ -64,13 +64,6 @@ func (b *Bubble) setupCmd() tea.Msg {
26 	}
27 	b.repoSelect = selection.NewBubble(rs, b.styles)
28 	b.boxes[0] = b.repoSelect
29-	/*
30-		b.commitsLog = commits.NewBubble(
31-			b.height-verticalPadding-2,
32-			boxRightWidth-horizontalPadding-2,
33-			b.repoSource.GetCommits(200),
34-		)
35-	*/
36 	ir := -1
37 	if b.initialRepo != "" {
38 		for i, me := range b.repoMenu {