Skip to content

fix: show shared post TLDR for share-type highlights#5864

Merged
idoshamun merged 1 commit intomainfrom
fix/highlight-share-post-tldr
Apr 15, 2026
Merged

fix: show shared post TLDR for share-type highlights#5864
idoshamun merged 1 commit intomainfrom
fix/highlight-share-post-tldr

Conversation

@idoshamun
Copy link
Copy Markdown
Member

@idoshamun idoshamun commented Apr 15, 2026

Summary

  • When a highlight refers to a share post, the TLDR was empty because we only fetched summary/contentHtml from the main post
  • Updated the GraphQL fragment to also fetch type and sharedPost { summary, contentHtml }
  • Updated HighlightItem to prefer the shared post's summary for share-type posts

Test plan

  • Open highlights page with a highlight that references a share post — TLDR should now display
  • Highlights referencing regular posts should continue working as before

Preview domain

https://fix-highlight-share-post-tldr.preview.app.daily.dev

When a highlight refers to a share post, the TLDR was empty because we
only fetched summary/contentHtml from the main post. Now we also fetch
sharedPost data and prefer it for share-type posts.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 15, 2026

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

Project Deployment Actions Updated (UTC)
daily-webapp Ready Ready Preview Apr 15, 2026 6:53am
1 Skipped Deployment
Project Deployment Actions Updated (UTC)
storybook Ignored Ignored Apr 15, 2026 6:53am

Request Review

@idoshamun idoshamun merged commit da5cfd3 into main Apr 15, 2026
13 checks passed
@idoshamun idoshamun deleted the fix/highlight-share-post-tldr branch April 15, 2026 06:55
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