fix: improve article detection and quote tweet display
- Use startsWith check instead of fragile length heuristic for detecting full article body vs preview mode - Add media display for quote tweets (🖼️/🎬/🔄 indicators) - Add preview_text to GraphqlTweetResult type definition to avoid type assertions 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <[email protected]>
This commit is contained in:
committed by
Peter Steinberger
co-authored by
Claude Opus 4.5
parent
0475a2e1b6
commit
d40c048333
@@ -80,9 +80,12 @@ export type GraphqlTweetResult = {
|
||||
};
|
||||
};
|
||||
article?: {
|
||||
title?: string;
|
||||
preview_text?: string;
|
||||
article_results?: {
|
||||
result?: {
|
||||
title?: string;
|
||||
preview_text?: string;
|
||||
plain_text?: string;
|
||||
text?: string;
|
||||
richtext?: {
|
||||
|
||||
Reference in New Issue
Block a user