Add author name as an attribute to RB.Review in JS resources.

Review Request #12733 — Created Nov. 18, 2022 and updated

david
Review Board
release-6.x
reviewboard

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.
Summary
Add author name as an attribute to RB.Review in JS resources.
Checks run (2 succeeded)
flake8 passed.
JSHint passed.
maubin
  1. Ship It!
  2. 
      
Loading...