Uploaded image for project: 'stripes-components'
  1. stripes-components
  2. STCOM-438

Support a file-upload component on any New/Edit Detail Record

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Closed (View Workflow)
    • Priority: P3
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: 5.4.0
    • Labels:
      None
    • Template:
    • Story Points:
      13
    • Development Team:
      Stripes Force

      Description

      As a librarian
      I want to attach documents to a record in Folio
      So that I can have easy access to important information

      General File-upload Component Requirements

      • Create a component that allows a user to upload a file and attach that file a record
      • Component may be available on New Detail Record
      • Component may be available on Edit Detail Record
      • On View record allow user to click title link to allow a user to view file
      • Component must allow an app developer to choose supported formats/extenstions (assume Folijet has a master list of potential formats/extensions we can use OR we can locate a list)
      • Component must allow an app developer to choose whether to allow a user
        • to update file name
        • add note
      • Component must allow an app developer to choose to display upload time.
      • Component must allow an app developer to choose default sort order
      • Component must allow an app developer to choose to display file size
      • Assume that each app will store files attached to applicable app record
      • Setup the following permissions
        • Upload a file
        • Download a file

      UI Design

      Key File-upload component requirements

      • Upload a file via drag/drop
      • Upload a file by choosing a file on your computer
      • Indicate upload progress and completion
      • Indicate upload errors
      • Download a file by clicking file name
      • Delete a file
      • Stop the deletion of a file also known as a soft delete
      • Display date + time stamp
      • Sort order (default - date + time stamp descending order)
      • Allow user to add/edit a note (Note character limit = TBD)
      • Allow user to edit file name (File name character limit = TBD)
      • Allow user to sort columns
      • Support unlimited number of file uploads
      • File size limit (TBD)

      Acceptance Criteria

      Given I am on an Edit Detail Record
      WHEN I drag/drop or choose a file
      THEN display upload progress and completion status

      Given I am uploading a file
      WHEN the completion status = Successful
      Then on the list of uploaded files, display a new row with the file name, date + time stamp + note field based on current sort order

      Given I am uploading a file
      WHEN the completion status = Failed
      Then display applicable message (most likely the same as what Folijet shows with data import)

      Given I am uploading a file
      When the upload is just stuck after an unreasonable amount of time
      Then display applicable message (most likely the same as what Folijet shows with data import)

      Given I am on the list of uploads
      When I click the delete option for a file
      Then allow me a brief amount of time to stop the delete
      AND if I do not stop the delete then continue with deletion

      If a file has been uploaded then

      • a row should display the file name.extension | date + time stamp | note
      • and sorted based on current sort order

      Given I uploaded a file
      When the file name is the same as a file name that has already been uploaded to this record
      Then append (1) to the filename

      If I click on th file name on Edit/View detail record
      then download the file

      Given I edit the filename to [contract2019.xls]
      When I save the file
      Then contract2019.xls is the saved filename

      Given I edit the filename to [contract2019]
      AND do not specify an extension
      When I save the file
      Then contract2019 is the saved filename

        TestRail: Results

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned Unassigned
                Reporter:
                kgambrell Khalilah Gambrell
                Votes:
                4 Vote for this issue
                Watchers:
                10 Start watching this issue

                  Dates

                  Created:
                  Updated:
                  Resolved:

                    TestRail: Runs

                      TestRail: Cases