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

   ### Task Summary
   Remove unused production code, standalone Angular module imports, duplicate 
imports, dead helper methods, and unread state fields across `frontend/src/app` 
without changing observable UI or runtime behavior:
   
   - **User/auth services & stubs:** remove unused `GuiConfigService` injection 
in `AuthGuardService`, unused `HttpClient`/`AppSettings` in `UserService`, 
unused `Input` import in `RegistrationRequestModalComponent`, and dead 
`checkAffiliation`/`updateAffiliation` methods on `StubUserService`.
   - **Dashboard search, unread state & dataset helpers:** remove unused 
`#searchInput` template refs, unmatched `.nz-input-group`/`.nz-prefix-icon` 
rules in `search-bar.component.scss`, dead `SearchResultsComponent.getUid()`, 
unread `isLogin`/`currentUid` state and dead `UserService` subscription in 
`UserComputingUnitComponent`, unread `isLogin` in `LandingPageComponent`, 
unread `map` in `MiniMapComponent`, unread `coeditorStates` in 
`CoeditorPresenceService`, unread `viewPort` query in `ConsoleFrameComponent`, 
unused `DICT_PREFIX`/`of` in `PresetService`, and spec-only 
`getPathsUnderOrEqualDatasetFileNode` in `datasetVersionFileTree.ts` (with its 
unit tests).
   - **Standalone component & duplicate imports:** remove redundant 
`FormsModule` (where templates use `ReactiveFormsModule` only), unused 
`NzTooltipModule` (`HubSearchResultComponent`), unused `NzButtonModule` 
(`JupyterNotebookPanelComponent`), and duplicate module imports in 
`WarehouseActionsService`, `UserDatasetFileRendererComponent`, and 
`UiUdfParametersParserService`.
   
   ### 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