Uploaded image for project: 'Nuxeo Drive '
  1. Nuxeo Drive
  2. NXDRIVE-2501

Fix the "Open remote" action on conflicted folderish documents

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 4.0.0
    • Fix Version/s: 5.0.0
    • Component/s: GUI
    • Release Notes Summary:
      Conflict "Open remote" button behavior changed
    • Release Notes Description:
      Hide

      When a conflict needs a manual action from the user, buttons are displayed. One to open the local file/folder ("Open local"), and one to open the local file/folder '"Open remote").

      The old "Open remote" behavior was actually initiating a Direct Edit on the document. This had several issues:

      1. For non-folderish documents, the file will be downloaded first; and for large files, this may be bad. Moreover, Drive cannot know if the user can actually open that file, so a potential problematic/large file will be downloaded but then the OS will fail to open it.
      2. For folderish documents, it never worked. The button was doing nothing but generating an error in the logs.

      The new behavior is as simple as opening the document on Web-UI. If the user wants to open it with Direct Edit, one will be able to leverage the Direct Edit button from Web-UI: clearer concerns and potential saving of (large) resources.

      Show
      When a conflict needs a manual action from the user, buttons are displayed. One to open the local file/folder ("Open local"), and one to open the local file/folder '"Open remote"). The old "Open remote" behavior was actually initiating a Direct Edit on the document. This had several issues: For non-folderish documents, the file will be downloaded first; and for large files, this may be bad. Moreover, Drive cannot know if the user can actually open that file, so a potential problematic/large file will be downloaded but then the OS will fail to open it. For folderish documents, it never worked. The button was doing nothing but generating an error in the logs. The new behavior is as simple as opening the document on Web-UI. If the user wants to open it with Direct Edit, one will be able to leverage the Direct Edit button from Web-UI: clearer concerns and potential saving of (large) resources.
    • Tags:

      Description

      Scenario

      • Sync a folder.
      • Quit Drive.
      • Rename locally and remotely the folder with different names.
      • Start Drive.
      • A conflict is detected and an action is required from the user.

      On the conflicts/errors window, there are 2 links to open the local folder/folder and the remote document; and a button to choose one or the other to overwrite the local or remote doc).
      The second link, "Open remote", will never worked with folerish documents as it is using Direct Edit to open it.

      Expected Behavior

      Maybe "Open remote" should only open the browser at the document page instead of relying on Direct Edit.

      For non-folderish documents, if may not be the good thing to open the file locally as it will be downloaded first; and for large files, this may be very bad. Moreover, we do not know if the user can actually open that file, so a potential problematic/large file will be downloaded but then the OS will fail to open it.

      If the user wants to open it with Direct Edit, one will be able to leverage the Direct Edit button from Web-UI: clearer concerns and potential saving of (large) resources.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                mschoentgen Mickaël Schoentgen
                Reporter:
                mschoentgen Mickaël Schoentgen
                Participants:
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 10 minutes
                  10m

                    PagerDuty

                    Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.