The GitHub Actions job "Required Checks" on texera.git/gh-readonly-queue/main/pr-9027-b76f51695f35fe57048b1b99703e0f1295b699da has succeeded. Run started by GitHub user aglinxinyuan (triggered by aglinxinyuan).
Head commit for run: 65bc706e33314f1cc625dc0f7cb3ce81b885fe6e / Xinyuan Lin <[email protected]> refactor(frontend): remove the dead admin Gmail stylesheet (#9027) ### What changes were proposed in this PR? Deletes `admin-gmail.component.scss` and its `styleUrls` entry in `admin-gmail.component.ts`. **−27 lines.** There is no behaviour change. The stylesheet's only rule is `.form { ... }`. The component uses emulated encapsulation, so the rule can only match an element in its own template, and that template has no element with class `form`. The `<form nz-form>` element doesn't match: `.form` is a class selector, and `NzFormDirective` adds only `ant-form*` classes. Nothing else references the file (`angular.json` styles, `@use`, `@import`). With no styles left, Angular compiles the component without view emulation, so the rendered DOM only loses the generated `_ngcontent` attributes. ### History | | | | --- | --- | | **Introduced by** | #2027 (2023-10-11), "Introduce Email Notification System". It copied `.form` from the login stylesheet into the new component | | **Usage removed by** | **never used**. No version of the Gmail template has had a `form` class | It has never applied, in the three years since it was added. ### Any related issues, documentation, discussions? Closes #9024 ### How was this PR tested? No new tests; the spec never referenced the stylesheet. >From `frontend/`: - `npx ng test --watch=false --include='**/admin-gmail.component.spec.ts'`: 10 tests, all pass. No other spec renders the component. - `yarn format:ci`: clean. - `npx ng build`: success. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5) 🤖 Generated with [Claude Code](https://claude.com/claude-code) Report URL: https://github.com/apache/texera/actions/runs/39554236958 With regards, GitHub Actions via GitBox
