Skip to content

[feat] show status message after branch change or new branch#67

Merged
kubeden merged 1 commit intointerpretive-systems:mainfrom
LSUDOKO:arpit
Oct 11, 2025
Merged

[feat] show status message after branch change or new branch#67
kubeden merged 1 commit intointerpretive-systems:mainfrom
LSUDOKO:arpit

Conversation

@LSUDOKO
Copy link
Contributor

@LSUDOKO LSUDOKO commented Oct 11, 2025

Changes

We get branch switch output from git via CheckoutBranch and CheckoutNewBranch
We display this output (or a message if empty) in the status bar
We make the message bold to be more visible
We auto-clear it after 5 seconds using Bubble Tea's timer system instead of goroutines
swappy-20251011-222758

Summary

This update introduces a status message that appears after switching branches or creating new branch in the TUI.
Similar to the git pull status output, it now displays a short summary of changes (e.g., files modified, insertions, and deletions) whenever the user changes branches.
This enhances visibility into branch updates and improves consistency with other Git operations shown in the interface.

Linked Issue(s)

Closes #43

Checklist

  • I am assigned to the linked issue(s)
  • I wrote tests or updated existing tests
  • I ran go build and go test ./...
  • I updated docs/README if needed

@LSUDOKO
Copy link
Contributor Author

LSUDOKO commented Oct 11, 2025

hi @kubeden
Please review this pr

@kubeden kubeden merged commit 2da8567 into interpretive-systems:main Oct 11, 2025
1 of 2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feat] status message on branch change

2 participants