Repository navigation
fix(frontend): replace the Icons8 comment icon with an original drawing - #8804
Conversation
Automated Reviewer SuggestionsBased on the
|
Backport auto-label reportThis
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8804 +/- ##
============================================
- Coverage 92.58% 89.72% -2.86%
+ Complexity 4981 4960 -21
============================================
Files 1244 1263 +19
Lines 52933 64070 +11137
Branches 6550 9243 +2693
============================================
+ Hits 49009 57488 +8479
- Misses 2293 4759 +2466
- Partials 1631 1823 +192
*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:
|
…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.
What changes were proposed in this PR?
Per #8800,
frontend/src/assets/operator_images/icons8-chat_bubble.png(theworkflow comment icon) comes from Icons8, whose license requires attribution
we never gave and does not grant the redistribution rights an Apache-2.0
release promises downstream. Rather than record un-grantable terms, this
replaces it with an original drawing of the same visual role (blue rounded
speech bubble with an ellipsis, drawn with PIL for this PR), renamed
comment-bubble.png. The only reference(
joint-ui.service.ts) is updated;git grep icons8is now empty.This addresses the Icons8 part of #8800 only; the vendor-logo and
asset-provenance parts stay open there.
Any related issues, documentation, discussions?
Addresses the Icons8 item in #8800.
How was this PR tested?
Asset swap plus one path-constant change; no behavior change. The existing
frontend suite covers joint-ui rendering in CI; verified repo-wide that no
other reference to the old file remains.
Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-fable-5)