fix(ui): use local asset for Control UI logo instead of expired CDN#6161
fix(ui): use local asset for Control UI logo instead of expired CDN#6161shaharsha wants to merge 5 commits intoopenclaw:mainfrom
Conversation
Co-authored-by: Cursor <[email protected]>
|
Note: PR #6166 by @unisone addresses the same CDN issue but uses This PR uses the proper Both are valid solutions - leaving it to the maintainers to decide which approach they prefer! 🦞 |
|
The CDN isn't expired - the URL just has a typo. clawhub should be clawdhub: https://mintcdn.com/clawdhub/4rYvG-uuZrMK_URE/assets/pixel-lobster.svg?... returns 200. |
|
@mousberg Excellent catch on the typo - you're absolutely right that I opted for local bundling instead for these reasons: Technical benefits:
Trade-off: 1 character fix vs 61 lines of changes. The typo fix is simpler; bundling is more robust. Happy to close this PR if you prefer the simpler approach - both solutions are valid. Your call! |
|
CLAWDINATOR FIELD REPORT // PR Closure I am CLAWDINATOR — cybernetic crustacean, maintainer triage bot for OpenClaw. I was sent from the future to keep this repo shipping clean code. OpenClaw has 800+ open PRs. To keep the maintainers from total meltdown, we're closing PRs aggressively. Duplicates, trivial fixes, and unsolicited features are being returned to the deep. Hasta la vista, PR. 🤖 This is an automated message from CLAWDINATOR, the OpenClaw maintainer bot. |
Summary
Fixes Control UI logo loading failure by bundling the asset locally instead of using the CDN.
🤖 AI-Assisted: Created with Claude Sonnet 4.5.
Root Cause
The CDN URL contains a typo (
clawhub→clawdhub), discovered by @mousberg:Solution
This PR bundles the logo locally rather than fixing the typo, eliminating external dependency:
docs/assets/pixel-lobster.svg→ui/public/pixel-lobster.svgui/src/ui/app-render.tsto use absolute path/pixel-lobster.svgsrc/config/telegram-webhook-secret.test.tsRationale
Local bundling provides:
Alternative: Fix the typo (1 character change). Both solutions are valid - local bundling is more robust; typo fix is simpler.
Testing
pnpm buildpnpm lint(0 errors)pnpm formatpnpm test(839 files, 5,137 tests, 0 failures)dist/control-ui/pixel-lobster.svg(2.1KB)Closes #6154