canvas-lms/public
Chris Soto 0c098c997b add UI for importing rubrics and connects backend
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>
2024-08-29 14:24:06 +00:00
..
file_removed
fonts unify SpeedGrader text 2024-05-29 18:41:43 +00:00
images add UI for importing rubrics and connects backend 2024-08-29 14:24:06 +00:00
javascripts default to Rails 7.1 2024-06-26 21:25:35 +00:00
media_record
partials Update the Course Settings page to be responsive 2020-03-18 18:57:57 +00:00
422.html
500.html Add honeypot field to ticket form 2023-03-09 13:27:13 +00:00
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 Stop using google fonts on user-facing pages 2022-02-07 20:55:16 +00:00
inst-fs-sw.js remove “while(1);” json protection 2021-03-23 16:21:44 +00:00
loading_submission.html
robots.txt
simple_response.json