feat(tui): wire activity view into TUI with Alt+S keybinding #330
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
3 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/steeper!330
Loading…
Reference in a new issue
No description provided.
Delete branch "phase08-tui-integration"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Wire the activity view pipeline into the live TUI. Press
Alt+Sfrom the home dashboard or repo detail view to open the activity overlay.Changes
internal/config/config.goDefaultCachePath()—~/.config/steeper/activity.dbinternal/tui/activityview.goactivity.View.Render()internal/tui/app.goAlt+Sin global input captureinternal/tui/homeview.goUsername()methodinternal/tui/filetreeview.goAlt+Sto repo detail keybarHow it works
~/.config/steeper/activity.db(recoverable if corrupted)Architecture
a4f325d610c98eead8a8c98eead8a8cf87baa58acf87baa58ac504e8d12ac504e8d12a4c65e2a49e4c65e2a49e13fe67ffee13fe67ffeeb00f61a4fab00f61a4fa13a0aec58113a0aec5814d3b55a1344d3b55a13454a9574ac854a9574ac8e311df4aa6e311df4aa6a904dd1da2a904dd1da2c51c6bd3fdReview
Result: Approved — no blocking issues.
Summary: Wires the activity view pipeline into the live TUI via Alt+S. Creates
internal/tui/activityview.gofollowing the exact working pattern (embedded TextView, ShowOverlay, nav.Back() for close). Fixes the separator bug inview.go— replaced variable-widthstrings.Repeat("─", width-2)with fixed"────────────────────"to prevent tview buffer corruption. AddsDefaultCachePath()config,HomeView.Username()getter, and Alt+S keybar entry.Non-blocking:
Checklist:
New commits pushed, approval review dismissed automatically according to repository settings
Re-Review
Result: Approved — no blocking issues. Significant restructuring from previous version.
Summary: Complete redesign of activity view integration. Key changes from previous version:
1-5), between home and reposBarGraph()using Unicode bar glyphs (⢀⢄⢆⢇) withSparkSectionlabels (opened/closed)WindowDaysbumped from 7 to 30 in types.goheatmap_render.goshared between HomeView and ActivityViewPRSparklineetc. are dead production codeNon-blocking:
Checklist:
New commits pushed, approval review dismissed automatically according to repository settings
Re-Review (commit
94a6de5)Result: Approved — no blocking issues.
Changes since last review:
BarGraphnow acceptscolors []stringfor per-row tview color tagsSparkSectionpasses open/close color arrays throughshadeRows(),shadeRow(),hexToRGB()for gradient computation#76946a→#98bb6c) for opens, red shades (#c34043→#e82424) for closes- Deletionssparkline removedSparkSectionskips "opened"/"closed" sub-labels for+ AdditionsonlyAll builds and tests pass. Previous non-blocking items (#332) still applicable.