Add author name as an attribute to RB.Review in JS resources.
Review Request #12733 — Created Nov. 18, 2022 and submitted — Latest diff uploaded
In order to make it so we can show "Replying to X's review" in the new
unified banner, we need a reasonable way of getting the author name for
the review. This change adds it as an attribute for the JS model, and
populates it as part of the entry data.
- Used in conjunction with my WIP unified banner change.
- Ran unit tests.
reviewboard/reviews/detail.py |
---|
reviewboard/reviews/tests/test_entries.py |
---|
reviewboard/reviews/tests/test_review_request_updates_view.py |
---|
reviewboard/static/rb/js/resources/models/reviewModel.es6.js |
---|
reviewboard/static/rb/js/reviewRequestPage/models/reviewEntryModel.es6.js |
---|