This repository was archived by the owner on Apr 10, 2026. It is now read-only.
feat: migrate to tuikit-go v0.5.0 components#7
Merged
moneycaringcoder merged 4 commits intomainfrom Apr 8, 2026
Merged
Conversation
Replace manual table rendering with tuikit.Table + CellRenderer. Extract MarketPanel as standalone tuikit.Component. Wire DualPane layout and StatusBar in main.go. Replace browser.go with tuikit.OpenURL, timeAgo with tuikit.RelativeTime. Replace manual DeFi table with second tuikit.Table instance. Disable tab focus cycling to preserve tab/shift+tab sort column cycling.
- Remove double border from MarketPanel (DualPane provides separator) - Remove double width subtraction in tableWidth() (DualPane handles split) - Pad MarketPanel lines to full width for JoinHorizontal alignment - Move flash/liq/cursor backgrounds from CellRenderer to RowStyler - CellRenderer now returns foreground-only styling - Add explicit HeaderStyle to fix invisible headers with zero theme - Cap TREND column at 20 chars (MaxWidth) to match sparkline width - Add news-to-footer separator line - Implement CapturesInput() for search mode - Increase FilterCount default from 20 to 100 - Reduce # column width with MaxWidth: 4
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
tuikit.Table+CellRendererclosure for domain-specific styling (sparklines, flash effects, correlation colors, watchlist stars)MarketPanelas standalonetuikit.Component(was embedded in CryptoView)DualPanelayout +StatusBarin main.go (replaces manuallipgloss.JoinHorizontalandRenderFooter)browser.gowithtuikit.OpenURL(),timeAgowithtuikit.RelativeTime()tuikit.TableinstanceWithFocusCycleKey("")) to preserve tab/shift+tab sort column cyclingTest plan
go build ./...passesgo test ./...passes (3 packages)go vet ./...passes