Add legacy attributes on ReviewablePageView for extensions.
Review Request #9438 — Created Dec. 14, 2017 and submitted
The view/model cleanup for the reviewable pages removed some attributes
needed by extensions. The
reviewRequestattribute was previously
fixed, but the
pendingReviewattribute remained broken. This adds this
attribute back, and listens for any changes on the model in order to
update the view (which currently does not happen, but this might change
for pending reviews as things become more dynamic).
Tested that Power Pack and rbstopwatch both worked. Previously, rbstopwatch
Unit tests pass.
Revision 2 (+15 -3)
Checks run (2 succeeded)