Expand issue comment parent box

Review Request #4625 — Created Sept. 21, 2013 and submitted

Information

Review Board
master

Reviewers

Clicking on an issue in the issue summary table will now navigate the user to the issue comment and expand the parent box if it is collapsed.


 
Description From Last Updated

_ before this, since nothing outside this class should call it.

chipx86chipx86

Should just be /*

chipx86chipx86

$el is more standard for our codebase.

chipx86chipx86

Looking at this again, I think issueClicked should instead pass the comment type and issue-id as parameters, and leave the …

chipx86chipx86

Blank line should be removed.

chipx86chipx86
reviewbot
  1. This is a review from Review Bot.
    Tool: PEP8 Style Checker
    Processed Files:
    Ignored Files:
    reviewboard/static/rb/js/views/issueSummaryTableView.js
    reviewboard/static/rb/js/pages/views/reviewRequestPageView.js

  2. 
      
reviewbot
  1. This is a review from Review Bot.
    Tool: Pyflakes
    Processed Files:
    Ignored Files:
    reviewboard/static/rb/js/views/issueSummaryTableView.js
    reviewboard/static/rb/js/pages/views/reviewRequestPageView.js

  2. 
      
chipx86
  1. 
      
  2. Show all issues

    _ before this, since nothing outside this class should call it.

  3. Show all issues

    Should just be /*

  4. Show all issues

    $el is more standard for our codebase.

  5. reviewboard/static/rb/js/views/issueSummaryTableView.js (Diff revision 1)
     
     
     
     
     
     
     
     
     
    Show all issues

    Looking at this again, I think issueClicked should instead pass the comment type and issue-id as parameters, and leave the selector name creation to the part that expands the box. The issue summary view doesn't need to know the format of those IDs.

  6. Show all issues

    Blank line should be removed.

  7. 
      
ME
reviewbot
  1. This is a review from Review Bot.
    Tool: PEP8 Style Checker
    Processed Files:
    Ignored Files:
    reviewboard/static/rb/js/views/issueSummaryTableView.js
    reviewboard/static/rb/js/pages/views/reviewRequestPageView.js

  2. 
      
reviewbot
  1. This is a review from Review Bot.
    Tool: Pyflakes
    Processed Files:
    Ignored Files:
    reviewboard/static/rb/js/views/issueSummaryTableView.js
    reviewboard/static/rb/js/pages/views/reviewRequestPageView.js

  2. 
      
chipx86
  1. Ship It!

  2. 
      
ME
Review request changed
Status:
Completed
Change Summary:

Pushed to master (c14122b)