This repository was archived by the owner on Apr 13, 2026. It is now read-only.
feat: migrate to blit ThemeStyles/StatsCollector/HTTPResource/Config for v0.7.5#19
Merged
moneycaringcoder merged 1 commit intomainfrom Apr 11, 2026
Merged
Conversation
…for v0.7.5 - Replace custom Styles struct with blit.ThemeStyles() and PanelStyles - Replace EventColor/LabelColor with Theme.SemanticColor() built-in defaults - Replace DebugLog stats tracking with blit.StatsCollector composition - Replace manual renderStats() with StatsCollector.View() - Replace pollEvents/fetchWithRetries/ETag cache with blit.HTTPResource - Switch from gh CLI shelling out to direct HTTP + gh auth token - Replace manual ConfigEditor fields with blit.Config[T].Editor() - Add blit struct tags to Config for auto-generated config editing - Replace renderHeader() with blit.ComponentHeader/HealthDot/StatusRateLimit - Remove direct lipgloss/bubbletea imports from main.go (use blit re-exports) - Handle new App.Run() (UpdateAction, error) return signature Net: -290 lines of custom code replaced by blit built-ins
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Summary
Migrates gitstream-tui to use the latest blit library features, removing ~290 lines of custom code that blit now provides as built-in.
Changes
enderStats()\ with \StatsCollector.View()\
enderHeader()\ with \�lit.ComponentHeader/\HealthDot/\StatusRateLimit\ helpers
Net change
-291 insertions, -581 deletions = -290 lines of custom code replaced by blit built-ins.
Bumps
After merge
Tag \�0.7.5\ will be created on main to trigger goreleaser.