Skip to content

chore(frontend, v1.2): remove unused operator icons of unknown origin - #9513

Merged
xuang7 merged 1 commit into
apache:release/v1.2from
CaroFernando:backport/9269-v1.2
Nov 18, 2026
Merged

xuang7 merged 1 commit into
apache:release/v1.2from
CaroFernando:backport/9269-v1.2

Conversation

@CaroFernando

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Backport of #9269 to release/v1.2 for 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/ and frontend/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:

  • The workflow editor loads an operator's icon as assets/operator_images/<operatorType>.png (joint-ui.service.ts). None of the deleted file names matches an operator type registered in LogicalOp.scala on v1.2.
  • git grep finds no other reference to any deleted file outside the assets directory and the LICENSE files. index.html loads the favicons from assets/logos/, not src/favicon.ico.
  • No code changes: the PR only deletes files.

Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Claude Opus 5.5)

Backport of apache#9269 to release/v1.2. The cherry-pick applies cleanly.

(cherry picked from commit ae2203e)
@github-actions github-actions Bot added the frontend Changes related to the frontend GUI label Nov 17, 2026
@github-actions

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

Based on the git blame history of the changed files, we recommend the following reviewers:

  • No candidates found from git blame history.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 53.65%. Comparing base (77bbfbf) to head (01f98ad).

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     
Flag Coverage Δ *Carryforward flag
access-control-service 64.35% <ø> (ø) Carriedforward from 77bbfbf
agent-service 38.97% <ø> (ø) Carriedforward from 77bbfbf
amber 53.92% <ø> (ø) Carriedforward from 77bbfbf
computing-unit-managing-service 1.65% <ø> (ø) Carriedforward from 77bbfbf
config-service 56.06% <ø> (ø) Carriedforward from 77bbfbf
file-service 61.72% <ø> (ø) Carriedforward from 77bbfbf
frontend 47.36% <ø> (+0.02%) ⬆️
pyamber 93.37% <ø> (ø) Carriedforward from 77bbfbf
python 90.93% <ø> (ø) Carriedforward from 77bbfbf
workflow-compiling-service 58.69% <ø> (ø) Carriedforward from 77bbfbf

*This pull request uses carry forward flags. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@xuang7 xuang7 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Same 36 deletions as #9269, and on release/v1.2 none of the file names matches a registered operator type or is referenced anywhere outside the assets directory.

@xuang7
xuang7 added this pull request to the merge queue Nov 18, 2026
Merged via the queue into apache:release/v1.2 with commit 5e1bfa6 Nov 18, 2026
20 checks passed
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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

frontend Changes related to the frontend GUI

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants