0c098c997b
this commit adds the rubric import tray to the rubrics page. the tray allows users to upload a CSV file with rubric data. two queries are added to handle this import: - one query creates a rubric import object and starts the import process - the other query fetches the status of the import closes: EVAL-4403 closes: EVAL-4410 flag=enhanced_rubrics flag=rubric_imports_exports test plan: - create an empty csv file - navigate to the rubrics page - click the "Import Rubric" button - verify the tray opens - click on the "Download Template" button - verify the template downloads - click on the file dialog. verify that you can select a CSV file and select the template file that you downloaded - click the "Upload" button - verify that the upload status table is displayed with the status of the import - verify that the import is successful and that the new rubric was added to the rubrics list - verify that you can delete the rubric and that it is removed from the list - now upload the empty csv file - verify that the import fails and that the error message modal is displayed - verify that the import status table is displayed with the status of the failed import - verify clicking on the name of the failed export file will open the error message modal Change-Id: I8730389779601a6d80403e231e5c0309beac7911 Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/355571 Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com> Reviewed-by: Spencer Olson <solson@instructure.com> Reviewed-by: Derek Williams <derek.williams@instructure.com> QA-Review: Jackson Huang <jackson.huang@instructure.com> Product-Review: Cameron Ray <cameron.ray@instructure.com> |
||
---|---|---|
.. | ||
file_removed | ||
fonts | ||
images | ||
javascripts | ||
media_record | ||
partials | ||
422.html | ||
500.html | ||
Canvas.png | ||
_crossdomain.xml | ||
apple-touch-icon.png | ||
dimdim_welcome.html | ||
drawing.html | ||
enable-javascript.html | ||
equella_cancel.html | ||
equella_success.html | ||
favicon.ico | ||
ie-is-not-supported.html | ||
inst-fs-sw.js | ||
loading_submission.html | ||
robots.txt | ||
simple_response.json |