Skip to content

fix: via.placeholder.com shut down in 2024 (now connection-refused) - #1710

Open
kiluazen wants to merge 1 commit into
livechat:mainfrom
kiluazen:fix/dead-placeholder-urls-2026-04-22-batch7
Open

kiluazen wants to merge 1 commit into
livechat:mainfrom
kiluazen:fix/dead-placeholder-urls-2026-04-22-batch7

Conversation

@kiluazen

@kiluazen kiluazen commented Apr 22, 2026

Copy link
Copy Markdown

packages/react-components/src/components/InviteAgents/InviteAgents.mdx references via.placeholder.com/*. The service was shut down in 2024 and the DNS record no longer resolves.


Why this is needed

via.placeholder.com was shut down in 2024 and its DNS record no longer resolves — every request now hangs or returns a connection error. Any example that references it renders a broken-image icon (and any code that depends on a 200 from it silently breaks).

Verify in any shell:

curl -sI --max-time 3 https://via.placeholder.com/300x200 || echo "connection refused / DNS gone"

What this PR changes

Fixes the agent-mock avatar URL in the InviteAgents design-system story so the storybook component renders a real avatar placeholder for reviewers/developers.

Replacement details

Docs/storybook-only. Dimensions preserved.

Background

I'm tracking dead image-placeholder endpoints (source.unsplash.com/*, via.placeholder.com/*, placekitten.com/*) across public repos as part of tteg, a tiny CLI/HTTP API I built so projects can drop in real Unsplash photos without registering an Unsplash app or managing API keys. tteg is not a dependency of this PR — the diff uses the dependency-free canonical replacement (placehold.co, which accepts the same path shape as via.placeholder.com). If you want topic-matched real photos as a follow-up, the no-key HTTP API is at https://tteg-api-53227342417.asia-south1.run.app/search?q=<query>&n=1 (CORS-on, no auth).

One extra artifact you may find handy: a public scanner at https://tteg.kushalsm.com/scan?url= that highlights dead-placeholder patterns in any landing page — useful for verifying the fix lands and for finding other places dead URLs slipped in. Source: https://github.com/kiluazen/tteg-landing/blob/main/scan.html.

Summary by CodeRabbit

  • Documentation
    • Updated example asset references in component documentation.

@coderabbitai

coderabbitai Bot commented Apr 22, 2026

Copy link
Copy Markdown
Contributor

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 0292ed2a-6c1b-444c-a3fc-a3de7608cad3

📥 Commits

Reviewing files that changed from the base of the PR and between ca2b564 and 66d5e0c.

📒 Files selected for processing (1)
  • packages/react-components/src/components/InviteAgents/InviteAgents.mdx

Walkthrough

Updated a placeholder image URL in the InviteAgents component documentation example, switching from one placeholder service to another.

Changes

Cohort / File(s) Summary
Documentation
packages/react-components/src/components/InviteAgents/InviteAgents.mdx
Avatar placeholder URL changed from via.placeholder.com to placehold.co.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title directly addresses the main change: replacing a dead placeholder URL (via.placeholder.com) with a working alternative (placehold.co) due to service shutdown.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant