Skip to content

[14.0][FIX] base_tier_validation: refresh the review counter only when reviews change - #1

Closed
eantones wants to merge 7 commits into
14.0from
14.0-fwp-11.0-base_tier_validation-systray_notifications
Closed

eantones wants to merge 7 commits into
14.0from
14.0-fwp-11.0-base_tier_validation-systray_notifications

Conversation

@eantones

Copy link
Copy Markdown
Member

Forward port of PR 89 from 11.0.

The review counter in the systray was refreshed on every bus notification, whatever its channel, and also when the longpolling came back empty, which the main tab gets every 50 seconds. The refresh was a regular RPC, so whenever the workers were busy the web client blocked the screen while it waited for a free one.

With PR 89 the counter is refreshed only when a batch carries a notification of its own channel, and the commits on top do it once per batch and with a shadow RPC. The second commit of PR 89 comes without its Python part, which 14.0 already has.

Cancelling, resetting to draft or deleting a document with reviews did not notify the counter, which went unnoticed while any notification refreshed it. The mixin now notifies when it removes reviews.

The QUnit tests run the menu on the real bus service with the longpolling route mocked.

@eantones eantones closed this Oct 16, 2026
@eantones eantones reopened this Oct 16, 2026
@eantones eantones closed this Oct 16, 2026
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.

3 participants