canvas-lms/app/jsx/context_modules
Augusto Callejas 239eb7c7a3 Custom file rename messaging
closes LA-963

flag=module_dnd

test plan:
  - in an empty module, upload a file using the
    drag and drop area
  - after upload complete, attempt to upload the
    file again using the drop and drop area
  - confirm that the rename dialog doesn't mention
    "location" anymore
  - open the Add Item to Module dialog
  - select File -> "New Files(s)" and then attempt
    to upload the same file
  - confirm that the rename dialog mentions "folder"
    and not "location"
  - load the "Files" page on the same course
  - attempt to upload the same file again, both
    using the upload button and file drag and drop
  - confirm that the rename dialog mentions "file"
    instead of "item" and "folder" instead of "location"
  - repeat the above steps with a course associated with
    a blueprint course with files, so that the associated
    course has locked files
  - confirm that when attempting to upload a locked file
    that the messaging is not generic like:
    "A locked item named...". instead it should start
    with "A locked file named..."

Change-Id: I4752b6ae9b0cb8176f230f2d9ab49920c40af2d9
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/235297
Reviewed-by: Ed Schiebel <eschiebel@instructure.com>
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
QA-Review: Mark McDermott <mmcdermott@instructure.com>
Product-Review: Lauren Williams <lcwilliams@instructure.com>
2020-04-28 23:14:20 +00:00
..
__tests__ Custom file rename messaging 2020-04-28 23:14:20 +00:00
stores Run prettier on app/jsx/ from calendar to custom_help_link_settings 2019-10-08 16:32:28 +00:00
FileSelectBox.js Integrate UploadForm into module item select_content_dialog 2020-04-25 16:12:28 +00:00
ModuleFileDrop.js Custom file rename messaging 2020-04-28 23:14:20 +00:00
apiClient.js Custom file rename messaging 2020-04-28 23:14:20 +00:00