Uploaded image for project: 'Nuxeo Web UI'
  1. Nuxeo Web UI
  2. WEBUI-258

Trigger only 1 navigate when clicking on *the row* of a search result

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Not A Bug
    • Affects Version/s: 10.10
    • Fix Version/s: None
    • Component/s: Web UI

      Description

      Steps to reproduce:

      1. Go to the default search
      2. choose a criteria and display the result
      3. open the Developer tools, go to the Network tab and filter on XHR requests only
      4. click on the row of a document among the results, not the doc title but really the result row
      5. in the Network tab, filter on the name of the document

      You should see 3 requests :

      • 2 almost identical which correspond to a navigation
      • 1 whose response is lighter and corresponds to information displayed in the page

      So when I click on a document in the Search results, I see 2 "navigate"s with this call stak:

      • row click > _navigate > fire event > navigate from nuxeo-app > page
      • row click > _navigate > fire event > _navigateFromSearch (nuxeo-results-views) > .... > page

      Is it normal that "_navigateFromSearch" routes to the document too and generate the second "navigation" request

        Attachments

        1. firstNav.png
          firstNav.png
          1.03 MB
        2. Peek 2021-02-22 14-38.webm
          225 kB
        3. secondNav.png
          secondNav.png
          1.30 MB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 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 - 2 hours, 45 minutes
                  2h 45m