aglinxinyuan opened a new pull request, #9538:
URL: https://github.com/apache/texera/pull/9538

   ### What changes were proposed in this PR?
   
   Remove unused imports, redundant standalone module imports, dead helper/stub 
methods, unmatched SCSS rules, unused template refs, and unread 
component/service fields across the Angular frontend with no observable UI or 
runtime behavior change:
   
   - **User/auth services and test stubs:** Remove unused `GuiConfigService` 
injection in `AuthGuardService`, unused `HttpClient` injection and 
`AppSettings` import in `UserService`, unused `Input` import in 
`RegistrationRequestModalComponent`, and dead 
`checkAffiliation`/`updateAffiliation` methods on `StubUserService`.
   - **Dashboard search, unread state, and dataset helpers:** Remove unused 
`#searchInput` template references in `SearchBarComponent`, 
`UserDatasetComponent`, and `UserModelComponent`, unmatched 
`.nz-input-group`/`.nz-prefix-icon` SCSS rules in `SearchBarComponent`, unused 
`getUid()` and `UserService` injection in `SearchResultsComponent` (with its 
`getUid`-only unit tests), unread `isLogin`/`currentUid` state and 
`UserService` subscription in `UserComputingUnitComponent` (with its paired 
unit test), unread `isLogin` in `LandingPageComponent` (retaining `currentUid` 
and its assertions), unread `map` in `MiniMapComponent`, unread 
`coeditorStates` in `CoeditorPresenceService`, unread `viewPort` `@ViewChild` 
in `ConsoleFrameComponent`, unused `DICT_PREFIX` and `of` import in 
`PresetService`, and spec-only `getPathsUnderOrEqualDatasetFileNode` (with its 
unit tests).
   - **Standalone and duplicate imports:** Remove redundant `FormsModule` 
standalone imports alongside `ReactiveFormsModule` in `AdminGmailComponent` 
(and its spec), `DatasetFileSelectorComponent`, 
`DatasetVersionSelectorComponent`, `SettingsComponent`, and 
`PortPropertyEditFrameComponent`, unused `NzTooltipModule` in 
`HubSearchResultComponent`, unused `NzButtonModule` in 
`JupyterNotebookPanelComponent`, and duplicate module imports in 
`WarehouseActionsService`, `UserDatasetFileRendererComponent`, and 
`UiUdfParametersParserService`.
   
   ### Any related issues, documentation, discussions?
   
   Closes #9537.
   
   ### How was this PR tested?
   
   Ran in `frontend/` on `fc0129bcfa` (Node 24, `node 
.yarn/releases/yarn-4.14.1.cjs install --immutable --inline-builds`):
   
   ```bash
   node .yarn/releases/yarn-4.14.1.cjs format:ci
   node .yarn/releases/yarn-4.14.1.cjs exec tsc -p src/tsconfig.app.json 
--noEmit
   node .yarn/releases/yarn-4.14.1.cjs exec tsc -p src/tsconfig.spec.json 
--noEmit
   node .yarn/releases/yarn-4.14.1.cjs build
   node .yarn/releases/yarn-4.14.1.cjs test
   ```
   
   - `format:ci` (`prettier-eslint --list-different` and `eslint ./src`): 
passed.
   - `tsc --noEmit` (`src/tsconfig.app.json` and `src/tsconfig.spec.json`): 
passed.
   - `build` (production Angular AOT build): passed.
   - `test` (Vitest): `255` suites passed (`7,379` passed, `0` failed, `1` 
pre-existing skipped in untouched 
`operator-property-edit-frame.component.spec.ts`).
   
   ### Was this PR authored or co-authored using generative AI tooling?
   
   Generated-by: Antigravity (Gemini 4 Neon)
   


-- 
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