As in https://wiki.mozilla.org/DXR_UI_Refresh#Search_Results, add a label above the search results, something like "Results from the __<tree name>__ tree:", linking <tree name> to a file-browsing view of the root of the tree. If the number of results is available to the template, which I don't think it is, add that too. This link gives the user an escape hatch back to the root in one click rather than two (some search result's dir and then the breadcrumb from there) and reinforces that the results are in fact scoped to the tree selected above.
Assignee: nobody → schalk.neethling.bugs
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Last Resolved: 4 years ago
Resolution: --- → FIXED
Commits pushed to master at https://github.com/mozilla/dxr https://github.com/mozilla/dxr/commit/c288af022fa66a0cb6f6c3839b95d4835bfc86a5 Fixes Bug 938880, added top of tree link https://github.com/mozilla/dxr/commit/255f0203d2c4e78716ea597a2f6eeca850bd68c5 Merge branch 'bug938880-add-top-of-tree-link-above-results' into ui Conflicts: dxr/static/js/dxr.js dxr/templates/layout.html
You need to log in before you can comment on or make changes to this bug.