Uploaded image for project: 'Apps Development Framework'
  1. Apps Development Framework
  2. ADF-1578

Description of search result page for (nodeDbClick) event is wrong

    Details

    • Type: Task
    • Status: Done (View Workflow)
    • Priority: Unprioritized
    • Resolution: Resolved
    • Affects Version/s: 1.8.0
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      The ng2-alfresco-search component that is described here: https://github.com/Alfresco/alfresco-ng2-components/tree/master/ng2-components/ng2-alfresco-search#events-1

      has the following description for nodeDbClick event:

      "Emitted when user acts upon files or folders with double click only when navigation-mode is set to false, giving more freedom then just simply previewing the file"

      should change to something like this:

      "Emitted when a user acts upon files or folders with double click and wants to execute some other functionality than the default preview. This only works when the [navigate] property is set to 'false' and when the (nodeDbClick) event handler is implemented in the component"

      Sample template:

      <adf-search
       [maxResults]="20"
       [navigate]="false"
       [navigationMode]="'dblclick'"
       (nodeDbClick)="showDetails($event)">
      </adf-search>

      Sample component code:

      showDetails(event) {
       const nodeEntry: MinimalNodeEntryEntity = event.value.entry;
       this.router.navigate(['/repository/details', nodeEntry.id]);
      }

        TestRail: Results

          Attachments

            Structure

              Activity

                People

                • Assignee:
                  cjalba Cristina Jalba
                  Reporter:
                  mbergljung Martin Bergljung
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    TestRail: Runs

                      TestRail: Cases

                        Structure Helper Panel