Skip to content

feat: add 5 new features for codekletshost API#11

Merged
saberone merged 3 commits into
mainfrom
feature/new-api-features
Mar 15, 2026
Merged

feat: add 5 new features for codekletshost API#11
saberone merged 3 commits into
mainfrom
feature/new-api-features

Conversation

@saberone

Copy link
Copy Markdown
Owner

Summary

Five new features consuming the codekletshost public API:

  • Hoogtepunten — New "Featured Moments" screen accessible from the home menu. Paginated list of curated transcript highlights with tag filtering (tab) and jump-to-transcript (enter)
  • Topic summaries — AI-generated summaries now displayed on topic detail screen above the episode list
  • Search suggestions — Popular/featured search terms shown when the search input is empty, navigable with j/k
  • Platform links — New "Platforms" tab on episode detail showing Spotify, Apple Podcasts etc. with o to open in browser
  • Quote van de dag — Rotating easter egg quotes in the footer, fetched from /api/easter-egg/quotes

Backend dependency

Requires codekletshost API endpoints from PR #194:

  • GET /api/v1/moments (new)
  • GET /api/v1/search-suggestions (new)
  • GET /api/v1/episodes/:slug extended with platformLinks
  • GET /api/v1/topics/:slug extended with summary

Quote feature (#5) works with the existing /api/easter-egg/quotes endpoint.

Test plan

  • pnpm build passes
  • pnpm test — all 88 tests pass
  • Manual: home menu shows "Hoogtepunten" item
  • Manual: moments screen loads and displays moments
  • Manual: topic detail shows summary when available
  • Manual: search shows suggestions when input is empty
  • Manual: episode detail has "Platforms" tab when links exist
  • Manual: footer shows rotating quote

1. Hoogtepunten — Featured moments explorer (new screen)
   - Paginated list with tag filtering via tab key
   - Enter jumps to transcript at moment timestamp

2. Topic summaries — AI-generated summaries on topic detail
   - Shows summary text above episode list when available

3. Search suggestions — Typeahead when search input is empty
   - Navigate suggestions with j/k, enter to search

4. Platform links — Spotify, Apple Podcasts etc. on episode detail
   - New "Platforms" tab with o to open in browser

5. Quote van de dag — Rotating easter egg quotes in footer
   - Fetches from /api/easter-egg/quotes, rotates every 30s

Requires backend endpoints from codekletshost PR #194.
- Fix unmounted state update in footer quote rotation
- Extract duplicated formatMs to shared theme/format.ts
@saberone saberone merged commit b2900c6 into main Mar 15, 2026
2 checks passed
@saberone saberone deleted the feature/new-api-features branch March 15, 2026 10:54
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