Skip to content

Remove dead code from the dataset version creator #9067

Closed

Description

@aglinxinyuan

Task Summary

UserDatasetVersionCreatorComponent (frontend/src/app/dashboard/component/user/user-dataset/user-dataset-explorer/user-dataset-version-creator/) carries four pieces of dead code:

  • isCreateButtonDisabled: never written, so it is always false; its only read is the [disabled]="isCreateButtonDisabled || isCreating" operand.
  • The injected formBuilder: FormBuilder, which nothing reads.
  • The .file-uploader style: no element in this template has had the class since the uploader moved out.
  • The .toggle-item .help-text style: no element in this template has ever had that class.

Introduced by #2413 (2024-02-27, "Introduce Dataset GUI"): isCreateButtonDisabled, formBuilder and .file-uploader. #3663 (2025-08-17, "feat: adding option to allow owner to disallow downloading datasets"): .help-text.

Usage removed by:

This is a pure deletion with no behaviour change: [disabled]="false || isCreating" is [disabled]="isCreating".

Task Type

  • Refactor / Cleanup

Activity

  1. self-assigned this
    on Oct 21, 2026
  2. added a commit that references this issue on Oct 24, 2026
    c7b4880
  3. added a commit that references this issue on Oct 26, 2026
    2467a07
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