Fix overzealous issue summary table reloads.
Review Request #13234 — Created Aug. 23, 2023 and submitted
The review request page does some long-running requests to fetch new
updates to various parts, including entries and the issue summary table.
The entries all had an updated timestamp included, and on the client
side we'd check to make sure there actually was an update, but the issue
summary table did not. This change adds a new timestamp to the update
payload for this, and checks that timestamp client-side to prevent us
from doing unnecessary DOM updates.
- Ran python tests.
- Ran js-tests.
- Verified that when just looking at an unchanged page, the issue
summary table was not being updated in the DOM. - Changed some issue state from another tab and saw the issue summary
table reload correctly.
Summary | ID |
---|---|
4c32cd534d203edafec44d6b82b0d7283785861d |
- Commits:
-
Summary ID c4ac43b047fa3d2d4843ef452bee74a894c23084 524b71ad2c0a6b960503314b3a2d8db75c1fb081
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.
- Commits:
-
Summary ID 524b71ad2c0a6b960503314b3a2d8db75c1fb081 32db39844380271423800cdd51d515bbb64d495d
Checks run (2 succeeded)
flake8
passed.
JSHint
passed.