Merged
Conversation
Contributor
There was a problem hiding this comment.
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.KeyMsgtotea.KeyPressMsgacross 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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.