[rbseverity] Fix the severity extension to properly support general comments

Review Request #9205 — Created Sept. 23, 2017 and submitted

Information

rb-extension-pack
master
09e348b...

Reviewers

The severity of a problem was not being displayed on the review page, if
the severity was added using the add comment button on the review dialog
page.

The drop downs menus for severity options on the edit review page
were not saving the model with the selected option. The model not saving
the selected option caused the data not be saved in the database when,
submitting the form.

The patch fixes the problem by saving the model anytime the severity
changes in the drop down. When the severity is saved it is properly added
to the database, and this fixes the problem on the review page.

I added a comment of each severity using the add comment button on the
reviewable page. On the review dialog page I added another comment with a
severity and published it from this page. I repeated the process adding
multiple comments with varying degrees of severity, and different
amounts of comments.

I ran the js tests with the extension enabled and all expected tests
passed. I had 2 failures, they seemed unrelated and other people were
experiencing them, and they are being filed separately.

All tickets had proper severity in the database and displayed it on the
reviewable page.

Description From Last Updated

Some changes I'd like to see to your description: These should wrap to 70-75 characters. Best to do this in …

chipx86chipx86
chipx86
  1. 
      
  2. Show all issues

    Some changes I'd like to see to your description:

    1. These should wrap to 70-75 characters. Best to do this in your editor.
    2. The first sentence is kind of redundant.
    3. The last sentence doesn't sound very confident, and is probably overall not needed.
    4. I recommend going through a grammar checker for the text. The meat of the description is a long run-on sentence that could be split up.
    5. Try to word your description like you're writing a small report. You should structure it like: "Description of the problem, why it happened, how it was fixed." Read through the guide on writing good change descriptions.
    6. The Testing Done needs to be more explicit. Making some changes doesn't tell me anything about the original problem being fixed. You should really spell out the steps you used to test and the conditions that were tested (every type of comment should be tested). We need to be able to follow along with your steps.
  3. 
      
GR
brennie
  1. Ship It!
  2. 
      
GR
  1. Ship It!

  2. 
      
david
  1. Ship It!
  2. 
      
GR
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (b13eff9)
Loading...