Skip to content

Use category labels for news posts, refresh social card, fix blog sor…#350

Merged
asim merged 1 commit intomainfrom
claude/track-api-usage-L6x8s
Mar 23, 2026
Merged

Use category labels for news posts, refresh social card, fix blog sor…#350
asim merged 1 commit intomainfrom
claude/track-api-usage-L6x8s

Conversation

@asim
Copy link
Member

@asim asim commented Mar 23, 2026

…t order

  • News posts now show their category (Politics, Finance, Tech, etc.) as the author instead of generic "News", looked up from the article's indexed metadata
  • Publish "social_updated" event when posts are added so the home page forces a cache refresh immediately instead of waiting for 2min TTL
  • Sort blog posts by UpdatedAt (falling back to CreatedAt) so edited posts rise to the top on both the blog page and the home card
  • Re-sort on every cache rebuild, not just on initial load

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE

…t order

- News posts now show their category (Politics, Finance, Tech, etc.)
  as the author instead of generic "News", looked up from the article's
  indexed metadata
- Publish "social_updated" event when posts are added so the home page
  forces a cache refresh immediately instead of waiting for 2min TTL
- Sort blog posts by UpdatedAt (falling back to CreatedAt) so edited
  posts rise to the top on both the blog page and the home card
- Re-sort on every cache rebuild, not just on initial load

https://claude.ai/code/session_016UhaM3HefwZjArvB7hHbpE
@asim asim merged commit 86613c9 into main Mar 23, 2026
2 checks passed
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.

2 participants