aglinxinyuan opened a new pull request, #9069: URL: https://github.com/apache/texera/pull/9069
### What changes were proposed in this PR? Removes three rules from the hub landing page's stylesheet that style nothing: `.search-bar`, `.section-intro-img` and `.browse-section`. **−15 lines.** There is no behaviour change. The component uses emulated encapsulation, so these rules can only match its own template. That template uses only `landing-page-container`, `section-intro` and `section-intro-text`, and has no class bindings or projected content. The browse sections are `<texera-browse-section>` elements, which the `.browse-section` class selector doesn't match. The rules for the intro block and its text stay. ### History | | | | --- | --- | | **Introduced by** | #2928 (2024-10-29), "Add landing page", with all three rules | | **Usage removed by** | #4134 (2026-01-14), "fix: restore proper license headers for third-party code", removed the `<img class="section-intro-img">` hub icon. `.search-bar` and `.browse-section` were **never used**: no version of the template has had either class | `.search-bar` and `.browse-section` have never applied in the two years since they were added; `.section-intro-img` has been dead for nine months. ### Any related issues, documentation, discussions? Closes #9066 ### How was this PR tested? No new tests; no spec referenced these classes. From `frontend/`: - `npx ng test --watch=false --include='**/landing-page.component.spec.ts'`: 17 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) -- 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]
