Skip to content

Conversation

@setchy
Copy link
Member

@setchy setchy commented Jun 21, 2024

Currently fetchNotifcations is called each time when a subset of settings are changed.

This can cause rate limiting if enough settings are changed in quick succession.

Instead, this PR moves the retrieve new notifications to occur when moving back to the Notifications screen, either by;

  • clicking the Go Back button in the header
  • clicking on the Sidebar Settings icon

@setchy setchy added the enhancement New feature or enhancement to existing functionality label Jun 21, 2024
@setchy setchy added this to the Release 5.10.0 milestone Jun 21, 2024
@setchy setchy changed the title feat: fetch notifications on back feat: fetch notifications on back navigation Jun 21, 2024
@setchy setchy changed the title feat: fetch notifications on back navigation feat: fetch notifications on navigation Jun 22, 2024
Copy link
Member

@afonsojramos afonsojramos left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking good! A definite improvement!

@afonsojramos afonsojramos merged commit e700b8b into main Jun 25, 2024
@afonsojramos afonsojramos deleted the feat/fetch-on-back branch June 25, 2024 02:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or enhancement to existing functionality

Development

Successfully merging this pull request may close these issues.

3 participants