Skip to content

Remove unused frontend styles, duplicate import, and unread parameters #9643

Description

@aglinxinyuan

Task Summary

Remove unused and inert SCSS rules, an empty component stylesheet, unread callback and lifecycle parameters, and a duplicate module import across frontend/src without changing observable UI or runtime behavior:

  • Remove unmatched detail-page SCSS selectors in DatasetDetailComponent (.file-title, .file-size, .versions-tab-content, nz-layout, html, body, .grayed-out, .disabled-click, and .ant-collapse-content-box) and ModelDetailComponent (.versions-tab-content and nz-layout). Both use Angular's default ViewEncapsulation.Emulated with zero matching elements in their own templates.
  • Remove unused and inert SCSS rules across the dashboard, uploader, workflow execution history, breakpoint condition popup, AI-fix frame, and global stylesheet (#googleButton, .hidden, $dashboard-navigation-height, .uploaded-files-list, empty .file-uploader-banner, .dataset-menu-bar, emulated .ant-table-thead > tr > th and .ant-table, .condition-input-popup.fade-out, .ai-fix-field, and obsolete ng-zorro .ant-collapse-content-box), and delete the empty license-only hub.component.scss file along with its styleUrls reference in HubComponent.
  • Remove six unread (res: Response) and (err: unknown) subscriber callback parameters in DatasetDetailComponent (onPublicStatusChange, onDownloadableStatusChange, and onPreviouslyUploadedFileDeleted).
  • Remove the unread changes: SimpleChanges parameter and orphaned SimpleChanges import in BrowseSectionComponent (ngOnChanges), along with two placeholder {} as any arguments in browse-section.component.spec.ts.
  • Merge the duplicate import statement from ui-udf-parameters-parser.service in UiUdfParametersComponent into the existing import block.

Introduced by:

Usage removed by:

  • Detail-page version styles: refactor(frontend): extract shared VersionsFilesBrowser component #8942 (2026-10-10, refactor(frontend): extract shared VersionsFilesBrowser component) moved them to VersionsFilesBrowserComponent.
  • .ant-collapse-content-box: chore: upgrade ng-zorro-antd to 21.3.1 #5895 (2026-06-22, chore: upgrade ng-zorro-antd to 21.3.1), where ng-zorro-antd 21 emits .ant-collapse-body instead.
  • Remaining unmatched/emulated selectors, empty hub.component.scss, unread parameters, and duplicate import: unused or inert since introduction or prior dashboard/detail UI migrations.

This is a pure cleanup with no behavior change.

Task Type

  • Refactor / Cleanup

Activity

  1. aglinxinyuan commented on Nov 23, 2026

    @aglinxinyuan
    ContributorAuthor

    /take

  2. self-assigned this
    on Nov 23, 2026
  3. added a commit that references this issue on Nov 23, 2026
    ff6361f
  4. changed the title [-]Remove unused frontend detail styles, duplicate imports, and unread parameters[/-] [+]Remove unused frontend styles, duplicate import, and unread parameters[/+] on Nov 23, 2026
  5. added a commit that references this issue on Nov 25, 2026
    085d85a
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