Repository navigation
fix(render): post media above its quote; View on X in each card header (v1.6.12) - #90
Merged
Merged
Conversation
…ch card header Syndication-recovered images and link cards were spliced at the end of the segment, after the quote card, so a post's own photos rendered below the whole quote chain. They now go above the post's first quote; rebuilt quote cards still go last (#88). Each quote card's time and View on X link sat in a footer after its nested quotes, so a 6-level chain ended in six stacked links with no way to tell them apart. They now sit in a meta row under each card's author, and the link names the handle (#89). Fixes #88 Fixes #89 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…peat the handle Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This was referenced Oct 18, 2026
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.
Two layout bugs the owner hit on the hibtc37 quote-chain capsule.
#88: a post's own images rendered after all the quotes.
applySyndicationDataToSegmentspliced recovered media and link cards at the end of the segment, which is after the quote card. Rebuilt quote cards still go last; everything else now goes above the post's first quote, matching X's text, media, card, quote order. Regression test intest/dom.test.mjs.#89: six identical "View on X" links stacked at the bottom of a deep chain. Each card's time and permalink were a footer rendered after its nested quotes, so the links came out innermost first with nothing tying them to a card. They now sit in a meta row directly under each card's author line (
View on X ↗ · time), so each link is next to the handle it belongs to. (The first commit message says the link names the handle; it does not, since the author line right above already shows it. The CHANGELOG is correct.)test/quote-chain.test.mjsasserts the permalinks read outermost first in document order.Second commit bumps to v1.6.12 so Tampermonkey picks it up.
Verification so far:
npm test, lint and format check pass locally.Fixes #88
Fixes #89
🤖 Generated with Claude Code