Skip to content

fix(licensing): replace the stock operator icons and list the ASF logos in LICENSE - #9261

Merged
mengw15 merged 2 commits into
apache:mainfrom
CaroFernando:feat/icons-known-bad
Nov 3, 2026
Merged

mengw15 merged 2 commits into
apache:mainfrom
CaroFernando:feat/icons-known-bad

Conversation

@CaroFernando

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Three operator icons came from sources whose licences are incompatible with an Apache release, so they can't be covered by DISCLAIMER-WIP and must be replaced before RC1 (#8984). This PR replaces them the same way as #9220, and fixes two smaller items from the same audit.

File Was Now Licence
SankeyDiagram.png Adobe Stock asset (per its embedded metadata) IBM Carbon sankey-diagram--alt (@carbon/icons 11.91.0) Apache-2.0
DumbbellPlot.png Freepik icon (#2149) Project-made: drawn dumbbell plot (lines with an open start and a filled end dot) —
TypeCasting.png Noun Project icon, author never recorded (#929) IBM Carbon transform--binary (@carbon/icons 11.91.0) Apache-2.0
SklearnDummyClassifier.png, SklearnTrainingDummyClassifier.png (new) No icon: the existing SklearnDummy*.png files match no operator type, so these operators showed a broken image Project-made: typographic "Dummy" in Aileron (CC0 1.0), like the "P(A)" and "PA" icons in #9220 —
image

LICENSE. The two Carbon icons are added to the existing Carbon operator-icon entry in LICENSE and frontend/LICENSE-binary; project-made icons get no entry. The PNGs are 256×256 and record their source, licence and copyright in PNG text metadata (exiftool -Comment <file>), as in #9220.

Apache Arrow and AsterixDB logos. ArrowSource.png and AsterixDBSource.png are byte-identical to the official logos in apache/arrow-site and apache/asterixdb-site (same git blob hash). This adds an entry for them with a trademark note. It records their provenance for the audit; strictly, bundled ASF works need no LICENSE entry, so I'm happy to drop it if reviewers prefer.

Any related issues, documentation, discussions?

Part of #8984 (follows #9220). Related: #8800, #2149, #929.

The icons that no operator uses (including SklearnDummy*.png, HdfsFileScan.png and src/favicon.ico) are left for a separate PR, pending the decision on #8984.

Backport: the five icon files are identical on release/v1.3, and both dummy-classifier operators exist there. LICENSE has one trivial conflict on release/v1.3 (it has no ORCID entry next to the new block), so the backport may need to be done by hand.

How was this PR tested?

Asset and LICENSE change only, no code change.

  • Previewed every icon at the 35 px size the workflow canvas draws them at (see the before/after image).
  • Checked that the third-party files are listed in both LICENSE and frontend/LICENSE-binary and the project-made ones are not.
  • Checked the PNG notices: exiftool -s -Comment frontend/src/assets/operator_images/{SankeyDiagram,DumbbellPlot,TypeCasting,SklearnDummyClassifier}.png.
  • Checked the Arrow and AsterixDB logos against the upstream files: git hash-object matches the blobs in apache/arrow-site and apache/asterixdb-site.
  • License header check, as in check-header.yml: license-eye -c .licenserc.yaml header check reports 0 invalid files.

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

Generated-by: Claude Code (claude-opus-5-5)

No image-generation model was used. Claude Code was used to search the icon sets, render the SVGs to PNG, draw the project-made icons from simple shapes and text, and write the LICENSE entries; every icon was chosen by the author.

…os in LICENSE

Part of apache#8984. Three operator icons came from sources whose licences
are incompatible with an Apache release:

- SankeyDiagram.png was an Adobe Stock asset (per its embedded metadata);
  replaced with IBM Carbon 'sankey-diagram--alt' (Apache-2.0).
- DumbbellPlot.png was a Freepik icon (apache#2149); replaced with a
  project-drawn dumbbell plot (lines with an open start and a filled end dot).
- TypeCasting.png was a Noun Project icon whose author was never recorded
  (apache#929); replaced with IBM Carbon 'transform--binary' (Apache-2.0).

Also:

- Add icons for SklearnDummyClassifier and SklearnTrainingDummyClassifier,
  which had none (the existing SklearnDummy*.png files match no operator
  type): a project-made typographic "Dummy" in Aileron (CC0), in the
  style of the other typographic sklearn icons.
- List the Apache Arrow and Apache AsterixDB logos (ArrowSource.png,
  AsterixDBSource.png) in LICENSE and frontend/LICENSE-binary.

The Carbon icons are added to the existing Carbon operator-icon entry.
Icons are 256x256 PNGs with the source, licence and copyright embedded
as PNG text chunks, like the icons replaced in apache#9220.

Generated-by: Claude Code (claude-opus-5-5)
@github-actions github-actions Bot added feature frontend Changes related to the frontend GUI docs Changes related to documentations labels Nov 2, 2026
@Yicong-Huang Yicong-Huang added release/v1.3 back porting to release/v1.3 release/v1.2 back porting to release/v1.2 labels Nov 2, 2026
@github-actions
github-actions Bot requested review from mengw15 and xuang7 November 2, 2026 20:56
@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Backport auto-label report

This fix: PR was checked against each actively-supported release branch. A release/* label nominates a backport target; the branch's release manager approving this PR is what sends the fix there. The required Backport Approvals check stays red until every label below is approved, so each manager either approves or removes their own label — which is why the labels left on a merged PR are exactly the branches it reached.

Release branch Analysis
✅ release/v1.3 Change detected on this branch — label added; this fix is queued to backport here. @mengw15 decides: approving sends the fix here, removing this label declines it. The merge waits on one or the other. Review requested.
✅ release/v1.2 Change detected on this branch — label added; this fix is queued to backport here. @xuang7 decides: approving sends the fix here, removing this label declines it. The merge waits on one or the other. Review requested.

Auto-label run.

@github-actions

github-actions Bot commented Nov 2, 2026

Copy link
Copy Markdown
Contributor

Automated Reviewer Suggestions

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

  • Contributors with relevant context: @bobbai00, @dgeyfman, @bihaox
    You can notify them by mentioning @bobbai00, @dgeyfman, @bihaox in a comment.

@codecov-commenter

codecov-commenter commented Nov 2, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.17%. Comparing base (05c19a4) to head (ec1307b).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff              @@
##               main    #9261      +/-   ##
============================================
- Coverage     92.17%   92.17%   -0.01%     
  Complexity     5043     5043              
============================================
  Files          1287     1287              
  Lines         55799    55775      -24     
  Branches       7144     7139       -5     
============================================
- Hits          51434    51411      -23     
  Misses         2598     2598              
+ Partials       1767     1766       -1     
Flag Coverage Δ *Carryforward flag
access-control-service 77.44% <ø> (ø) Carriedforward from 059fda7
agent-service 99.54% <ø> (ø) Carriedforward from 059fda7
amber 86.90% <ø> (ø) Carriedforward from 059fda7
computing-unit-managing-service 64.02% <ø> (ø) Carriedforward from 059fda7
config-service 87.61% <ø> (ø) Carriedforward from 059fda7
file-service 82.29% <ø> (ø) Carriedforward from 059fda7
frontend 96.47% <ø> (+<0.01%) ⬆️
notebook-migration-service 83.77% <ø> (ø) Carriedforward from 059fda7
pyamber 98.47% <ø> (ø) Carriedforward from 059fda7
workflow-compiling-service 77.95% <ø> (ø) Carriedforward from 059fda7

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

@mengw15
mengw15 requested review from parshimers and a balanced review from Copilot November 2, 2026 22:38

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

Copilot AI 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.

🟢 Approval recommended

No active review issues remain for the asset-attribution and license-inventory updates.

No open issues 🎉

What changed in this PR

This PR continues the bundled-image licensing audit in #8984, replacing stock operator artwork and documenting asset provenance. The reviewed changes update the source and frontend binary license inventories to support that cleanup.

Changes:

  • Add the Sankey Diagram and Type Casting icons to the existing IBM Carbon license entries.
  • Record Apache Arrow and AsterixDB logo sources, with a trademark note in the root license.
File Description
LICENSE Adds Carbon icon attribution and ASF logo provenance, licensing, and trademark details.
frontend/​LICENSE-binary Adds the Carbon icons and ASF logos to the frontend asset license inventory.

Review effort: Balanced

@mengw15 mengw15 removed the release/v1.2 back porting to release/v1.2 label Nov 2, 2026

@mengw15 mengw15 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.

Left one comment

Comment thread LICENSE Resolved
…ctions

The ScalaPB, Material Symbols, IBM Carbon and ASF logo entries (Apache-2.0)
and the ORCID iD entry (CC0) sat under the MIT License header. Move them,
unchanged, into new Apache License 2.0 and CC0 1.0 Universal sections.

Generated-by: Claude Code (claude-opus-5-5)
@mengw15
mengw15 enabled auto-merge November 3, 2026 00:06
@mengw15
mengw15 added this pull request to the merge queue Nov 3, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 3, 2026
@parshimers
parshimers added this pull request to the merge queue Nov 3, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Nov 3, 2026
renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Nov 3, 2026
…he#9269)

### What changes were proposed in this PR?

Removes 36 image files of unknown origin that Texera never shows (option
A on apache#8984). They have no recorded source, so they can't ship in the
source release, and since nothing uses them, deleting them is simpler
than replacing them.

- **35 operator icons** whose names match no registered operator type
(`LogicalOp.scala`). Operator icons are only loaded as
`assets/operator_images/<operatorType>.png` (`joint-ui.service.ts`), and
no code references these files by path.
- **`frontend/src/favicon.ico`**: the Angular CLI default favicon from
the 2018 scaffold. `index.html` uses the favicons in `assets/logos/`,
and `angular.json` only copies `src/assets`, so it was never served.

<details>
<summary>The 35 operator icons</summary>

- **Name not referenced anywhere (25):** `AdhocSink`,
`DictionarySource`, `EmojiSentiment`, `FuzzyTokenMatcher`,
`FuzzyTokenSource`, `HdfsFileScan`, `JoinDistance`, `LocalFileScan`,
`NlpEntity`, `NlpSplit`, `RegexMatcher`, `RegexSource`, `RegexSplit`,
`SVMClassifierTrainer`, `SVMRegressorTrainer`, `Sampler`,
`SentimentAnalysis`, `SimilarityJoin`, `SklearnDummy`,
`SklearnTrainingDummy`, `ToLowerCase`, `WordCloudV2`, `WordCount`,
`WordCountIndexSource`, `run-icon`
- **Name only in test fixtures, mocks or prose, never as an image path
(10):** `Aggregation`, `Comparison`, `FileSource`, `KeywordMatcher`,
`KeywordSource`, `NlpSentiment`, `ScanSource`, `SimpleSink`,
`TimeSeries`, `ViewResults`

`SklearnDummy*.png` matched no operator type; the
`SklearnDummyClassifier` operators get their own icons in apache#9261.
</details>

With this PR, apache#9220 and apache#9261, every remaining file in
`frontend/src/assets/operator_images/` is either listed in `LICENSE` or
was made by the project (apache#5686, apache#8804, apache#8999, apache#9220, apache#9261). Git history
keeps the deleted files if any is ever needed again.

### Any related issues, documentation, discussions?

Part of apache#8984 (option A, proposed there on 2026-10-30). Follows apache#9220
and apache#9261. Precedent for deleting unused assets: apache#8803, apache#9020.

All 36 files are identical on `release/v1.3`, so this backports cleanly
there.

### How was this PR tested?

File deletions only, no code change.

- Checked each name against the operator registry (`LogicalOp.scala`)
and searched the repository for every name and `<name>.png` path: no
operator type and no image reference.
- The frontend loads operator icons only through
`"assets/operator_images/" + operatorType + ".png"`, so a file with no
matching operator type is never requested.
- `favicon.ico`: not referenced by `index.html` or `angular.json`.
`StaticAssetCacheFilterSpec` uses the `/favicon.ico` URL only as a
string to test cache headers.
- Coverage check after the change: each file left in `operator_images/`
is in `LICENSE`, carries a "Created for Apache Texera" PNG notice, or
was last written by one of the project-made PRs listed above.

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

Generated-by: Claude Code (claude-opus-5-5)

Claude Code was used to check the files against the operator registry
and code references and to draft this description.
@mengw15
mengw15 added this pull request to the merge queue Nov 3, 2026
Merged via the queue into apache:main with commit 86fbe56 Nov 3, 2026
47 of 51 checks passed
@github-actions

github-actions Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Backport PR opened: draft #9273 (#9273) to release/v1.3, assigned to @CaroFernando — needs manual work because the cherry-pick conflicts.

@xuang7

xuang7 commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

Hi @CaroFernando, this also needs to go into release/v1.2 for the 1.2.1 RC2, after the #9220 backport. The cherry-pick conflicts in LICENSE: keep the section restructuring and the ASF logos entry, but leave out the ORCID, Sign in with Apple and scikit-learn Iris entries, which only apply to main (the Iris change comes to v1.2 separately via #9009). Thanks!

renovate-bot pushed a commit to renovate-bot/apache-_-texera that referenced this pull request Nov 4, 2026
…e SVG (apache#9302)

### What changes were proposed in this PR?

Replaces `frontend/src/assets/card_background.jpg`, the default cover
image for dashboard and Hub cards, with `card_background.svg`, an image
drawn for the project.

The JPEG has no recorded source (it was marked unknown in the apache#9017
audit), and TinEye matches it to a [Shutterstock
vector](https://www.shutterstock.com/image-vector/abstract-vector-background-use-design-153172853),
so it can't ship in a release. The new SVG is an abstract blue low-poly
background (triangles shaded from light blue to navy, close in feel to
the old cover). It carries the ASF license header, so no `LICENSE` or
`LICENSE-binary` entry is needed, and at about 9 KB it replaces a 414 KB
JPEG.

The two places that use the image, `browse-section.component.ts` (Hub)
and `card-item.component.ts` (dashboard), and the Hub spec now point at
the `.svg`. Both show it through `<img>` with `object-fit: cover`; the
SVG uses `preserveAspectRatio="xMidYMid slice"`, so it is cropped the
same way the JPEG was.

### Any related issues, documentation, discussions?

Part of apache#8984, as requested there on 2026-11-04 (replace before RC1).
Follows apache#9220, apache#9261 and apache#9269. With this PR, no file the apache#9017 audit
marked unknown is still on `main` unchanged.

`card_background.jpg` is identical on `release/v1.3`, so this backports
cleanly there.

### How was this PR tested?

```
cd frontend
yarn format:ci
yarn lint
yarn test --watch=false
```

All pass: 248 test files, 7021 tests (1 skipped), including
`browse-section.component.spec.ts` and `card-item.component.spec.ts`.
Also opened the SVG in a browser to check rendering and cropping.

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

Generated-by: Claude Code (claude-opus-5-5)

Claude Code was used to check the remaining images against the apache#9017
audit, draw the SVG, update the references and draft this description.

---------

Co-authored-by: Meng Wang <[email protected]>
xuang7 pushed a commit to xuang7/texera that referenced this pull request Nov 20, 2026
…SF logos in LICENSE (apache#9560)

### What changes were proposed in this PR?

Backport of apache#9261 to `release/v1.2` for the 1.2.1 RC2, on top of the
apache#9220 backport (apache#9512).

Source: 86fbe56

What apache#9261 changes:
- It replaces three operator icons from sources whose licences are
incompatible with an Apache release: `SankeyDiagram.png` and
`TypeCasting.png` with IBM Carbon icons, and `DumbbellPlot.png` with a
project-made icon.
- It adds project-made icons for `SklearnDummyClassifier` and
`SklearnTrainingDummyClassifier`. Both operators exist on v1.2.
- It adds an entry for the Apache Arrow and AsterixDB logos to
`LICENSE`.

The icons and `frontend/LICENSE-binary` apply cleanly. `LICENSE`
conflicted, and I resolved it as requested on apache#9261:

- Kept the section restructuring: the Apache License 2.0 section comes
first, followed by the MIT section. Also kept the new ASF logos entry.
- Left out the ORCID entry and its CC0 1.0 Universal section, which
exist only on main. v1.2's protobuf `descriptor.proto` entry and its
`Public Domain` heading stay as they are.
- The Sign in with Apple and scikit-learn Iris entries exist only on
main, so this PR doesn't touch them. The Iris change reached v1.2
separately via apache#9009.

### Any related issues, documentation, discussions?

Backport of apache#9261. Part of apache#8984. Follows apache#9512 (backport of apache#9220).

### How was this PR tested?

- I diffed the license changes against apache#9261. `frontend/LICENSE-binary`
matches it exactly. In `LICENSE`, the only difference is the ORCID entry
and its CC0 heading, which are left out.
- Apart from moving the MIT section, every `LICENSE` entry on v1.2 is
unchanged. The only new lines are the ASF logos entry and the
`SankeyDiagram.png` and `TypeCasting.png` lines under Carbon.
- Every icon file listed in the new entries exists on the branch.
- No code changes: the PR only changes image files and license files.

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

Generated-by: Claude Code (Claude Opus 5.5)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Changes related to documentations feature frontend Changes related to the frontend GUI release/v1.3 back porting to release/v1.3

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants