Repository navigation
fix(frontend): replace the Spider-Man sample image with an original drawing - #8987
Conversation
…rawing The Hugging Face task preview showed sample-image.png, a picture of Spider-Man with no recorded source (apache#8983). Replace it with an original flat illustration drawn with PIL for this change: a person leaping between two rooftops above a city skyline at sunset. The new file is a real PNG; the old one was a JPEG with a .png extension. Update the preview captions, labels and the token-classification example that described the old picture or named Spider-Man characters.
There was a problem hiding this comment.
Warning
Copilot couldn't run its full agentic review because it didn't start before the timeout. Make sure your repository has a runner available, or add a copilot-code-review.yml file specifying one with the runs-on attribute. See the docs for more details.
Copilot review overview
1 open finding
What changed in this PR
Replaces the sample “Spider‑Man” preview image and related UI copy with an original illustration and neutral descriptions to avoid unlicensed/copyrighted content.
Changes:
- Updated task preview titles, captions, and label pills to match the new sample image.
- Removed Spider‑Man/Peter Parker references from preview text.
- Updated the related unit test expectation for image-classification labels.
| File | Description |
|---|---|
| frontend/src/app/workspace/component/property-editor/operator-property-edit-frame/operator-property-edit-frame.component.ts | Updates preview copy/labels to align with the new original sample image and removes Spider‑Man references. |
| frontend/src/app/workspace/component/property-editor/operator-property-edit-frame/operator-property-edit-frame.component.spec.ts | Updates spec assertion to match the new image-classification pills. |
🧠 Review effort: Lite
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Backport auto-label reportThis
|
Automated Reviewer SuggestionsBased on the
|
xuang7
left a comment
There was a problem hiding this comment.
LGTM. Removing release/v1.2 since the sample image and the HF task preview do not exist on that branch; keeping release/v1.3.
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8987 +/- ##
============================================
+ Coverage 92.61% 93.29% +0.67%
Complexity 5059 5059
============================================
Files 1258 1262 +4
Lines 53780 60845 +7065
Branches 6707 8382 +1675
============================================
+ Hits 49811 56763 +6952
- Misses 2313 2354 +41
- Partials 1656 1728 +72
*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:
|

What changes were proposed in this PR?
Per #8983,
frontend/src/assets/sample-image.png, the picture shown in the Hugging Face operator's task preview, depicts Spider-Man and has no recorded source. This replaces it with an original flat illustration drawn with PIL for this PR: a person leaping between two rooftops above a city skyline at sunset. The image is project-made, so it needs noLICENSEentry. The new file is a real PNG; the old one was a JPEG with a.pngextension.The preview captions and labels that described the old picture now match the new one, and the token-classification example no longer uses "Peter Parker".
sample-audio.wavandsample-video.mp4are unchanged. Their author confirmed in the review of #5568 that they are self-created.Any related issues, documentation, discussions?
Closes #8983. Part of #8800.
How was this PR tested?
Updated the one spec assertion on the image-classification labels.
operator-property-edit-frame.component.spec.tspasses locally and fails with the old value. A repo-wide grep finds no remaining Spider-Man references.Was this PR authored or co-authored using generative AI tooling?
Generated-by: Claude Code (claude-opus-5-5)