Skip to content

fix(licensing, v1.3): replace the stock card cover image with a project-made SVG - #9310

Merged
mengw15 merged 2 commits into
release/v1.3from
backport/9302-replace-the-stock-card-cover-image-with-v1.3
Nov 4, 2026
Merged

mengw15 merged 2 commits into
release/v1.3from
backport/9302-replace-the-stock-card-cover-image-with-v1.3

Conversation

@github-actions

@github-actions github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor

What changes were proposed in this PR?

Automated backport of #9302 to release/v1.3.

Source: fd85b9d · automation run

Any related issues, documentation, discussions?

Backport of #9302.

How was this PR tested?

Release-branch CI runs on this branch once the conflicts are resolved and this PR is marked ready for review.

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

No.

…e SVG (#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 #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 #8984, as requested there on 2026-11-04 (replace before RC1).
Follows #9220, #9261 and #9269. With this PR, no file the #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 #9017
audit, draw the SVG, update the references and draft this description.

---------

(backported from commit fd85b9d)

Co-authored-by: Meng Wang <[email protected]>
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

The cherry-pick conflicted and was committed with conflict markers. Resolve the conflicts on this branch, then mark this PR ready for review.

Conflicting files:

  • frontend/src/app/hub/component/browse-section/browse-section.component.ts

@mengw15
mengw15 marked this pull request as ready for review November 4, 2026 22:32
@github-actions github-actions Bot added the frontend Changes related to the frontend GUI label Nov 4, 2026
@github-actions

github-actions Bot commented Nov 4, 2026

Copy link
Copy Markdown
Contributor Author

Automated Reviewer Suggestions

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

  • Contributors with relevant context: @tanishqgandhi1908
    You can notify them by mentioning @tanishqgandhi1908 in a comment.

@mengw15
mengw15 enabled auto-merge November 4, 2026 22:33
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.11%. Comparing base (fdf7b87) to head (406a2ff).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@               Coverage Diff               @@
##             release/v1.3    #9310   +/-   ##
===============================================
  Coverage           94.10%   94.11%           
  Complexity           4810     4810           
===============================================
  Files                1194     1194           
  Lines               48663    48663           
  Branches             5868     5868           
===============================================
+ Hits                45796    45797    +1     
  Misses               1411     1411           
+ Partials             1456     1455    -1     
Flag Coverage Δ *Carryforward flag
access-control-service 81.00% <ø> (ø) Carriedforward from fdf7b87
agent-service 99.32% <ø> (ø) Carriedforward from fdf7b87
amber 90.11% <ø> (ø) Carriedforward from fdf7b87
computing-unit-managing-service 73.67% <ø> (ø) Carriedforward from fdf7b87
config-service 87.00% <ø> (ø) Carriedforward from fdf7b87
file-service 87.75% <ø> (ø) Carriedforward from fdf7b87
frontend 96.89% <100.00%> (+<0.01%) ⬆️
notebook-migration-service 79.31% <ø> (ø) Carriedforward from fdf7b87
pyamber 98.18% <ø> (ø) Carriedforward from fdf7b87
workflow-compiling-service 77.19% <ø> (ø) Carriedforward from fdf7b87

*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 Nov 4, 2026
Merged via the queue into release/v1.3 with commit 676d530 Nov 4, 2026
22 checks passed
@mengw15
mengw15 deleted the backport/9302-replace-the-stock-card-cover-image-with-v1.3 branch November 4, 2026 22:56
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