Skip to content

Add visibility-aware Team Manager refresh - #10

Merged
itsreverence merged 1 commit into
masterfrom
codex/team-manager-live-refresh
Jul 27, 2026
Merged

Add visibility-aware Team Manager refresh#10
itsreverence merged 1 commit into
masterfrom
codex/team-manager-live-refresh

Conversation

@itsreverence

Copy link
Copy Markdown
Owner

Summary

  • refresh Team Manager data every 60 seconds only while the Team Manager is visible
  • refresh when the application regains focus, with a short duplicate-request throttle
  • add a compact manual refresh control and checked/updated/error status
  • preserve the last successful roster, lineup, waiver, matchup, activity, and AI context when a background refresh fails
  • ignore regenerated timestamps when deciding whether Sleeper data meaningfully changed
  • prevent stale concurrent requests from overwriting newer Team Manager state

Validation

  • npm ci
  • npm run check
  • npm test (111 passed, 2 platform-specific tests skipped)
  • npm run build
  • npm audit --omit=dev --audit-level=high (0 production vulnerabilities)
  • git diff --check
  • Impeccable detector on changed UI targets (0 findings)
  • live Sleeper league smoke: initial load, manual refresh, no-change completion, and 60-second automatic refresh
  • confirmed roster remains visible throughout background refreshes

@itsreverence
itsreverence merged commit 7180911 into master Jul 27, 2026
5 checks passed
@itsreverence
itsreverence deleted the codex/team-manager-live-refresh branch July 27, 2026 22:21
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