"Finish review" footer still appears after submitting review with quick action
Summary
When I add review comments, the footer with the "Finish review" button appears. If I use that button to submit the review, the footer disappears. However, if I submit the review via the /submit_review
quick action, the footer remains until I refresh the page, which is confusing.
Steps to reproduce
- Leave a comment on a merge request and click "Start a review"
- Go to the "Overview" tab
- Enter a comment at the bottom which includes
/submit_review
- Click "Comment"
- Notice that the comments appear, but the footer remains
Example Project
An example project doesn't really show the repro (see screen recording below), but here is the merge request I used to create that recording:
https://gitlab.com/brett.higgins/mr-squash-test/-/merge_requests/2#note_371970654
(ignore the project name; I've used it for a couple different bug repros now)
What is the current bug behavior?
The footer remains after the review is submitted, until the page is refreshed
What is the expected correct behavior?
The footer disappears immediately when the review is submitted via quick action
Relevant logs and/or screenshots
Output of checks
This bug happens on GitLab.com