Repository navigation
Description
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) andModelDetailComponent(.versions-tab-contentandnz-layout). Both use Angular's defaultViewEncapsulation.Emulatedwith 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 > thand.ant-table,.condition-input-popup.fade-out,.ai-fix-field, and obsolete ng-zorro.ant-collapse-content-box), and delete the empty license-onlyhub.component.scssfile along with itsstyleUrlsreference inHubComponent. - Remove six unread
(res: Response)and(err: unknown)subscriber callback parameters inDatasetDetailComponent(onPublicStatusChange,onDownloadableStatusChange, andonPreviouslyUploadedFileDeleted). - Remove the unread
changes: SimpleChangesparameter and orphanedSimpleChangesimport inBrowseSectionComponent(ngOnChanges), along with two placeholder{} as anyarguments inbrowse-section.component.spec.ts. - Merge the duplicate import statement from
ui-udf-parameters-parser.serviceinUiUdfParametersComponentinto the existing import block.
Introduced by:
- Detail-page SCSS rules: Introduce Dataset GUI #2413 (2024-02-26), Display Dataset Size for Improved Usability #2927 (2024-10-14), feat(frontend): added clipboard icon to dataset detail page #4928 (2026-05-04), refactor(frontend): extract Data Card and Versions & Files tabs #7043 (2026-07-30), feat(dataset): add dataset contributor display and editing #6953 (2026-08-03), and feat(frontend): add the model detail page #8072 (2026-08-28).
- Other unused/inert SCSS rules and empty
hub.component.scss: Introduce execution snapshot #1634 (2022-10-04), Introduce Dataset GUI #2413 (2024-02-26), Make Property Editor and Minimap Panel Resizable, Draggable, and Collapsible #2435 (2024-03-17), Move execution history to left panel #2502 (2024-03-27), Execution panel format #2571 (2024-04-05), Fix Dashboard Folder Structure #2737 (2024-07-15), Moved General Search from the Sidebar to the Top Bar #2776 (2024-08-19), Modify the display method of Google login. #2878 (2024-09-27), Add Udon breakpoint UI - breakpoint-related operations #2953 (2024-10-25), Add ASF header and RAT CI #3415 (2025-05-03), feat: Add Python Virtual Environment Support: Creating a Virtual Environment #4484 (2026-05-01), and feat(frontend): add AI workflow fixer with LLM-powered diff panel #8637 (2026-10-28). - Unread parameters and duplicate import: Enable environment tab and file scan from files in environment #2515 (2024-03-27), Add FileService as a standalone microservice, LakeFS+S3 as dataset storage #3296 (2025-03-10), Improve Computing Unit Frontend #3363 (2025-04-10), feat: adding option to allow owner to disallow downloading datasets #3663 (2025-08-16), and feat(LakeFS-mount): name a model or dataset from a Python UDF parameter #6897 (2026-09-21, duplicating feat(frontend): add UDF parameters from the panel #7551 from 2026-08-13).
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 toVersionsFilesBrowserComponent. .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), whereng-zorro-antd21 emits.ant-collapse-bodyinstead.- 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
Metadata
Metadata
Assignees
Labels
No labels
Activity
aglinxinyuan commentedon Nov 23, 2026
/take
refactor(frontend): remove unused and inert SCSS rules
[-]Remove unused frontend detail styles, duplicate imports, and unread parameters[/-][+]Remove unused frontend styles, duplicate import, and unread parameters[/+]refactor(frontend): remove unused styles, import, and params (apache#…