Port reviewDialogView.js to ES6.

Review Request #8543 — Created Nov. 16, 2016 and submitted

Information

Review Board
release-3.0.x
29d9201...

Reviewers

In preparation for some minor cleanups to the markup and style to fix
regressions introduced by the review changes I made earlier, I've converted
this file over to ES6.

Ran js-tests.

Description From Last Updated

Can you add area-hidden="true" to the <span>? This prevents it from being read by screen readers.

brenniebrennie

Use change:${this._getRawValueFieldName()} ?

brenniebrennie

_updateRawValue()

brenniebrennie
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/staticbundles.py
    
    Ignored Files:
        reviewboard/static/rb/js/views/reviewDialogView.es6.js
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/staticbundles.py
    
    Ignored Files:
        reviewboard/static/rb/js/views/reviewDialogView.es6.js
    
    
  2. 
      
brennie
  1. 
      
  2. Show all issues

    Can you add area-hidden="true" to the <span>? This prevents it from being read by screen readers.

  3. Does $.fn.append() transform strings to elements?

    1. Yep. append() takes any of htmlString, Element, Text, Array, or jQuery.

  4. Show all issues

    Use change:${this._getRawValueFieldName()} ?

  5. Show all issues

    _updateRawValue()

  6. 
      
david
reviewbot
  1. Tool: Pyflakes
    Processed Files:
        reviewboard/staticbundles.py
    
    Ignored Files:
        reviewboard/static/rb/js/views/reviewDialogView.es6.js
    
    
    
    Tool: PEP8 Style Checker
    Processed Files:
        reviewboard/staticbundles.py
    
    Ignored Files:
        reviewboard/static/rb/js/views/reviewDialogView.es6.js
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to release-3.0.x (d849004)
Loading...