Skip to content

refactor: retire fetch type notification setting#3070

Merged
afonsojramos merged 2 commits into
mainfrom
refactor/retire-fetch-type
Jul 24, 2026
Merged

refactor: retire fetch type notification setting#3070
afonsojramos merged 2 commits into
mainfrom
refactor/retire-fetch-type

Conversation

@afonsojramos

Copy link
Copy Markdown
Member

Removes the Interval vs Inactivity fetch type choice now that TanStack Query manages notification fetching in the standard way. Notifications always poll on the configured fetch interval; the interval duration setting stays. The now-unused useInactivityTimer hook, the FetchType enum, and the settings radio group are gone (net -225 lines).

Users who had Inactivity selected silently move to interval polling. The stale fetchType key in previously persisted settings is simply ignored by the store's typed accessors, so no storage migration is needed.

Closes #3068

TanStack Query owns notification fetching with standard interval
polling, so the Interval vs Inactivity choice no longer earns its
settings surface. Notifications now always poll on the configured
fetch interval; the inactivity timer hook and the settings radio
group are removed. A stale fetchType key in previously persisted
settings is ignored harmlessly.
@afonsojramos
afonsojramos requested a review from setchy as a code owner July 24, 2026 01:25
@github-actions github-actions Bot added the refactor Refactoring of existing feature label Jul 24, 2026
@sonarqubecloud

Copy link
Copy Markdown

@afonsojramos
afonsojramos merged commit 94f37e2 into main Jul 24, 2026
17 checks passed
@afonsojramos
afonsojramos deleted the refactor/retire-fetch-type branch July 24, 2026 12:52
@github-actions github-actions Bot added this to the Release 7.x.x milestone Jul 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

refactor Refactoring of existing feature

Development

Successfully merging this pull request may close these issues.

refactor: retire FetchType notification setting

1 participant