Skip to content

feat(feed): add Hot Takes section to the Latest landing surface#207

Merged
tomsmith8 merged 1 commit into
mainfrom
feat/hot-takes
May 13, 2026
Merged

feat(feed): add Hot Takes section to the Latest landing surface#207
tomsmith8 merged 1 commit into
mainfrom
feat/hot-takes

Conversation

@tomsmith8
Copy link
Copy Markdown
Contributor

Renders a featured Take + 3 side rows above the Latest feed, sourced from recent Clip nodes. Hidden when a search is active (it's a landing-page accent, not a result surface).

  • lib/graph-api: listRecentByType(type, sinceISO, limit) hits /v2/nodes?filter=date_added_to_graph>{ISO}&limit={N}&type={T}
  • components/feed/hot-takes: featured-hero layout, fetches Clip + 24h rolling window. Quote falls back description -> truncated transcript -> skip. Card click dispatches the standard node preview so it slots into the existing overlay coordination
  • components/feed/feed-view: mounts HotTakes only when !searchTerm
  • lib/mock-data: seeds 4 recent Clip nodes so the section renders in mocks mode without an API

Renders a featured Take + 3 side rows above the Latest feed, sourced from
recent Clip nodes. Hidden when a search is active (it's a landing-page
accent, not a result surface).

- lib/graph-api: listRecentByType(type, sinceISO, limit) hits
  /v2/nodes?filter=date_added_to_graph>{ISO}&limit={N}&type={T}
- components/feed/hot-takes: featured-hero layout, fetches Clip + 24h
  rolling window. Quote falls back description -> truncated transcript ->
  skip. Card click dispatches the standard node preview so it slots into
  the existing overlay coordination
- components/feed/feed-view: mounts HotTakes only when !searchTerm
- lib/mock-data: seeds 4 recent Clip nodes so the section renders in
  mocks mode without an API
@tomsmith8 tomsmith8 merged commit 6647ad1 into main May 13, 2026
1 check 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.

1 participant