Use a collection for the student projects.
Review Request #7933 — Created Jan. 31, 2016 and submitted — Latest diff uploaded
The current way student projects were fetched from the API, we'd fetch
the raw data on the pages that wanted to use them and then hand-parse each
time. This change moves that over to use models and collections. They're still
not fetched until needed, because the /api/student-projects endpoint can take
several seconds to return if the data isn't in cache.
Loaded and browsed through the student projects list and user detail views.
Diff Revision 1 (Latest)
lib/frontend/application.js | ||
lib/frontend/application-view.js | ||
lib/frontend/models.js | ||
lib/frontend/student-projects-list-view.js Was lib/frontend/student-projects-view.js | ||
lib/frontend/user-detail-view.js |
lib/frontend/application.js |
---|
lib/frontend/application-view.js |
---|
lib/frontend/models.js |
---|
lib/frontend/student-projects-view.js |
---|
lib/frontend/user-detail-view.js |
---|