Skip to content

Dashboard: visible sub-tab only refresh on auto-refresh ticks#528

Merged
erikdarlingdata merged 2 commits intodevfrom
feature/dashboard-subtab-refresh
Mar 12, 2026
Merged

Dashboard: visible sub-tab only refresh on auto-refresh ticks#528
erikdarlingdata merged 2 commits intodevfrom
feature/dashboard-subtab-refresh

Conversation

@erikdarlingdata
Copy link
Owner

Summary

  • Auto-refresh timer was firing ~32 SQL queries every 30 seconds regardless of which sub-tab was visible
  • Now only the active sub-tab refreshes on timer ticks (1-2 queries per tick)
  • Full refresh preserved for initial load, manual refresh, and Apply-to-All time range changes

Controls updated

Control Sub-tabs Queries before Queries after
ResourceMetricsContent 8 9 1-2
QueryPerformanceContent 8 10 1
SystemEventsContent 9 8 1
MemoryContent 5 5 1
Total per tick ~32 1-2

Test plan

  • Build succeeds with zero errors/warnings
  • Manual testing — noticeably snappier tab switching and refresh

🤖 Generated with Claude Code

erikdarlingdata and others added 2 commits March 11, 2026 20:29
v2.2.0: Fix SignPath signing
Auto-refresh timer was firing all sub-tab queries (~32 SQL queries) every
30 seconds regardless of which sub-tab was visible. Now only the active
sub-tab refreshes on timer ticks (1-2 queries). Full refresh preserved
for initial load, manual refresh, and Apply-to-All time range changes.

Controls updated: ResourceMetricsContent (8 sub-tabs), QueryPerformanceContent
(8 sub-tabs), SystemEventsContent (9 sub-tabs), MemoryContent (5 sub-tabs).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 1da0ceb into dev Mar 12, 2026
3 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/dashboard-subtab-refresh branch March 12, 2026 04:42
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