NIN Detail View - Clicked issue resets to first result after long idle period (Chrome v149)

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Medium
    • Component/s: Space - List
    • None
    • 1
    • Severity 3 - Minor

      Issue Summary

      In the New Issue Navigator (Detail View), after the page is left idle for ~5–30 minutes, the first click on a search result is lost. The clicked issue resets to the first result in the list. Subsequent clicks work correctly.

      The first interaction after a long idle period causes the resource-router store to emit a new route/resource state. This re-renders router components at the top of the React tree (withRouter / RouterSubscriber), which unmounts and re-mounts the entire application subtree (~4,600–4,720 components). The re-mount rebuilds the Issue Navigator from the route state, and the issue the user just clicked is lost.

      The unmount/re-mount is expected behavior for state recovery after idle. However, the newly clicked issue should be remembered and restored after the re-mount.

      Steps to Reproduce

      1. Chrome v149
      2. Detail View (not List View)
      3. Project List route
      4. First issue or no issue explicitly selected in the search results
      5. Select an issue other than the first in search results
      6. Leave the browser tab idle/unfocused for ~5–30 minutes
      7. Return and click on any issue other than the first result.

      Expected Results

      The clicked issue should be displayed

      Actual Results

      The first issue in the list is displayed instead of the clicked one.

      Workaround

      Refresh the page (F5) before interacting with results after returning from an idle period, or click the search/refresh button to force a fresh search execution before selecting a result.

              Assignee:
              Unassigned
              Reporter:
              Souto
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: