Skip to content

fix(frontend): replace the Spider-Man sample image with an original drawing - #8987

Merged
mengw15 merged 1 commit into
apache:mainfrom
mengw15:fix/8983-replace-sample-image
Oct 15, 2026
Merged

mengw15 merged 1 commit into
apache:mainfrom
mengw15:fix/8983-replace-sample-image

Conversation

@mengw15

@mengw15 mengw15 commented Oct 14, 2026

Copy link
Copy Markdown
Contributor

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 no LICENSE entry. The new file is a real PNG; the old one was a JPEG with a .png extension.

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.wav and sample-video.mp4 are 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.ts passes 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)

…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.
@mengw15 mengw15 added the release/v1.3 back porting to release/v1.3 label Oct 14, 2026
@mengw15
mengw15 requested a balanced review from Copilot October 14, 2026 18:02
@mengw15 mengw15 self-assigned this Oct 14, 2026
@mengw15
mengw15 requested a review from xuang7 October 14, 2026 18:03

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.

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.

@Yicong-Huang Yicong-Huang added the release/v1.2 back porting to release/v1.2 label Oct 14, 2026
@github-actions

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

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: @kz930, @Ma77Ball, @PG1204
    You can notify them by mentioning @kz930, @Ma77Ball, @PG1204 in a comment.

@mengw15 mengw15 added release/v1.2 back porting to release/v1.2 and removed release/v1.2 back porting to release/v1.2 labels Oct 14, 2026
@github-actions github-actions Bot added fix frontend Changes related to the frontend GUI labels Oct 14, 2026

@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. Removing release/v1.2 since the sample image and the HF task preview do not exist on that branch; keeping release/v1.3.

@xuang7 xuang7 removed the release/v1.2 back porting to release/v1.2 label Oct 14, 2026
@mengw15
mengw15 enabled auto-merge October 14, 2026 22:05
@codecov-commenter

codecov-commenter commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 93.29%. Comparing base (6a29c59) to head (6b1d87b).
⚠️ Report is 1 commits behind head on main.

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     
Flag Coverage Δ *Carryforward flag
access-control-service 77.38% <ø> (ø) Carriedforward from 6a29c59
agent-service 99.16% <ø> (ø) Carriedforward from 6a29c59
amber 88.11% <ø> (ø) Carriedforward from 6a29c59
computing-unit-managing-service 60.48% <ø> (ø) Carriedforward from 6a29c59
config-service 87.37% <ø> (ø) Carriedforward from 6a29c59
file-service 82.00% <ø> (ø) Carriedforward from 6a29c59
frontend 96.98% <ø> (+0.39%) ⬆️
notebook-migration-service 83.73% <ø> (ø) Carriedforward from 6a29c59
pyamber 98.58% <ø> (ø) Carriedforward from 6a29c59
workflow-compiling-service 72.43% <ø> (ø) Carriedforward from 6a29c59

*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 added this pull request to the merge queue Oct 14, 2026
Merged via the queue into apache:main with commit ee1deb7 Oct 15, 2026
52 of 75 checks passed
@mengw15
mengw15 deleted the fix/8983-replace-sample-image branch October 15, 2026 00:02
@github-actions

Copy link
Copy Markdown
Contributor

Backport PR opened: #8991 (#8991) to release/v1.3 — the cherry-pick was clean, so it is ready for review, waiting on @mengw15. It needs to be reopened once to start its checks; the PR says how.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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

Replace the sample image in the Hugging Face task preview

5 participants