Set renderedInline on the AbstractReviewable model.
Review Request #14627 — Created Oct. 2, 2025 and updated
We have a
renderedInlineattribute on both theAbstractReviewablemodel
andAbstractReviewableViewJS objects for our review UIs. This
attribute says whether the review UI is being rendered inline or not. We
were properly setting this onAbstractReviewableView, however we
weren't setting it onAbstractReviewable. This change fixes that.We also add a
ReviewUI._inlineattribute that gets set along with
therequestattribute. This way any method on the review UI can
access the inline information.
- Confirmed that the attribute is set on the
AbstractReviewable,
viewed an inline review UI and a standalone one. - Confirmed that the attribute is still properly set on
AbstractReviewableView. - Ran unit tests.
- Change Summary:
-
- Created a
ReviewUI._inlineattribute. - Sets inline information through
ReviewUI.get_js_view_dataandget_js_model_data.
- Created a
- Description:
-
We have a
renderedInlineattribute on both theAbstractReviewablemodeland AbstractReviewableViewJS objects for our review UIs. Thisattribute says whether the review UI is being rendered inline or not. We were properly setting this on AbstractReviewableView, however weweren't setting it on AbstractReviewable. This change fixes that.+ + We also add a
ReviewUI._inlineattribute that gets set along with+ the requestattribute. This way any method on the review UI can+ access the inline information. - Testing Done:
-
~ Confirmed that the attribute is set on the
AbstractReviewable,~ viewed an inline review UI and a standalone one. ~ - Confirmed that the attribute is set on the
AbstractReviewable,
viewed an inline review UI and a standalone one.
~ - Confirmed that the attribute is still properly set on
AbstractReviewableView.
+ - Ran unit tests.
- Confirmed that the attribute is set on the
- Commits:
-
Summary ID 467fac07bcea53144fea3c6f8516a61defdbe4cf f34d7a1102570694065c118cc497d99f56fa1ca0