Skip to content

docs: Update Blog. Remove invalid Tweet URL and update Profile URL - #7321

Closed
MohamedSayed0573 wants to merge 3 commits into
trpc:mainfrom
MohamedSayed0573:main
Closed

MohamedSayed0573 wants to merge 3 commits into
trpc:mainfrom
MohamedSayed0573:main

Conversation

@MohamedSayed0573

@MohamedSayed0573 MohamedSayed0573 commented Apr 3, 2026 •

Copy link
Copy Markdown

@MohamedSayed0573
MohamedSayed0573 requested a review from a team as a code owner April 3, 2026 01:46
Copilot AI review requested due to automatic review settings April 3, 2026 01:46
@vercel

vercel Bot commented Apr 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
next-prisma-starter Ready Ready Preview Apr 24, 2026 0:24am
og-image Ready Ready Preview, Comment Apr 24, 2026 0:24am

Request Review

@coderabbitai

coderabbitai Bot commented Apr 3, 2026 •

Copy link
Copy Markdown
Contributor
📝 Walkthrough

Walkthrough

A blog post was updated to change Dan Abramov's author attribution from an X/Twitter profile URL to a Bluesky profile URL and to remove an embedded Tweet component, replacing it with a plain-text attribution. No other article content or code samples were modified.

Changes

Cohort / File(s) Summary
Blog Post Update
www/blog/2024-05-23-trpc-actions.mdx
Removed Tweet component import and embedded Tweet block; replaced with plain-text attribution pointing to Bluesky (https://bsky.app/profile/danabra.mov).

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • trpc-bot

Poem

🐰 I hopped through lines both short and spry,
Swapped a tweet for Bluesky in a blink of eye,
No embeds left, just tidy text in tune,
A tiny change beneath the moon,
Hooray — a clean and happy rune!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description lacks the required template structure with missing 'Closes #' reference, '🎯 Changes' section heading, and '✅ Checklist' section. Only a brief explanation of changes is provided. Reformat the PR description to follow the template structure: add 'Closes #' with issue number, use '🎯 Changes' heading, and include the '✅ Checklist' with the required verification checkboxes.
✅ Passed checks (2 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Title check ✅ Passed The title accurately summarizes the main changes: removing an invalid/broken tweet URL and updating Dan Abramov's profile link from Twitter to Bluesky, which directly aligns with the changeset modifications.

✏️ 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.

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.

Pull request overview

Updates the tRPC blog post to remove a now-invalid embedded tweet and switch the referenced Dan Abramov profile link away from Twitter/X.

Changes:

  • Replaced the Dan Abramov profile URL from x.com to bsky.app.
  • Removed the embedded <Tweet /> block from the post.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread www/blog/2024-05-23-trpc-actions.mdx Resolved
@pkg-pr-new

pkg-pr-new Bot commented Apr 3, 2026 •

Copy link
Copy Markdown

Open in StackBlitz

@trpc/client

npm i https://pkg.pr.new/@trpc/client@7321

@trpc/next

npm i https://pkg.pr.new/@trpc/next@7321

@trpc/openapi

npm i https://pkg.pr.new/@trpc/openapi@7321

@trpc/react-query

npm i https://pkg.pr.new/@trpc/react-query@7321

@trpc/server

npm i https://pkg.pr.new/@trpc/server@7321

@trpc/tanstack-react-query

npm i https://pkg.pr.new/@trpc/tanstack-react-query@7321

@trpc/upgrade

npm i https://pkg.pr.new/@trpc/upgrade@7321

commit: cdf6c94

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.

Pull request overview

Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

<div className="mb-4 flex w-full justify-center">
<Tweet id="1756120297529368801" />
</div>
You may think that this sounds similar to tRPC which is true. According to [Dan Abramov](https://bsky.app/profile/danabra.mov), server actions are tRPC as a bundler feature:

Copilot AI Apr 24, 2026

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

After removing the embedded tweet, the sentence ends with a colon but no longer introduces a quote/embed. Consider changing the trailing ':' to a '.' (or add a short quote block) so the paragraph reads naturally.

Suggested change
You may think that this sounds similar to tRPC which is true. According to [Dan Abramov](https://bsky.app/profile/danabra.mov), server actions are tRPC as a bundler feature:
You may think that this sounds similar to tRPC which is true. According to [Dan Abramov](https://bsky.app/profile/danabra.mov), server actions are tRPC as a bundler feature.

Copilot uses AI. Check for mistakes.
@KATT

KATT commented Oct 19, 2026

Copy link
Copy Markdown
Member

🤖 Closing: this edits an old blog post, and we'd rather keep published posts as they were written instead of rewriting history. Thanks for taking the time though!

@KATT KATT closed this Oct 19, 2026
meefs pushed a commit to meefs/trpc that referenced this pull request Oct 20, 2026
The website embedded tweets live from X in two places:

- The [Using Server Actions with
tRPC](https://trpc.io/blog/trpc-actions) post, through `react-tweet`.
- The [Testimonials](https://trpc.io/docs/community/love) page
(`www/unversioned/_love.mdx`, shared by the current, v10 and v9 docs),
through `twitter-tweet` blockquotes and X's `widgets.js`.

Those embeds break when a tweet is deleted or its account goes private,
and two of them already have. This PR replaces every live tweet embed
with a static copy, rendered by a new `StaticTweet` component. That
restores the deleted tweet in the blog post and removes the third-party
X embed dependency from the site. No surrounding wording changes on
either page.

### Embed dependency removed

- The `react-tweet` package, from `www/package.json` and
`pnpm-lock.yaml`. The lockfile change is removals only, for
`react-tweet` and its orphaned `swr` and `use-sync-external-store`.
- `https://platform.twitter.com/widgets.js`, from `scripts` in
`www/docusaurus.config.ts` and from the home page's `<Head>` in
`www/src/pages/index.tsx`.
- `www/docusaurus.twitterReload.js`, the client module that re-ran
`twttr.widgets.load()` on route changes.

### Added

`www/src/components/StaticTweet.tsx` is a small card styled like the
existing `TwitterWall` cards, in light and dark mode. It shows the name,
handle, text and date, and turns URLs and @mentions in the text into
links. The date links to the tweet on X, and tweets that are gone from X
also get an "Archived copy" link. Avatars are the authors' GitHub
avatars rather than hotlinked twimg images.

### Tweets and where their content came from

No content was written by hand. Every timestamp also matches the one
encoded in the tweet's ID. All 9 embedded tweets were recovered; none
had to be dropped.

| Tweet | Status | Source |
| --- | --- | --- |
|
[@dan_abramov2/1756120297529368801](https://x.com/dan_abramov2/status/1756120297529368801)
(blog post) | Deleted by its author | Wayback capture of the
`react-tweet` API response the embed used:
https://web.archive.org/web/20240526122424/https://react-tweet.vercel.app/api/tweet/1756120297529368801
|
|
[@ralex1993/1556619478556876802](https://x.com/ralex1993/status/1556619478556876802)
| Account now protected | Wayback capture of the tweet page; its
`og:description` matches the embed fallback already on the page:
https://web.archive.org/web/20220808123409/https://twitter.com/ralex1993/status/1556619478556876802
|
| @mattpocockuk/1537761528962764802, @TkDodo/1573391189373751297,
@theo/1571922456239284224, @mgechev/1549140656752234496,
@tannerlinsley/1507753424187650048, @marcusradell/1402991694446952458,
@colinhacks/1629950516242313216 | Live | X's syndication endpoint
(`cdn.syndication.twimg.com/tweet-result`), matching the embed fallback
text already on the page |

Notes:

- Leading reply mentions are left out, as X's own embeds do.
- `t.co` links are expanded.
- The tweets that quote another tweet (Matt's and Colin's) end with a
link to the quoted tweet instead of a quote card.
- Display names are kept as the page already showed them.

This replaces the tweet part of trpc#7321, without rewriting the post.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Improvements**
* Tweets in the blog article and testimonials now display directly on
the site, with author details, post text, timestamps, and linked URLs,
mentions, and hashtags.
  * Testimonials with an archived copy include a link to it.
  * Tweet displays no longer rely on Twitter’s external widgets.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->

<!-- CURSOR_AGENT_PR_BODY_BEGIN -->
The website embedded tweets live from Twitter in two places:

- The [Using Server Actions with
tRPC](https://trpc.io/blog/trpc-actions) post, through `react-tweet`.
- The [Testimonials](https://trpc.io/docs/community/love) page
(`www/unversioned/_love.mdx`, shared by the current, v10 and v9 docs),
through `twitter-tweet` blockquotes and Twitter's `widgets.js`.

Those embeds break when a tweet is deleted or its account goes private,
and two of them already have. This PR replaces every live tweet embed
with a static copy, rendered by a new `StaticTweet` component styled
like a classic Twitter embedded tweet. That restores the deleted tweet
in the blog post and removes the third-party Twitter embed dependency
from the site. No surrounding wording changes on either page.

### Embed dependency removed

- The `react-tweet` package, from `www/package.json` and
`pnpm-lock.yaml`. The lockfile change is removals only, for
`react-tweet` and its orphaned `swr` and `use-sync-external-store`.
- `https://platform.twitter.com/widgets.js`, from `scripts` in
`www/docusaurus.config.ts` and from the home page's `<Head>` in
`www/src/pages/index.tsx`.
- `www/docusaurus.twitterReload.js`, the client module that re-ran
`twttr.widgets.load()` on route changes.

### Added

`www/src/components/StaticTweet.tsx` renders a tweet from static data,
styled like a classic Twitter embedded tweet (styles in
`www/src/css/custom.css`, light and dark mode).

- **Header:** the author's round avatar, display name and @handle,
linking to their Twitter profile, with the Twitter bird at the top
right.
- **Text:** line breaks are kept, and URLs, @mentions and #hashtags are
links in Twitter blue.
- **Footer:** the timestamp as embeds show it (`12:58 AM · Feb 10,
2024`, in UTC so the build output is stable) and a "Read more on
Twitter" button. Both link to the original tweet on twitter.com,
including Dan Abramov's deleted one. Tweets that are gone from Twitter
also get a small "Archived copy" link next to the timestamp.
- **Avatars:** the authors' GitHub avatars rather than hotlinked twimg
images.
- **Links:** each tweet takes its `id`, and every link is built as
`https://twitter.com/<handle>/status/<id>`.

### Tweets and where their content came from

No content was written by hand. Every timestamp also matches the one
encoded in the tweet's ID. All 9 embedded tweets were recovered; none
had to be dropped.

| Tweet | Status | Source |
| --- | --- | --- |
|
[@dan_abramov2/1756120297529368801](https://twitter.com/dan_abramov2/status/1756120297529368801)
(blog post) | Deleted by its author | Wayback capture of the
`react-tweet` API response the embed used:
https://web.archive.org/web/20240526122424/https://react-tweet.vercel.app/api/tweet/1756120297529368801
|
|
[@ralex1993/1556619478556876802](https://twitter.com/ralex1993/status/1556619478556876802)
| Account now protected | Wayback capture of the tweet page; its
`og:description` matches the embed fallback already on the page:
https://web.archive.org/web/20220808123409/https://twitter.com/ralex1993/status/1556619478556876802
|
| @mattpocockuk/1537761528962764802, @TkDodo/1573391189373751297,
@theo/1571922456239284224, @mgechev/1549140656752234496,
@tannerlinsley/1507753424187650048, @marcusradell/1402991694446952458,
@colinhacks/1629950516242313216 | Live | Twitter's syndication endpoint
(`cdn.syndication.twimg.com/tweet-result`), matching the embed fallback
text already on the page |

Notes:

- Leading reply mentions are left out, as Twitter's own embeds do.
- `t.co` links are expanded.
- The tweets that quote another tweet (Matt's and Colin's) end with a
link to the quoted tweet instead of a quote card.
- Display names are kept as the page already showed them.

![Blog post with Dan
Abramov](https://cursor.com/artifacts/c/art-057c647a-63eb-482f-8613-36d673aa2bea)
![Testimonials page, dark
mode](https://cursor.com/artifacts/c/art-fe8a5f81-f62a-4d28-8ed5-3c2953895899)

This replaces the tweet part of trpc#7321, without rewriting the post.


<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit

* **Improvements**
* Tweets in the blog article and testimonials now display directly on
the site, with author details, post text, timestamps, and linked URLs,
mentions, and hashtags.
  * Testimonials with an archived copy include a link to it.
  * Tweet displays no longer rely on Twitter’s external widgets.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- CURSOR_AGENT_PR_BODY_END -->

<div><a
href="https://cursor.com/agents/bc-8b51bd4c-a255-49aa-a10b-f9b8b19a86c0?cursor_ref=pr_footer&cursor_cta=open_in_web"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-web-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-web-light.png"><img
alt="Open in Web" width="114" height="28"
src="https://cursor.com/assets/images/open-in-web-dark.png"></picture></a>&nbsp;<a
href="https://cursor.com/background-agent?bcId=bc-8b51bd4c-a255-49aa-a10b-f9b8b19a86c0&cursor_ref=pr_footer&cursor_cta=open_in_cursor"><picture><source
media="(prefers-color-scheme: dark)"
srcset="https://cursor.com/assets/images/open-in-cursor-dark.png"><source
media="(prefers-color-scheme: light)"
srcset="https://cursor.com/assets/images/open-in-cursor-light.png"><img
alt="Open in Cursor" width="131" height="28"
src="https://cursor.com/assets/images/open-in-cursor-dark.png"></picture></a>&nbsp;</div>

---------

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

Copy link
Copy Markdown
Contributor

This pull request has been locked because we are very unlikely to see comments on closed issues. If you think, this PR is still necessary, create a new one with the same branch. Thank you.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 21, 2026

This branch was successfully deployed

5 active deployments
Preview – www — cdf6c942 Deployed Apr 24, 2026 by vercel[bot]
Preview – examples-todomvc — cdf6c942 Deployed Apr 24, 2026 by vercel[bot]
Preview – og-image — cdf6c942 Deployed Apr 24, 2026 by vercel[bot]
Preview – next-prisma-starter — cdf6c942 Deployed Apr 24, 2026 by vercel[bot]
Preview – trpc-next-app-dir — cdf6c942 Deployed Apr 24, 2026 by vercel[bot]
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants