Use a collection for the student projects.

Review Request #7933 — Created Jan. 31, 2016 and submitted

david
student-sonar
master
7eeb7d0...
student-sonar

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.

reviewbot
  1. Tool: Pyflakes
    Ignored Files:
        lib/frontend/user-detail-view.js
        lib/frontend/application-view.js
        lib/frontend/application.js
        lib/frontend/models.js
        lib/frontend/student-projects-list-view.js
    
    
    
    Tool: PEP8 Style Checker
    Ignored Files:
        lib/frontend/user-detail-view.js
        lib/frontend/application-view.js
        lib/frontend/application.js
        lib/frontend/models.js
        lib/frontend/student-projects-list-view.js
    
    
  2. 
      
brennie
  1. Ship It!
  2. 
      
david
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (7f1699c)
Loading...