Repository navigation
chore(frontend, v1.2): remove unused operator icons of unknown origin - #9513
Merged
Merged
Conversation
Backport of apache#9269 to release/v1.2. The cherry-pick applies cleanly. (cherry picked from commit ae2203e)
Contributor
Automated Reviewer SuggestionsBased on the
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## release/v1.2 #9513 +/- ##
===============================================
Coverage 53.64% 53.65%
Complexity 2574 2574
===============================================
Files 1078 1078
Lines 42397 42397
Branches 4568 4568
===============================================
+ Hits 22743 22747 +4
+ Misses 18336 18328 -8
- Partials 1318 1322 +4
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
xuang7
pushed a commit
to xuang7/texera
that referenced
this pull request
Nov 20, 2026
…ct-made SVG (apache#9559) ### What changes were proposed in this PR? Backport of apache#9302 to `release/v1.2` for the 1.2.1 RC2. Source: fd85b9d Replaces `frontend/src/assets/card_background.jpg`, a stock image with no recorded source (TinEye matches it to a Shutterstock vector), with the project-made `card_background.svg` from apache#9302. The SVG carries the ASF license header, so no `LICENSE` entry is needed. The cherry-pick conflicted because the code that uses the cover image is different on v1.2: - `card-item.component.ts` doesn't exist on v1.2. On v1.2 the dashboard cover comes from `defaultCover` in `dataset-card-item.component.ts`, so that now points at the `.svg`. It shows the image through `<img>` with `object-fit: cover`, like the main component, so the SVG's `preserveAspectRatio="xMidYMid slice"` crops it the same way. - `browse-section.component.ts` (Hub): only `defaultBackground` changes to the `.svg`. v1.2's surrounding fields are kept. - `browse-section.component.spec.ts`: the conflicting hunk only contains tests that exist on main. The v1.2 spec doesn't reference the image, so the file is unchanged. After this change, nothing on the branch references `card_background.jpg`. ### Any related issues, documentation, discussions? Backport of apache#9302. Part of apache#8984. Independent of the apache#9220 (apache#9512) and apache#9269 (apache#9513) backports, which are already merged. ### How was this PR tested? ``` cd frontend yarn format:ci yarn lint yarn test --watch=false --include src/app/hub/component/browse-section/browse-section.component.spec.ts --include src/app/dashboard/component/user/dataset-card-item/dataset-card-item.component.spec.ts ``` All pass: 2 test files, 14 tests. ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Code (Claude Opus 5.5) Co-authored-by: Meng Wang <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What changes were proposed in this PR?
Backport of #9269 to
release/v1.2for the 1.2.1 RC2.Source: ae2203e
The cherry-pick applies cleanly. It deletes the same 36 files as #9269: 35 unused images in
frontend/src/assets/operator_images/andfrontend/src/favicon.ico.Any related issues, documentation, discussions?
Backport of #9269. Part of #8984. Independent of the #9220 backport (#9512): neither PR touches the other's files.
How was this PR tested?
The files were found unused on main, so I checked again on
release/v1.2:assets/operator_images/<operatorType>.png(joint-ui.service.ts). None of the deleted file names matches an operator type registered inLogicalOp.scalaon v1.2.git grepfinds no other reference to any deleted file outside the assets directory and the LICENSE files.index.htmlloads the favicons fromassets/logos/, notsrc/favicon.ico.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (Claude Opus 5.5)