/claim #35898 Resolves #35898
1. Add search functionality to tree view
Added file search to repo view using existing searchfilterRepoFilesWeighted, with new modal to display the search results. User can navigate through search results using keyboard to scroll, select and escape the search on top of using mouse. No matches found notice when no results are found. Replacing the existing FindFiles page.
https://github.com/user-attachments/assets/df75409e-9a4c-474b-9c9c-d16a44dce896
2. Add backend functionality to delete directory
Modified the DeleteFilePost endpoint and related services to also allow for deletion of whole directories to support the “Delete directory” menu option added to the context menu.
3. Add context menu for directories with functionality to copy permalink & delete a directory
Added context menu for “Copy Permalink” & “Delete directory” supported by backend change listed above.
https://github.com/user-attachments/assets/cb77d1e2-5c15-470c-b693-ecfc7719dea5
4. Move Add/Upload file dropdown to right for parity with Github UI
Minor change to move this option to the right since already existed.
5. Add tree view to the edit/upload & patch UI
Bryan Mutai
@brymut
Gitea
@go-gitea