Skip to content

Remove dead admin user-file endpoint clients #9083

Closed

Description

@aglinxinyuan

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:

This is a pure deletion with no behaviour change.

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Oct 22, 2026
  2. added a commit that references this issue on Oct 24, 2026
    caea036
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions