Skip to content

Just patch diff to poll store#4183

Merged
dartcafe merged 3 commits into
mainfrom
enh/selective-store-updates
Jul 24, 2025
Merged

Just patch diff to poll store#4183
dartcafe merged 3 commits into
mainfrom
enh/selective-store-updates

Conversation

@dartcafe

@dartcafe dartcafe commented Jul 24, 2025

Copy link
Copy Markdown
Collaborator

Every single configuration change causes a complete round trip by patching all stores based on the reported request return.

Changes:

  • Do not reload full poll on config changes
  • Backend additionally sends the diff of the poll attributes after changing
  • Only patch the diff to the poll store
  • Selective reloading of other stores depending on the changed values

Additionally refactored the permission requests

In very big polls there is still a lag between the user action and applying the changes. Further investigation will be done, to determine, if this can be eliminated, too.

dartcafe added 3 commits July 24, 2025 00:01
Signed-off-by: dartcafe <github@dartcafe.de>
Signed-off-by: dartcafe <github@dartcafe.de>
Signed-off-by: dartcafe <github@dartcafe.de>
@dartcafe dartcafe added this to the 8.2 milestone Jul 24, 2025
@dartcafe dartcafe merged commit 46ac9ce into main Jul 24, 2025
45 checks passed
@dartcafe dartcafe deleted the enh/selective-store-updates branch July 24, 2025 07:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant