Skip to content

Merge tui-integration: footer fix, test isolation#79

Merged
joshribakoff merged 18 commits intomainfrom
tui-integration
Jan 25, 2026
Merged

Merge tui-integration: footer fix, test isolation#79
joshribakoff merged 18 commits intomainfrom
tui-integration

Conversation

@joshribakoff
Copy link
Owner

Summary

  • Use Textual built-in Footer widget (fixes footer not showing)
  • Add view indicator to title bar (Work/Plans)
  • Show w/p keybindings in footer
  • Isolate tests from user's session file via monkeypatch
  • Remove obsolete modal tests (now fullscreen views)

Known Issues

  • Selection highlight clearing on view switch (async timing - tracked for declarative rewrite)

🤖 Generated with Claude Code

joshribakoff and others added 18 commits January 20, 2026 19:34
Define prs.jsonl format with fields: repo, number, title, state, branch,
baseBranch, author, updated, checks, draft. Add read_prs(), get_prs_for_project(),
get_all_prs() (sorted: open first, then by updated), and get_worktree_for_branch().

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Create DataTable-based widget showing PR number, title, state, branch, checks,
and linked worktree. Supports row selection with PRSelected message and
cursor navigation.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Integrate PR browser into TUI with PRsScreen modal. Press 'R' to view all
GitHub PRs sorted by state (open first) then updated date. Shows linked
worktrees, supports j/k navigation and 'o' to open PR in browser.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add test_prs.py with tests for modal open/close, navigation, sorting, and
worktree linking. Add create_prs_workspace() mock data scenario with sample
PR data.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
New widget for displaying plans in a table format similar to WorktreeTable.
Columns: Title, Status, PR, Issue.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add get_plans_for_project() and get_plan_projects() to BearingState
for fetching plans from the plans directory structure.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Phase 1 & 2 of plan 022:
- Add ViewMode enum for WORKTREES/PLANS switching
- 'w' key switches to worktrees view, 'p' to plans view
- Share ProjectList panel between views with project-specific counts
- PlansTable replaces modal PlansScreen as full-screen panel
- Footer shows current mode with highlighting
- Rename worktrees-panel to main-panel for shared use
- Update help modal with new keybindings

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Test view mode switching with 'w' and 'p' keys.
Update existing tests to use #main-panel instead of #worktrees-panel.

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Adds:
- ViewMode enum for switching between worktrees/plans views
- PlansTable widget for displaying plans
- p/w key bindings for view switching
- Plans view with project filtering and details panel

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Use Textual built-in Footer widget (fixes footer not showing)
- Add view indicator to title bar (Work/Plans)
- Show w/p keybindings in footer
- Isolate tests from user's session file via monkeypatch
- Remove obsolete modal tests (now fullscreen views)
- Attempt to fix selection preservation (partial - async timing issue)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
@vercel
Copy link

vercel bot commented Jan 25, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
bearing Ready Ready Preview, Comment Jan 25, 2026 10:16pm

@joshribakoff joshribakoff merged commit 513bae8 into main Jan 25, 2026
3 of 4 checks passed
@joshribakoff joshribakoff deleted the tui-integration branch January 25, 2026 22:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant