Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2648

Implement Delete Function (DropDown Menu)

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Task: Implement a right-click menu option to delete a file or folder. Include a confirmation check when deleting a file or folder.

      Note: Deleting folders seems to be slow. Once user has clicked to confirm that they want to delete a folder lock the main window for 10 seconds (similar to cut/paste) before refreshing main window.

        Attachments

          Activity

          Hide
          karthik Karthik Raveendran added a comment -

          The delete function was taking more than 10seconds in some cases so I added an alert box instead to let the user know about the delay.

          Show
          karthik Karthik Raveendran added a comment - The delete function was taking more than 10seconds in some cases so I added an alert box instead to let the user know about the delay.
          Show
          nfreese Nowlan Freese added a comment - Merged https://bitbucket.org/nfreese/django-cyversedev/pull-requests/210/igbf-2648-implemented-delete-file-folder
          Show
          nfreese Nowlan Freese added a comment - Merged https://bitbucket.org/nfreese/django-cyversedev/pull-requests/211/igbf-2648-add-the-new-files-to-git
          Hide
          nfreese Nowlan Freese added a comment -

          Couple of changes:
          1) Needs to have a confirmation box asking the user if they are sure they would like to delete the file/folder (similar to Google Drive). Needs to include the option to cancel.
          2) It looks like the call to delete is submitted as soon as the user clicks Delete. Clicking "Ok, thanks" then causes a page refresh. Assuming changes to 1 above, when the user clicks to confirm delete, lock the page for 5 seconds before refreshing the page. Can put a spinning icon in the confirm button that spins for 5 seconds before refreshing the page. This would be similar to renaming a file/folder.
          3) Change the wording regarding the folders to: "Folders may take several minutes to be deleted."

          Show
          nfreese Nowlan Freese added a comment - Couple of changes: 1) Needs to have a confirmation box asking the user if they are sure they would like to delete the file/folder (similar to Google Drive). Needs to include the option to cancel. 2) It looks like the call to delete is submitted as soon as the user clicks Delete. Clicking "Ok, thanks" then causes a page refresh. Assuming changes to 1 above, when the user clicks to confirm delete, lock the page for 5 seconds before refreshing the page. Can put a spinning icon in the confirm button that spins for 5 seconds before refreshing the page. This would be similar to renaming a file/folder. 3) Change the wording regarding the folders to: "Folders may take several minutes to be deleted."
          Show
          nfreese Nowlan Freese added a comment - Merged: https://bitbucket.org/nfreese/django-cyversedev/pull-requests/213/igbf-2648-add-warning-and-10sec-delay
          Hide
          nfreese Nowlan Freese added a comment -

          Last change:
          1) If the user clicks to delete file/folder and then clicks No in the confirmation box, need to ungray the file/folder.

          Show
          nfreese Nowlan Freese added a comment - Last change: 1) If the user clicks to delete file/folder and then clicks No in the confirmation box, need to ungray the file/folder.
          Show
          nfreese Nowlan Freese added a comment - Merged https://bitbucket.org/nfreese/django-cyversedev/pull-requests/214/igbf-2648-fix-row-greying-out-issue
          Hide
          nfreese Nowlan Freese added a comment -

          Closing issue.

          Show
          nfreese Nowlan Freese added a comment - Closing issue.

            People

            • Assignee:
              karthik Karthik Raveendran
              Reporter:
              karthik Karthik Raveendran
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: