Skip to content

Conversation

@twaugh
Copy link
Owner

@twaugh twaugh commented Nov 23, 2025

Add polling timers to all three phase screens to continuously update the status panel with background task progress. Previously, only the screen that started a background task would show its progress updates.

Changes:

  • Phase 1, 2, 3: Add 0.5s polling timer that calls _update_status_panel()
  • Phase 1, 2, 3: Add timer cleanup in on_unmount() to prevent leaks
  • Phase 3: Separate status update timer from existing decision polling timer

This ensures users see live progress updates (e.g., "Building page index 50%") regardless of which screen is currently mounted, improving UX for long-running background operations that span multiple screens.

All 143 UI tests pass.

Assisted-by: Claude Code

Add polling timers to all three phase screens to continuously update
the status panel with background task progress. Previously, only the
screen that started a background task would show its progress updates.

Changes:
- Phase 1, 2, 3: Add 0.5s polling timer that calls _update_status_panel()
- Phase 1, 2, 3: Add timer cleanup in on_unmount() to prevent leaks
- Phase 3: Separate status update timer from existing decision polling timer

This ensures users see live progress updates (e.g., "Building page index 50%")
regardless of which screen is currently mounted, improving UX for long-running
background operations that span multiple screens.

All 143 UI tests pass.

Assisted-by: Claude Code
@codecov-commenter
Copy link

Codecov Report

❌ Patch coverage is 85.36585% with 6 lines in your changes missing coverage. Please review.
✅ Project coverage is 84.67%. Comparing base (d9cf8cc) to head (fed6351).

Files with missing lines Patch % Lines
src/logsqueak/tui/screens/block_selection.py 83.33% 2 Missing ⚠️
src/logsqueak/tui/screens/content_editing.py 84.61% 2 Missing ⚠️
src/logsqueak/tui/screens/integration_review.py 87.50% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #39      +/-   ##
==========================================
- Coverage   84.76%   84.67%   -0.10%     
==========================================
  Files          48       48              
  Lines        5087     5128      +41     
==========================================
+ Hits         4312     4342      +30     
- Misses        775      786      +11     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@twaugh twaugh merged commit f2f7048 into main Nov 23, 2025
1 check passed
@twaugh twaugh deleted the feat/status-panel-live-updates branch November 23, 2025 10:53
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.

3 participants