Skip to content

Add manual refresh toggle to dashboard widgets#651

Merged
multiplex55 merged 1 commit intomasterfrom
codex/add-manual-refresh-option-to-widgets
Jan 8, 2026
Merged

Add manual refresh toggle to dashboard widgets#651
multiplex55 merged 1 commit intomasterfrom
codex/add-manual-refresh-option-to-widgets

Conversation

@multiplex55
Copy link
Copy Markdown
Owner

Motivation

  • Provide a per-widget option to disable automatic refresh and rely on explicit refreshes to reduce unnecessary updates.
  • Expose the control in the shared refresh UI so all widgets can present a consistent setting via refresh_interval_setting.
  • Ensure the existing header Refresh button and settings-driven refresh behavior still force an immediate refresh even when auto-refresh is disabled.

Description

  • Change refresh_interval_setting to accept a manual_refresh_only: &mut bool parameter and add an "Only manual refresh" checkbox to the settings UI.
  • Add a manual_refresh_only: bool field (with #[serde(default)]) to each affected widget config and set the backward-compatible default to false in the Default impls for those configs.
  • Add a refresh_pending: bool field to each updated widget and update refresh logic so widgets skip automatic refreshes when manual_refresh_only is true but still perform immediate refreshes on header Refresh or when settings change by using refresh_pending.
  • Update the following widget modules: pinned_query_results, query_list, system_actions, system_status, window_list, windows_overview, process_list, and browser_tabs to store and honor the flag and to keep cache interval and invalidation behavior.

Testing

  • No automated tests were executed as part of this change.

Codex Task

@multiplex55 multiplex55 merged commit fd8b537 into master Jan 8, 2026
1 check passed
@multiplex55 multiplex55 deleted the codex/add-manual-refresh-option-to-widgets branch January 8, 2026 21:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant