Refactor out ready state into a "ReadyView" base class.
Review Request #7583 — Created Aug. 12, 2015 and submitted — Latest diff uploaded
A lot of the views in sonar want to wait until data has been fetched from the
server to render their contents. This change abstracts out that behavior into a
base class, so it doesn't have to be reimplemented in subtly different ways all
over the codebase.
Tested fresh reloads for all of the changed views.
lib/frontend/all-students-list-view.js |
---|
lib/frontend/calendar-view.js |
---|
lib/frontend/my-status-reports-view.js |
---|
lib/frontend/ready-view.js |
---|
lib/frontend/sidebar-view.js |
---|
lib/frontend/status-report-editor-view.js |
---|
lib/frontend/status-report-reading-view.js |
---|
lib/frontend/student-projects-view.js |
---|