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

   ### Task Summary
   Remove unused detail-page SCSS selectors, unread callback and lifecycle 
parameters, and a duplicate import across `frontend/src` without changing 
observable UI or runtime behavior:
   
   - Remove orphaned `.file-title`, `.file-size`, and `.versions-tab-content` 
selectors from `DatasetDetailComponent` SCSS and `.versions-tab-content` from 
`ModelDetailComponent` SCSS (both components use Angular's default 
`ViewEncapsulation.Emulated` with zero matching elements in their own 
templates).
   - 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:**
   - `.file-title` / `.file-size` / `.versions-tab-content`: #2927 
(2024-10-14), #4928 (2026-05-04), #7043 (2026-07-30), and #8072 (2026-08-28).
   - Unread callback parameters in `DatasetDetailComponent`: #2515 
(2024-03-27), #3296 (2025-03-10), and #3663 (2025-08-16).
   - Unread `changes: SimpleChanges` in `BrowseSectionComponent`: #3363 
(2025-04-10).
   - Duplicate import in `UiUdfParametersComponent`: #6897 (2026-09-21), 
duplicating #7551 (2026-08-13).
   
   **Usage removed by:**
   - Detail-page SCSS selectors: #8942 (2026-10-10, `refactor(frontend): 
extract shared VersionsFilesBrowser component`) moved those template classes 
and rules to `VersionsFilesBrowserComponent`.
   - Unread parameters and duplicate import: never used since introduction.
   
   This is a pure cleanup with no behavior 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