-
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
Client-side import/export feature #74
Labels
enhancement
New feature or request
frontend
Suspected problem with frontend (client-side code in public directory)
priority
Work on this first
Comments
This was referenced Mar 23, 2020
psvenk
added
enhancement
New feature or request
frontend
Suspected problem with frontend (client-side code in public directory)
labels
Mar 28, 2020
This is mostly implemented (in the
|
Closed in #119. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
enhancement
New feature or request
frontend
Suspected problem with frontend (client-side code in public directory)
priority
Work on this first
Allow users to download an archive of their grades for a year as a JSON file, choosing what to include (drawing from the global variable
tableData
). This is meant as a (much more user-friendly) improvement to the changes made in #62, which no longer work as intended due to changes made to the backend for lazy loading (#77).Additionally, include a feature in which users can upload a JSON export and have Aspine (on the client side) intelligently merge the contents of the export with the current contents of
tableData
, overwriting only what is needed.It would also be nice to have an option at the login page to enter Aspine with a blank
tableData
and upload whatever data one wants to use instead of scraping Aspen. This option would be useful for graduated students to view their grades by being able to use Aspine to view their exports without having an account on the Aspen server.We would need to include a version field (and possibly a commit hash, too) in the generated JSON file which matches the current version in
package.json
(obviously, this depends on having a real versioning scheme). If a user uploads a JSON file from an earlier version, we could display a warning, and if a user uploads a JSON file from an earlier major version (not backwards-compatible), we could direct the user to our Releases page on GitHub to download and host an older version of Aspine to view their export (or, once we reach that stage, we could make a purely client-side version of Aspine which only supports JSON upload due to lacking a backend; this can be automated at each release using a specialized build process that includes all necessary dependencies and is not reliant upon any endpoints).The text was updated successfully, but these errors were encountered: