-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Lazy loading #77
Lazy loading #77
Commits on Nov 11, 2019
-
Perform AJAX request for classes+assignments separately from table init
Instead of using Tabulator to perform the AJAX request that gets the data to populate tableData, perform the AJAX request separately and update the table. This will make it easier to perform separate AJAX requests as each term (Q1, Q2, Q3, Q4) is requested.
Configuration menu - View commit details
-
Copy full SHA for c7dcda2 - Browse repository at this point
Copy the full SHA c7dcda2View commit details
Commits on Dec 18, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 41f1354 - Browse repository at this point
Copy the full SHA 41f1354View commit details -
Configuration menu - View commit details
-
Copy full SHA for be114fb - Browse repository at this point
Copy the full SHA be114fbView commit details -
Configuration menu - View commit details
-
Copy full SHA for d4590ce - Browse repository at this point
Copy the full SHA d4590ceView commit details -
Add /schedule endpoint and factor out schedule code
1) The schedule-scraping has been commented out of scrape_student in scrape.js, instead exporting scrape_schedule directly. 2) A new endpoint, '/schedule', has been declared in serve.js, from which the schedule can be retrieved as JSON (because it is no longer included in the JSON file from /data). 3) The JavaScript in home.html now performs the schedule request separately with a separate callback function, and clock.js no longer assumes that tableData.schedule must exist if tableData exists. A similar treatment will be given to other components that are scraped until the loading has become sufficiently modular (lazy loading) to make it feasible to retrieve data from past terms and to extend Aspine in other ways in the future.
Configuration menu - View commit details
-
Copy full SHA for 4866e80 - Browse repository at this point
Copy the full SHA 4866e80View commit details -
Add /pdf endpoint and factor out PDF code
Same as previous commit, but with the PDF files (Reports tab).
Configuration menu - View commit details
-
Copy full SHA for 6436678 - Browse repository at this point
Copy the full SHA 6436678View commit details -
Configuration menu - View commit details
-
Copy full SHA for 51cdbe6 - Browse repository at this point
Copy the full SHA 51cdbe6View commit details
Commits on Dec 19, 2019
-
Configuration menu - View commit details
-
Copy full SHA for 9a56685 - Browse repository at this point
Copy the full SHA 9a56685View commit details -
Configuration menu - View commit details
-
Copy full SHA for 84a8025 - Browse repository at this point
Copy the full SHA 84a8025View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1463797 - Browse repository at this point
Copy the full SHA 1463797View commit details -
Making sure to merge tableData with /data response rather than overwr…
…iting it. This fixes the problem where tableData already contains information, for example pdf_files, which are then erased when /data does 'tableData = response'. This would occur when a user immediately navigates to the 'Reports' page before /data has the chance to complete.
Configuration menu - View commit details
-
Copy full SHA for f806e56 - Browse repository at this point
Copy the full SHA f806e56View commit details -
making sure mostRecentActivity table is sized correctly in the case t…
…hat /data returns while the user is on a different tab
Configuration menu - View commit details
-
Copy full SHA for d3382ab - Browse repository at this point
Copy the full SHA d3382abView commit details -
Configuration menu - View commit details
-
Copy full SHA for fbc8061 - Browse repository at this point
Copy the full SHA fbc8061View commit details