Recursively load directories/pages in FTB

What does this MR do and why?

Recursively loads the directories/pages if the current dir/file is not on page 1 of the paginated response.

References

Screenshots or screen recordings

Before After
Does not load next page to show current file Auto-loads next page to show current file
Screenshot_2025-09-09_at_13.39.46 Screenshot_2025-09-09_at_13.40.19

How to set up and validate locally

  1. Enable the repository_file_tree_browser feature flag
  2. Navigate a repository/directory containing many files
  3. Refresh the page (ensuring you're on a directory/file that is not on page 1 of the paginated response)
  4. The data for the current dir/file should be displayed in the file tree browser

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #550196 (closed)

Edited by Jacques Erasmus

Merge request reports

Loading