Skip to content

fix: add proper awareness for awaiting_move#129

Merged
sadsfae merged 3 commits into
quadsproject:developmentfrom
sadsfae:gui_polling
Jun 9, 2026
Merged

fix: add proper awareness for awaiting_move#129
sadsfae merged 3 commits into
quadsproject:developmentfrom
sadsfae:gui_polling

Conversation

@sadsfae

@sadsfae sadsfae commented Jun 9, 2026

Copy link
Copy Markdown
Contributor

This was done in CLI but not everywhere and not done in the GUI.

This was done in CLI but not everywhere and not done in the GUI.
@codecov

codecov Bot commented Jun 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

Flag Coverage Δ
unittests 79.67% <100.00%> (+0.20%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Files with missing lines Coverage Δ
src/quads_client/commands/track.py 98.23% <100.00%> (+0.49%) ⬆️
src/quads_client/commands/user.py 93.28% <100.00%> (ø)
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

sadsfae added 2 commits June 9, 2026 15:24
  - _show_pending_moves refactored into _get_pending_moves (returns the list instead of printing)
  - _wait_for_active_all and _wait_for_active_single -- new methods that show a live Rich table of scheduled moves, poll every 10s, and return
  active move data once the server's move cycle starts (or None on Ctrl+C)
  - _build_pending_table -- builds the Rich table with caption showing "Last check: HH:MM:SS | Refresh: 10s | Ctrl+C to stop"
  - Both _track_single and _track_all now: get pending -> wait for active (live polling) -> seamlessly transition into the existing 5s live
  tracking loop

Assisted-by: claude
@sadsfae sadsfae merged commit f7d0900 into quadsproject:development Jun 9, 2026
5 checks passed
@sadsfae sadsfae deleted the gui_polling branch June 9, 2026 14:35
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