Make the unified banner show the draft + review state.

Review Request #12944 — Created April 10, 2023 and submitted

Information

Review Board
release-6.x

Reviewers

The current mode calculation for the unified banner assumed that if the
review request was not yet public, that that was the only possible
state. This change fixes it up so we can also have a pending review.

Created a review on an unpublished review request and saw the unified
banner show the correct states in the mode selector.

Summary ID
Make the unified banner show the draft + review state.
The current mode calculation for the unified banner assumed that if the review request was not yet public, that that was the only possible state. This change fixes it up so we can also have a pending review. Testing Done: Created a review on an unpublished review request and saw the unified banner show the correct states in the mode selector.
a824a6d37e4d3f6ed0c82f2b35b9dfc783d36456
maubin
  1. 
      
  2. 
      
david
Review request changed
Status:
Completed
Change Summary:
Pushed to release-6.x (d5000de)