Make the unified banner show the draft + review state.

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

david
Review Board
release-6.x
reviewboard

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
Make the unified banner show the draft + review state.
maubin
  1. 
      
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-6.x (d5000de)
Loading...