aglinxinyuan opened a new issue, #8692:
URL: https://github.com/apache/texera/issues/8692

   ### Task Summary
   
   The frontend still carries the type layer for "user files", a dashboard 
entry kind the backend stopped serving two years ago.
   
   **Introduced by** #756 (2020-05-26, "User System File Uploading"), which 
added `UserFile`. Later work wired files into the dashboard: `DashboardFile` 
came in #1251 (2021-08-05), and the unified-search and `DashboardEntry` file 
branches in #1966 / #1982 (June 2023).
   
   **Usage removed by** #2781 (2024-08-20, "Remove File-Related Components"). 
It deleted `UserFileResource`, `UserFileAccessResource`, the file search query 
builder, and the user-file components. The dashboard search backend now returns 
only workflow, dataset and model results, and `DashboardResource` throws on any 
other type. No file entry can reach the frontend.
   
   The following remain:
   
   - `DashboardFile`, `UserFile` and a duplicate `SortMethod` enum in 
`dashboard-file.interface.ts`. The live `SortMethod` is in `sort-method.ts`.
   - `isDashboardFile`, the file branch and `file` getter of `DashboardEntry`, 
and `SearchResultItem.file` with its two unreachable readers.
   - `FileResourceDescriptor`, which #8068 (2026-08-28) registered in the new 
resource registry for a kind that could no longer appear.
   - `EntityType.File`, which nothing live uses.
   - `"file"` in the search resource-type unions, which the backend rejects.
   
   This is a pure deletion with no behaviour change.
   
   ### Task Type
   
   - [x] Refactor / Cleanup
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to