Skip to content

Add garden feature with unified typeahead

jedmund requested to merge worktree-garden into main

Created by: jedmund

Summary

  • GardenItem model with category-scoped slugs, date, rating, favorites, and rich-text notes
  • Garden admin UI — list page, form with unsaved-changes guard, segmented detail/note tabs
  • Public garden pages with nav links
  • Search API routes for games (IGDB), music (Apple Music), manga (AniList), movies (TMDB), TV shows (TVDB) — all Redis-cached
  • Unified Typeahead with embedded CategoryPicker pill replacing 5 per-category search components
  • Date and rating fields on schema and API

Test plan

  • Create garden items across all categories (book, game, manga, movie, music, tv_show, device, other)
  • Verify typeahead search works for game, music, manga, movie, TV categories
  • Verify book/device/other act as plain text input (no search dropdown)
  • CategoryPicker pill switches categories, re-fires search, focuses + selects text
  • Date and rating fields save and load correctly
  • Unsaved changes modal works without looping
  • Public garden pages render correctly

Merge request reports

Loading