Skip to content
This repository was archived by the owner on Apr 10, 2026. It is now read-only.

feat: visual overhaul + tuikit v0.7.0 bump + tuitest integration tests#11

Merged
moneycaringcoder merged 8 commits intomainfrom
feat/visual-overhaul
Apr 8, 2026
Merged

feat: visual overhaul + tuikit v0.7.0 bump + tuitest integration tests#11
moneycaringcoder merged 8 commits intomainfrom
feat/visual-overhaul

Conversation

@moneycaringcoder
Copy link
Copy Markdown
Owner

Summary

  • Visual overhaul: multi-line header, Tailwind color palette, inline Table detail bar (replaces full-screen overlay)
  • Fix starred tokens showing wrong info in detail bar (star prefix in symbol cell)
  • Bump tuikit-go to v0.7.0 (RowStyler background fix, utility helpers, App.Model())
  • Add 13 tuitest integration tests covering rendering, navigation, sort, filter, search, star, resize
  • Remove news integration to focus on core crypto data

Test plan

  • go test ./internal/ui/ — 18 tests pass (5 existing + 13 new)
  • go build ./cmd/cryptstream/ — builds clean
  • Manual testing: flash backgrounds cover cell text, starred detail bar shows correct info

Switch from full-screen overlay to a compact 3-line inline detail
bar that updates as the cursor moves. Uses tuikit's new Table
DetailFunc with Divider and Badge utilities. Removes dead overlay
rendering code from main.go.
Symbol resolution from table rows now strips the star prefix before
looking up ticker data, fixing watchlist tokens showing wrong/empty
info in the inline detail bar, cell renderer, and row styler.
13 screen-based tests covering table rendering, cursor navigation,
sort cycling, filter modes, search, star toggle, resize, empty state,
ticker updates, and selected ticker using tuikit's tuitest package.
Picks up Table RowStyler background fix (flash/cursor covers cell text),
App.Model() for tuitest, and utility helpers.
Removes local replace directive.
@moneycaringcoder moneycaringcoder merged commit f0c1fe1 into main Apr 8, 2026
1 check passed
@moneycaringcoder moneycaringcoder deleted the feat/visual-overhaul branch April 8, 2026 20:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant