Skip to content

chore: bubbletea v2 migration#256

Merged
theantichris merged 2 commits intomainfrom
chore/bubbletea-v2-migration
Feb 26, 2026
Merged

chore: bubbletea v2 migration#256
theantichris merged 2 commits intomainfrom
chore/bubbletea-v2-migration

Conversation

@theantichris
Copy link
Owner

No description provided.

@theantichris theantichris self-assigned this Feb 26, 2026
Copilot AI review requested due to automatic review settings February 26, 2026 00:03
@theantichris theantichris added the enhancement New feature or request label Feb 26, 2026
@github-project-automation github-project-automation bot moved this to Backlog in theantichris Feb 26, 2026
@theantichris theantichris moved this from Backlog to In review in theantichris Feb 26, 2026
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR migrates the codebase from bubbletea v2 release candidate versions to the stable v2.0.0 release. The migration involves updating API usage to match breaking changes in the stable release, specifically around keyboard event handling and view rendering.

Changes:

  • Updated keyboard event handling from tea.KeyMsg to tea.KeyPressMsg across all UI components
  • Changed View content validation from nil check to empty string check in tests
  • Updated dependencies from RC versions to stable v2.0.0 releases for bubbletea, bubbles, and lipgloss

Reviewed changes

Copilot reviewed 7 out of 8 changed files in this pull request and generated no comments.

Show a summary per file
File Description
internal/ui/thread_list_test.go Updated test to check for empty string instead of nil for View content
internal/ui/stream.go Changed case statement from tea.KeyMsg to tea.KeyPressMsg
internal/ui/chat_normal.go Updated function signature to accept tea.KeyPressMsg
internal/ui/chat_insert.go Updated function signature to accept tea.KeyPressMsg
internal/ui/chat_command.go Updated function signature to accept tea.KeyPressMsg
internal/ui/chat.go Updated case statements and function signatures to use tea.KeyPressMsg
go.mod Updated main dependencies from RC to stable v2.0.0 versions, updated transitive dependencies
go.sum Updated checksums for all updated dependencies

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@theantichris theantichris merged commit c7683ab into main Feb 26, 2026
9 checks passed
@theantichris theantichris deleted the chore/bubbletea-v2-migration branch February 26, 2026 00:06
@github-project-automation github-project-automation bot moved this from In review to Done in theantichris Feb 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants