Skip to content

fix(twitter): fall back when quote composer card is missing#1818

Open
gauravsaxena1997 wants to merge 1 commit into
jackwener:mainfrom
gauravsaxena1997:codex/twitter-quote-composer-fallback
Open

fix(twitter): fall back when quote composer card is missing#1818
gauravsaxena1997 wants to merge 1 commit into
jackwener:mainfrom
gauravsaxena1997:codex/twitter-quote-composer-fallback

Conversation

@gauravsaxena1997
Copy link
Copy Markdown
Contributor

Summary

  • keep the existing dedicated X quote composer path
  • when the quoted card does not render from /compose/post?url=..., append the target tweet URL into the composer before posting
  • add unit coverage for fallback quote text and the guarded fallback path

Why

The X UI can load the quote composer text area without rendering the quoted tweet card. The current adapter fails in that state with "Quote target did not render in the composer", which blocks daily quote workflows. Appending the target tweet URL preserves quote behavior on X instead of failing or posting orphaned text.

Tests

  • npm run build
  • npx vitest run --project adapter clis/twitter/quote.test.js clis/twitter/shared.test.js

@gauravsaxena1997 gauravsaxena1997 marked this pull request as draft June 1, 2026 12:38
@gauravsaxena1997 gauravsaxena1997 force-pushed the codex/twitter-quote-composer-fallback branch from 249ccfa to 45ed388 Compare June 1, 2026 12:41
@gauravsaxena1997 gauravsaxena1997 marked this pull request as ready for review June 1, 2026 12:46
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