Skip to content

search: implement Recent Files homepage panel

Administrator requested to merge julip/13423-recentfiles into main

Created by: limitedmage

Fixes #13423

  • Adds event logging details when ViewBlob is logged to also log the repo name and file path. This required a bit of refactoring of trackPageView and logViewEvent
  • Populates the Recent Files panel with data based on the ViewBlob event. Each file is only shown once and files without the new data from the ViewBlob event are not shown. Panel supports pagination via a "Show More" button.
  • Refactored the data fetching from the Recent Searches panel to also work fo the Recent Files panel, as the data queried is the same except for the event type.

image

image

image

image

Merge request reports

Loading