Smoothly show the dashboard on page load.

Review Request #6271 — Created Aug. 26, 2014 and submitted

Information

Review Board
release-2.0.x
af2a3fa...

Reviewers

The dashboard auto-sizes to fit after load, and this was very noticeable
and ugly. We now hide the whole dashboard container at first, and then
show it just before the resize. This causes it to appear and be sized
correctly all at once, making for a much nicer experience.

Loaded/reloaded the page several times. The dashboard just appeared at
the correct size, looking like a natural load, as if no trickery was
involved.

reviewbot
  1. Tool: PEP8 Style Checker
    Ignored Files:
        reviewboard/static/rb/js/dashboard/views/dashboardView.js
        reviewboard/static/rb/css/dashboard.less
    
    
    
    Tool: Pyflakes
    Ignored Files:
        reviewboard/static/rb/js/dashboard/views/dashboardView.js
        reviewboard/static/rb/css/dashboard.less
    
    
  2. 
      
david
  1. Ship It!

  2. 
      
chipx86
Review request changed
Status:
Completed
Change Summary:
Pushed to release-2.0.x (7a32d64)