• 
      

    Clean up icon-based actions in review request header.

    Review Request #8308 — Created July 25, 2016 and submitted

    Information

    Review Board
    release-3.0.x
    6f4829a...

    Reviewers

    The CSS that handled the icon-based actions on the left-hand side of the header
    (star and archive/mute) was pretty ugly. We had a mix of padding/margin
    specifications, especially working around a bad value in icons.less for the
    position of the archive icon. We also had rules spread around in various
    places, including a couple that were completely obsolete.

    This change includes the first introduction of review-request.less. My eventual
    goal is to move everything corresponding to the review request box into there,
    leaving reviews.less for the actual review/change description boxes.

    Verified the actions' appearance in Chrome, Firefox, and Safari.

    Description From Last Updated

    Does starring end up triggering a URL change, or does it properly prevent that?

    chipx86chipx86
    reviewbot
    1. Tool: Pyflakes
      Processed Files:
          reviewboard/staticbundles.py
      
      Ignored Files:
          reviewboard/static/rb/css/pages/review-request.less
          reviewboard/static/rb/css/pages/reviews.less
          reviewboard/templates/reviews/review_request_header.html
          reviewboard/static/rb/css/assets/icons.less
      
      
      
      Tool: PEP8 Style Checker
      Processed Files:
          reviewboard/staticbundles.py
      
      Ignored Files:
          reviewboard/static/rb/css/pages/review-request.less
          reviewboard/static/rb/css/pages/reviews.less
          reviewboard/templates/reviews/review_request_header.html
          reviewboard/static/rb/css/assets/icons.less
      
      
    2. 
        
    brennie
    1. Ship It!
    2. 
        
    david
    chipx86
    1. 
        
    2. Show all issues

      Does starring end up triggering a URL change, or does it properly prevent that?

      1. The event is handled and suppressed before then.

    3. 
        
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-3.0.x (8a75a81)