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

   ### Task Summary
   
   `AdminUserService` 
(`frontend/src/app/dashboard/service/admin/user/admin-user.service.ts`) still 
has clients for admin endpoints that don't exist. No production code calls any 
of them:
   
   - `getUploadedFiles(uid)` / `USER_CREATED_FILES` 
(`/admin/user/uploaded_files`)
   - `getAccessFiles(uid)` / `USER_ACCESS_FILES` (`/admin/user/access_files`)
   - `USER_UPLOADED_DATASE_SIZE` (`/admin/user/dataset_size`)
   - `USER_UPLOADED_DATASET_COUNT` (`/admin/user/uploaded_dataset`)
   
   Only `admin-user.service.spec.ts` uses the two methods; the last two 
constants have no references at all. None of the four paths is served by the 
backend.
   
   **Introduced by** #2194 (2023-10-29, "User quota dashboard frontend"): the 
file clients. #2615 (2024-05-08, "Add Dataset-related statistics to Quota 
Dashboard"): the dataset constants.
   
   **Usage removed by:**
   
   - File clients: #2781 (2024-08-20, "Remove File-Related Components") removed 
their callers and backend endpoints.
   - Dataset constants: #2680 (2024-07-23, "Adding quota statisitc 
visualization") removed their readers. The backend never served either path 
under `/admin/user`.
   
   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