Repository navigation
fix(licensing, v1.3): replace the stock card cover image with a project-made SVG - #9310
Merged
mengw15 merged 2 commits intoNov 4, 2026
Conversation
…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]>
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:
|
…1.3 fields, point at the SVG)
mengw15
marked this pull request as ready for review
November 4, 2026 22:32
Contributor
Author
Automated Reviewer SuggestionsBased on the
|
mengw15
enabled auto-merge
November 4, 2026 22:33
mengw15
approved these changes
Nov 4, 2026
Codecov Report✅ All modified and coverable lines are covered by tests. 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
*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:
|
mengw15
deleted the
backport/9302-replace-the-stock-card-cover-image-with-v1.3
branch
November 4, 2026 22:56
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.